depot/third_party/nixpkgs/pkgs/tools/graphics/dpic/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

24 lines
667 B
Nix

{ lib, stdenv, fetchurl }:
stdenv.mkDerivation rec {
pname = "dpic";
version = "2024.01.01";
src = fetchurl {
url = "https://ece.uwaterloo.ca/~aplevich/dpic/${pname}-${version}.tar.gz";
sha256 = "sha256-FhkBrJr4bXMFUSuhtWSUBPtMgDoPqwYmJ8w8WJWthy8=";
};
# The prefix passed to configure is not used.
makeFlags = [ "DESTDIR=$(out)" ];
meta = with lib; {
description = "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;
mainProgram = "dpic";
};
}