1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 14:41:17 +00:00

python3Packages.itemloaders: init at 1.0.1

This commit is contained in:
Mario Rodas 2020-08-04 20:20:20 -05:00 committed by Jon
parent bfac863728
commit 4b5bae260a
2 changed files with 38 additions and 0 deletions

View file

@ -0,0 +1,36 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, isPy27
, w3lib
, parsel
, jmespath
, itemadapter
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "itemloaders";
version = "1.0.1";
disabled = isPy27;
# Tests not included in PyPI tarball
src = fetchFromGitHub {
owner = "scrapy";
repo = pname;
rev = "v${version}";
sha256 = "0frs0s876ddha844vhnhhiggyk3qbhhngrwkvgg3c0mrnn282f6k";
};
propagatedBuildInputs = [ w3lib parsel jmespath itemadapter ];
checkInputs = [ pytestCheckHook ];
meta = with lib; {
description = "Base library for scrapy's ItemLoader";
homepage = "https://github.com/scrapy/itemloaders";
license = licenses.bsd3;
maintainers = [ maintainers.marsam ];
};
}

View file

@ -900,6 +900,8 @@ in {
itemadapter = callPackage ../development/python-modules/itemadapter { };
itemloaders = callPackage ../development/python-modules/itemloaders { };
iterm2 = callPackage ../development/python-modules/iterm2 { };
janus = callPackage ../development/python-modules/janus { };