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

24 lines
644 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl }:
2016-02-22 02:56:51 +00:00
stdenv.mkDerivation rec {
pname = "dpic";
2021-01-19 10:44:27 +00:00
version = "2021.01.01";
2016-02-22 02:56:51 +00:00
src = fetchurl {
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
};
# The prefix passed to configure is not used.
makeFlags = [ "DESTDIR=$(out)" ];
2016-02-22 02:56:51 +00:00
meta = with lib; {
2016-02-22 02:56:51 +00: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 02:56:51 +00:00
};
}