mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 06:33:42 +00:00
30 lines
621 B
Nix
30 lines
621 B
Nix
{ lib
|
|
, fetchPypi
|
|
, buildPythonPackage
|
|
, mergedict
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "configclass";
|
|
version = "0.2.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-aoDKBuDxJCeXbVwCXhse6FCbDDM30/Xa8p9qRvDkWBk=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ mergedict ];
|
|
|
|
checkInputs = [ 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 ];
|
|
};
|
|
}
|