at v192 25 lines 797 B view raw
1{ stdenv, fetchurl, pkgconfig, pure }: 2 3stdenv.mkDerivation rec { 4 baseName = "csv"; 5 version = "1.6"; 6 name = "pure-${baseName}-${version}"; 7 8 src = fetchurl { 9 url = "https://bitbucket.org/purelang/pure-lang/downloads/${name}.tar.gz"; 10 sha256 = "fe7c4edebe8208c54d5792a9eefaeb28c4a58b9094d161a6dda8126f0823ab3c"; 11 }; 12 13 buildInputs = [ pkgconfig ]; 14 propagatedBuildInputs = [ pure ]; 15 makeFlags = "libdir=$(out)/lib prefix=$(out)/"; 16 setupHook = ../generic-setup-hook.sh; 17 18 meta = { 19 description = "Comma Separated Value Interface for the Pure Programming Language"; 20 homepage = http://puredocs.bitbucket.org/pure-csv.html; 21 license = stdenv.lib.licenses.free; 22 platforms = stdenv.lib.platforms.linux; 23 maintainers = with stdenv.lib.maintainers; [ asppsa ]; 24 }; 25}