depot/third_party/nixpkgs/pkgs/development/python-modules/configclass/default.nix
Default email 83405b6dd2 Project import generated by Copybara.
GitOrigin-RevId: ac718d02867a84b42522a0ece52d841188208f2c
2023-03-15 17:39:30 +01:00

29 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 ];
};
}