Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
729 B · 36 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637{ lib, buildPythonPackage, fetchFromGitHub, flit-core, pytestCheckHook, pythonOlder,}:
buildPythonPackage rec { pname = "autoslot"; version = "2024.12.1"; pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "cjrh"; repo = "autoslot"; tag = "v${version}"; hash = "sha256-wYjsBrjvSZFHDt0HLrnS9Xwk8EHVQupfPSkQnUFmMAk="; };
build-system = [ flit-core ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "autoslot" ];
meta = with lib; { description = "Automatic __slots__ for your Python classes"; homepage = "https://github.com/cjrh/autoslot"; license = licenses.asl20; maintainers = with maintainers; [ fab ]; };}