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:
parent
bfac863728
commit
4b5bae260a
36
pkgs/development/python-modules/itemloaders/default.nix
Normal file
36
pkgs/development/python-modules/itemloaders/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue