nixpkgs/pkgs/tools/graphics/dpic/default.nix

24 lines
647 B
Nix
Raw Normal View History

2016-02-22 03:56:51 +01:00
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
pname = "dpic";
2020-10-24 15:53:30 +02:00
version = "2020.09.15";
2016-02-22 03:56:51 +01:00
src = fetchurl {
url = "https://ece.uwaterloo.ca/~aplevich/dpic/${pname}-${version}.tar.gz";
2020-10-24 15:53:30 +02:00
sha256 = "0gmmp4dlir3bn892nm55a3q8cfsj8yg7fp1dixmhsdhsrgmg1b83";
2016-02-22 03:56:51 +01:00
};
# The prefix passed to configure is not used.
makeFlags = [ "DESTDIR=$(out)" ];
2016-02-22 03:56:51 +01:00
meta = with stdenv.lib; {
2016-02-22 03:56:51 +01:00
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;
2016-02-22 03:56:51 +01:00
};
}