Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 25 lines 797 B view raw
1{ stdenv, fetchurl, pkgconfig, pure, gnuplot }: 2 3stdenv.mkDerivation rec { 4 baseName = "gplot"; 5 version = "0.1"; 6 name = "pure-${baseName}-${version}"; 7 8 src = fetchurl { 9 url = "https://bitbucket.org/purelang/pure-lang/downloads/${name}.tar.gz"; 10 sha256 = "841ded98e4d1cdfaf78f95481e5995d0440bfda2d5df533d6741a6e7058a882c"; 11 }; 12 13 nativeBuildInputs = [ pkgconfig ]; 14 propagatedBuildInputs = [ pure gnuplot ]; 15 makeFlags = [ "libdir=$(out)/lib" "prefix=$(out)/" ]; 16 setupHook = ../generic-setup-hook.sh; 17 18 meta = { 19 description = "A pure binding to gnuplot"; 20 homepage = "http://puredocs.bitbucket.org/pure-gplot.html"; 21 license = stdenv.lib.licenses.lgpl3Plus; 22 platforms = stdenv.lib.platforms.linux; 23 maintainers = with stdenv.lib.maintainers; [ asppsa ]; 24 }; 25}