2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "dpic";
|
2021-02-05 17:12:51 +00:00
|
|
|
version = "2021.01.01";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://ece.uwaterloo.ca/~aplevich/dpic/${pname}-${version}.tar.gz";
|
2021-02-05 17:12:51 +00:00
|
|
|
sha256 = "sha256-vrBiTQqdaIslDd/WWMbdgornRkZmC2m+RF2J78F5Pm8=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2020-07-18 16:06:22 +00:00
|
|
|
# The prefix passed to configure is not used.
|
|
|
|
makeFlags = [ "DESTDIR=$(out)" ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "An implementation of the pic little language for creating drawings";
|
2020-07-18 16:06:22 +00:00
|
|
|
homepage = "https://ece.uwaterloo.ca/~aplevich/dpic/";
|
|
|
|
license = licenses.bsd2;
|
|
|
|
maintainers = with maintainers; [ aespinosa ];
|
|
|
|
platforms = platforms.all;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|