24 lines
644 B
Nix
24 lines
644 B
Nix
{ lib, stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "dpic";
|
|
version = "2021.11.01";
|
|
|
|
src = fetchurl {
|
|
url = "https://ece.uwaterloo.ca/~aplevich/dpic/${pname}-${version}.tar.gz";
|
|
sha256 = "sha256-TkMc5tG+sPHfjiCxli5bIteJfq5ZG36+HaqZOk/v6oI=";
|
|
};
|
|
|
|
# The prefix passed to configure is not used.
|
|
makeFlags = [ "DESTDIR=$(out)" ];
|
|
|
|
meta = with lib; {
|
|
description = "An implementation of the pic little language for creating drawings";
|
|
homepage = "https://ece.uwaterloo.ca/~aplevich/dpic/";
|
|
license = licenses.bsd2;
|
|
maintainers = with maintainers; [ aespinosa ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|
|
|