nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 stdenv,
4 fetchurl,
5}:
6
7stdenv.mkDerivation rec {
8 pname = "dpic";
9 version = "2025.08.01";
10
11 src = fetchurl {
12 url = "https://ece.uwaterloo.ca/~aplevich/dpic/${pname}-${version}.tar.gz";
13 sha256 = "sha256-Dzj1wekVGIJsssbpViSzkNGAjvrcBAL4ORFRLwznJsM=";
14 };
15
16 # The prefix passed to configure is not used.
17 makeFlags = [ "DESTDIR=$(out)" ];
18
19 meta = {
20 description = "Implementation of the pic little language for creating drawings";
21 homepage = "https://ece.uwaterloo.ca/~aplevich/dpic/";
22 license = lib.licenses.bsd2;
23 maintainers = with lib.maintainers; [ aespinosa ];
24 platforms = lib.platforms.all;
25 mainProgram = "dpic";
26 };
27}