2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "dpic";
|
2022-02-20 05:27:41 +00:00
|
|
|
version = "2021.11.01";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://ece.uwaterloo.ca/~aplevich/dpic/${pname}-${version}.tar.gz";
|
2022-02-20 05:27:41 +00:00
|
|
|
sha256 = "sha256-TkMc5tG+sPHfjiCxli5bIteJfq5ZG36+HaqZOk/v6oI=";
|
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
|
|
|
};
|
|
|
|
}
|
|
|
|
|