depot/third_party/nixpkgs/pkgs/development/python-modules/itemadapter/default.nix
Default email 58849dfc4f Project import generated by Copybara.
GitOrigin-RevId: 21c937f8cb1e6adcfeb36dfd6c90d9d9bfab1d28
2021-08-27 16:25:00 +02:00

25 lines
679 B
Nix

{ lib, buildPythonPackage, fetchPypi, isPy27 }:
buildPythonPackage rec {
pname = "itemadapter";
version = "0.4.0";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "f05df8da52619da4b8c7f155d8a15af19083c0c7ad941d8c1de799560ad994ca";
};
doCheck = false; # infinite recursion with Scrapy
pythonImportsCheck = [ "itemadapter" ];
meta = with lib; {
description = "Common interface for data container classes";
homepage = "https://github.com/scrapy/itemadapter";
changelog = "https://github.com/scrapy/itemadapter/raw/v${version}/Changelog.md";
license = licenses.bsd3;
maintainers = [ maintainers.marsam ];
};
}