Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, fetchPypi 3, buildPythonPackage 4, mergedict 5, pytestCheckHook 6}: 7 8buildPythonPackage rec { 9 pname = "configclass"; 10 version = "0.2.0"; 11 12 src = fetchPypi { 13 inherit pname version; 14 hash = "sha256-aoDKBuDxJCeXbVwCXhse6FCbDDM30/Xa8p9qRvDkWBk="; 15 }; 16 17 propagatedBuildInputs = [ mergedict ]; 18 19 nativeCheckInputs = [ pytestCheckHook ]; 20 21 pythonImportsCheck = [ "configclass" ]; 22 23 meta = with lib; { 24 description = "A Python to class to hold configuration values"; 25 homepage = "https://github.com/schettino72/configclass/"; 26 license = licenses.mit; 27 maintainers = with maintainers; [ onny ]; 28 }; 29}