blob: 3d66c472dacd3ce5d55c65f46ebe25431dcb57ea (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
flit-core,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "autoslot";
version = "2025.11.1";
pyproject = true;
src = fetchFromGitHub {
owner = "cjrh";
repo = "autoslot";
tag = "v${version}";
hash = "sha256-mPGfBUSKkskiiokqo/TJWdDzuvcg/LDULx+Gx8LexV8=";
};
build-system = [ flit-core ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "autoslot" ];
meta = {
description = "Automatic __slots__ for your Python classes";
homepage = "https://github.com/cjrh/autoslot";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ fab ];
};
}
|