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