python3Packages.typed-settings: init at 0.9.2
This commit is contained in:
parent
5a6d4fe0d1
commit
2e29e12438
41
pkgs/development/python-modules/typed-settings/default.nix
Normal file
41
pkgs/development/python-modules/typed-settings/default.nix
Normal file
@ -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 ];
|
||||
};
|
||||
}
|
@ -8482,6 +8482,8 @@ in {
|
||||
|
||||
typed-ast = callPackage ../development/python-modules/typed-ast { };
|
||||
|
||||
typed-settings = callPackage ../development/python-modules/typed-settings { };
|
||||
|
||||
typeguard = callPackage ../development/python-modules/typeguard { };
|
||||
|
||||
typer = callPackage ../development/python-modules/typer { };
|
||||
|
Loading…
Reference in New Issue
Block a user