2016-02-22 03:56:51 +01:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "dpic";
|
2019-10-07 05:44:55 +02:00
|
|
|
version = "2019.08.30";
|
2016-02-22 03:56:51 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 14:41:18 +02:00
|
|
|
url = "https://ece.uwaterloo.ca/~aplevich/dpic/${pname}-${version}.tar.gz";
|
2019-10-07 05:44:55 +02:00
|
|
|
sha256 = "059m53cppw67hwygm7l03ciaxbnaldx63bqdhx1vzbx3kiwz8iw2";
|
2016-02-22 03:56:51 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
phases = [ "unpackPhase" "buildPhase" "installPhase" ];
|
|
|
|
|
|
|
|
makeFlags = "CC=${stdenv.cc.outPath}/bin/cc";
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
cp -fv dpic $out/bin
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2017-08-01 22:03:30 +02:00
|
|
|
homepage = https://ece.uwaterloo.ca/~aplevich/dpic/;
|
2016-02-22 03:56:51 +01: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;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|