diff options
Diffstat (limited to 'pkgs/development/python-modules/outspin/default.nix')
-rw-r--r-- | pkgs/development/python-modules/outspin/default.nix | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/outspin/default.nix b/pkgs/development/python-modules/outspin/default.nix new file mode 100644 index 000000000000..4555e9cbca3c --- /dev/null +++ b/pkgs/development/python-modules/outspin/default.nix @@ -0,0 +1,32 @@ +{ + lib, + buildPythonPackage, + fetchFromGitHub, + poetry-core, + pytestCheckHook +}: + +buildPythonPackage rec { + pname = "outspin"; + version = "0.3.2"; + pyproject = true; + + src = fetchFromGitHub { + owner = "trag1c"; + repo = "outspin"; + rev = "refs/tags/v${version}"; + hash = "sha256-j+J3n/p+DcfnhGfC4/NDBDl5bF39L5kIPeGJW0Zm7ls="; + }; + + build-system = [ poetry-core ]; + pythonImportsCheck = [ "outspin" ]; + + nativeCheckInputs = [ pytestCheckHook ]; + + meta = { + changelog = "https://github.com/trag1c/outspin/blob/${src.rev}/CHANGELOG.md"; + description = "Conveniently read single char inputs in the console"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ sigmanificient ]; + }; +} |