nixpkgs/pkgs/development/python-modules/outspin/default.nix
quantenzitrone 44560ee9f7
various: make all uses of fixed point builders use finalAttrs as argument
some of these were just typos like `finalAttr`, `finalAtts` or `finaAttrs`
some of these were using `self`, `final`, `finalPackage`, `attrs` or `_`
some of these were wrong by using `oldAttrs` or `finalPackages`

other than the nixos manual this shouldn't create any rebuilds
2026-02-06 23:22:29 +01:00

32 lines
757 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
pytestCheckHook,
}:
buildPythonPackage (finalAttrs: {
pname = "outspin";
version = "0.3.2";
pyproject = true;
src = fetchFromGitHub {
owner = "trag1c";
repo = "outspin";
tag = "v${finalAttrs.version}";
hash = "sha256-j+J3n/p+DcfnhGfC4/NDBDl5bF39L5kIPeGJW0Zm7ls=";
};
build-system = [ poetry-core ];
pythonImportsCheck = [ "outspin" ];
nativeCheckInputs = [ pytestCheckHook ];
meta = {
changelog = "https://github.com/trag1c/outspin/blob/${finalAttrs.src.tag}/CHANGELOG.md";
description = "Conveniently read single char inputs in the console";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ sigmanificient ];
};
})