depot/third_party/nixpkgs/pkgs/development/python-modules/outspin/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

32 lines
736 B
Nix

{
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 = with lib; {
changelog = "https://github.com/trag1c/outspin/blob/${src.rev}/CHANGELOG.md";
description = "Conveniently read single char inputs in the console";
license = licenses.mit;
maintainers = with maintainers; [ sigmanificient ];
};
}