blob: 726778baa0e806361d0ba5677836cc974a4acb5a (
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
34
35
36
37
38
39
40
41
42
43
44
45
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
attrs,
setuptools,
setuptools-scm,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "attrs-strict";
version = "1.0.1";
pyproject = true;
src = fetchFromGitHub {
owner = "bloomberg";
repo = "attrs-strict";
tag = version;
hash = "sha256-dDOD4Y57E+i8D0S4q+C6t7zjBTsS8q2UFiS22Dsp0Z8=";
};
build-system = [
setuptools
setuptools-scm
];
dependencies = [
attrs
];
pythonImportsCheck = [ "attrs_strict" ];
nativeCheckInputs = [
pytestCheckHook
];
meta = {
changelog = "https://github.com/bloomberg/attrs-strict/releases/tag/${version}";
description = "Python package which contains runtime validation for attrs data classes based on the types existing in the typing module";
homepage = "https://github.com/bloomberg/attrs-strict";
license = lib.licenses.asl20;
maintainers = [ ];
};
}
|