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";
|
2023-03-16 01:35:00 +00:00
|
|
|
version = "2023.02.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";
|
2023-03-16 01:35:00 +00:00
|
|
|
sha256 = "sha256-0Fn/KMBFUgZsFk+xRv7o4BAblT5G51kZs9z6qZsDGuY=";
|
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
|
|
|
};
|
|
|
|
}
|
|
|
|
|