python312Packages.attrs-strict: init at 1.0.1

This commit is contained in:
Pol Dellaiera
2025-03-27 11:16:51 +01:00
parent bef9aaac0a
commit b5de795ba9
2 changed files with 44 additions and 0 deletions
@@ -0,0 +1,42 @@
{
lib,
buildPythonPackage,
fetchPypi,
attrs,
setuptools,
setuptools-scm,
}:
buildPythonPackage rec {
pname = "attrs-strict";
version = "1.0.1";
pyproject = true;
src = fetchPypi {
inherit version;
pname = "attrs_strict";
hash = "sha256-5wSGNiAUbF8qi2Ac1FdNFIkT2yb8Bjb5Qf5CEuQl6v4=";
};
build-system = [
setuptools
setuptools-scm
];
dependencies = [
attrs
];
pythonImportsCheck = [ "attrs_strict" ];
# No tests in the pypi archive
doCheck = false;
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 = with lib.maintainers; [ drupol ];
};
}
+2
View File
@@ -1053,6 +1053,8 @@ self: super: with self; {
attrs = callPackage ../development/python-modules/attrs { };
attrs-strict = callPackage ../development/python-modules/attrs-strict { };
aubio = callPackage ../development/python-modules/aubio { };
audible = callPackage ../development/python-modules/audible { };