2021-01-11 08:54:33 +01:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2016-02-22 03:56:51 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "dpic";
|
2020-10-24 15:53:30 +02:00
|
|
|
version = "2020.09.15";
|
2016-02-22 03:56:51 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 14:41:18 +02:00
|
|
|
url = "https://ece.uwaterloo.ca/~aplevich/dpic/${pname}-${version}.tar.gz";
|
2020-10-24 15:53:30 +02:00
|
|
|
sha256 = "0gmmp4dlir3bn892nm55a3q8cfsj8yg7fp1dixmhsdhsrgmg1b83";
|
2016-02-22 03:56:51 +01:00
|
|
|
};
|
|
|
|
|
2020-07-03 14:06:21 +02:00
|
|
|
# The prefix passed to configure is not used.
|
|
|
|
makeFlags = [ "DESTDIR=$(out)" ];
|
2016-02-22 03:56:51 +01:00
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2016-02-22 03:56:51 +01:00
|
|
|
description = "An implementation of the pic little language for creating drawings";
|
2020-07-03 14:06:21 +02:00
|
|
|
homepage = "https://ece.uwaterloo.ca/~aplevich/dpic/";
|
|
|
|
license = licenses.bsd2;
|
|
|
|
maintainers = with maintainers; [ aespinosa ];
|
|
|
|
platforms = platforms.all;
|
2016-02-22 03:56:51 +01:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|