python3Packages.csvw: init at 1.8.0
This commit is contained in:
parent
3e462a8533
commit
2904bef26c
51
pkgs/development/python-modules/csvw/default.nix
Normal file
51
pkgs/development/python-modules/csvw/default.nix
Normal file
|
@ -0,0 +1,51 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, isPy27
|
||||
, attrs
|
||||
, isodate
|
||||
, dateutil
|
||||
, rfc3986
|
||||
, uritemplate
|
||||
, mock
|
||||
, pytestCheckHook
|
||||
, pytest-mock
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "csvw";
|
||||
version = "1.8.0";
|
||||
disabled = isPy27;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "cldf";
|
||||
repo = "csvw";
|
||||
rev = "v${version}";
|
||||
sha256 = "0maxrsiv9i9hkg627hwqyq8g6jg3g8iv8gdqaxz4aysjd9xddydd";
|
||||
};
|
||||
|
||||
patchPhase = ''
|
||||
substituteInPlace setup.cfg --replace "--cov" ""
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
attrs
|
||||
isodate
|
||||
dateutil
|
||||
rfc3986
|
||||
uritemplate
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
mock
|
||||
pytestCheckHook
|
||||
pytest-mock
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "CSV on the Web";
|
||||
homepage = "https://github.com/cldf/csvw";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ hexa ];
|
||||
};
|
||||
}
|
|
@ -1355,6 +1355,8 @@ in {
|
|||
|
||||
csvs-to-sqlite = callPackage ../development/python-modules/csvs-to-sqlite { };
|
||||
|
||||
csvw = callPackage ../development/python-modules/csvw { };
|
||||
|
||||
cucumber-tag-expressions = callPackage ../development/python-modules/cucumber-tag-expressions { };
|
||||
|
||||
cufflinks = callPackage ../development/python-modules/cufflinks { };
|
||||
|
|
Loading…
Reference in a new issue