2016-02-22 02:56:51 +00:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "dpic";
|
2019-12-08 05:45:37 +00:00
|
|
|
version = "2019.11.30";
|
2016-02-22 02:56:51 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 12:41:18 +00:00
|
|
|
url = "https://ece.uwaterloo.ca/~aplevich/dpic/${pname}-${version}.tar.gz";
|
2019-12-08 05:45:37 +00:00
|
|
|
sha256 = "0rgd31mdbaqbm9rz49872s17n25n5ajxcn61xailz3f0kzr4f3dg";
|
2016-02-22 02:56:51 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
phases = [ "unpackPhase" "buildPhase" "installPhase" ];
|
|
|
|
|
2019-10-27 13:03:25 +00:00
|
|
|
makeFlags = [ "CC=${stdenv.cc.outPath}/bin/cc" ];
|
2016-02-22 02:56:51 +00:00
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
cp -fv dpic $out/bin
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2017-08-01 20:03:30 +00:00
|
|
|
homepage = https://ece.uwaterloo.ca/~aplevich/dpic/;
|
2016-02-22 02:56:51 +00:00
|
|
|
description = "An implementation of the pic little language for creating drawings";
|
|
|
|
license = stdenv.lib.licenses.bsd2;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.aespinosa ];
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|