at master 725 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 poetry-core, 6 pytestCheckHook, 7}: 8 9buildPythonPackage rec { 10 pname = "outspin"; 11 version = "0.3.2"; 12 pyproject = true; 13 14 src = fetchFromGitHub { 15 owner = "trag1c"; 16 repo = "outspin"; 17 tag = "v${version}"; 18 hash = "sha256-j+J3n/p+DcfnhGfC4/NDBDl5bF39L5kIPeGJW0Zm7ls="; 19 }; 20 21 build-system = [ poetry-core ]; 22 pythonImportsCheck = [ "outspin" ]; 23 24 nativeCheckInputs = [ pytestCheckHook ]; 25 26 meta = { 27 changelog = "https://github.com/trag1c/outspin/blob/${src.rev}/CHANGELOG.md"; 28 description = "Conveniently read single char inputs in the console"; 29 license = lib.licenses.mit; 30 maintainers = with lib.maintainers; [ sigmanificient ]; 31 }; 32}