nixpkgs/pkgs/development/python-modules/deep-chainmap/default.nix
Martin Weinelt 0215034f25 python3.pkgs: Migrate fetchers to use hash
when they already rely on SRI hashes.
2023-03-03 23:59:29 +01:00

29 lines
675 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "deep-chainmap";
version = "0.1.1";
src = fetchPypi {
pname = "deep_chainmap";
inherit version;
hash = "sha256-6K7dyB5iQzzw3lXLcU10SVsiHZ+SAXhz9DSCkYnPQAA=";
};
# Tests are not published to pypi
doCheck = false;
pythonImportsCheck = [ "deep_chainmap" ];
# See the guide for more information: https://nixos.org/nixpkgs/manual/#chap-meta
meta = with lib; {
description = "A recursive subclass of ChainMap";
homepage = "https://github.com/neutrinoceros/deep-chainmap";
license = licenses.mit;
maintainers = with maintainers; [ rehno-lindeque ];
};
}