parent
5a6d4fe0d1
commit
2e29e12438
@ -0,0 +1,41 @@ |
||||
{ lib |
||||
, buildPythonPackage |
||||
, fetchPypi |
||||
, setuptoolsBuildHook |
||||
, attrs |
||||
, toml |
||||
, pytestCheckHook |
||||
, click |
||||
}: |
||||
|
||||
buildPythonPackage rec { |
||||
pname = "typed-settings"; |
||||
version = "0.9.2"; |
||||
format = "pyproject"; |
||||
|
||||
src = fetchPypi { |
||||
inherit pname version; |
||||
sha256 = "203c1c6ec73dd1eb0fecd4981b31f8e05042f0dda16443190ac9ade1113ff53d"; |
||||
}; |
||||
|
||||
nativeBuildInputs = [ |
||||
setuptoolsBuildHook |
||||
pytestCheckHook |
||||
]; |
||||
|
||||
propagatedBuildInputs = [ |
||||
attrs |
||||
toml |
||||
]; |
||||
|
||||
checkInputs = [ |
||||
click |
||||
]; |
||||
|
||||
meta = { |
||||
description = "Typed settings based on attrs classes"; |
||||
homepage = "https://gitlab.com/sscherfke/typed-settings"; |
||||
license = lib.licenses.mit; |
||||
maintainer = with lib.maintainers; [ fridh ]; |
||||
}; |
||||
} |
Loading…
Reference in new issue