nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib, stdenv, fetchurl, pkg-config, 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 nativeBuildInputs = [ pkg-config ];
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 = lib.licenses.free;
22 platforms = lib.platforms.linux;
23 maintainers = with lib.maintainers; [ asppsa ];
24 };
25}