diff --git a/pkgs/software-heritage/attrs-strict.nix b/pkgs/software-heritage/attrs-strict.nix new file mode 100644 index 00000000..b4fc52db --- /dev/null +++ b/pkgs/software-heritage/attrs-strict.nix @@ -0,0 +1,23 @@ +{ stdenv, lib, python3Packages, ... }: + +with python3Packages; +buildPythonPackage rec { + pname = "attrs_strict"; + version = "1.0.0"; + + src = fetchPypi { + inherit pname version; + sha256 = "sha256-YybB5RxP0v/8ndYH3sBsMa3WTu29N6ZR6oj2Y6N8Pxg"; + }; + + propagatedBuildInputs = [ + setuptools-scm + attrs + ]; + + meta = with lib; { + homepage = "https://github.com/bloomberg/attrs-strict"; + description = "Runtime validators for attrs"; + license = licenses.asl20; + }; +}