mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-20 15:00:35 +08:00
checkInputs used to be added to nativeBuildInputs. Now we have nativeCheckInputs to do that instead. Doing this treewide change allows to keep hashes identical to before the introduction of nativeCheckInputs.
30 lines
627 B
Nix
30 lines
627 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 ];
|
|
|
|
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 ];
|
|
};
|
|
}
|