2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, pure }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2022-02-10 20:34:41 +00:00
|
|
|
pname = "pure-csv";
|
2020-04-24 23:36:52 +00:00
|
|
|
version = "1.6";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2022-02-10 20:34:41 +00:00
|
|
|
url = "https://bitbucket.org/purelang/pure-lang/downloads/pure-csv-${version}.tar.gz";
|
2020-04-24 23:36:52 +00:00
|
|
|
sha256 = "fe7c4edebe8208c54d5792a9eefaeb28c4a58b9094d161a6dda8126f0823ab3c";
|
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2020-04-24 23:36:52 +00:00
|
|
|
propagatedBuildInputs = [ pure ];
|
|
|
|
makeFlags = [ "libdir=$(out)/lib" "prefix=$(out)/" ];
|
|
|
|
setupHook = ../generic-setup-hook.sh;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Comma Separated Value Interface for the Pure Programming Language";
|
|
|
|
homepage = "http://puredocs.bitbucket.org/pure-csv.html";
|
2021-02-05 17:12:51 +00:00
|
|
|
license = lib.licenses.free;
|
|
|
|
platforms = lib.platforms.linux;
|
|
|
|
maintainers = with lib.maintainers; [ asppsa ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|