nixpkgs/pkgs/development/python-modules/configclass/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

30 lines
625 B
Nix

{ lib
, fetchPypi
, buildPythonPackage
, mergedict
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "configclass";
version = "0.2.0";
src = fetchPypi {
inherit pname version;
hash = "sha256-aoDKBuDxJCeXbVwCXhse6FCbDDM30/Xa8p9qRvDkWBk=";
};
propagatedBuildInputs = [ mergedict ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "configclass" ];
meta = with lib; {
description = "A Python to class to hold configuration values";
homepage = "https://github.com/schettino72/configclass/";
license = licenses.mit;
maintainers = with maintainers; [ onny ];
};
}