Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
955 B · 45 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546{ 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 = with lib.maintainers; [ drupol ]; };}