Something went wrong. Try again.
lol
Something went wrong. Try again.
1.2 kB · 58 lines
Nix
at master
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859{ lib, buildPythonPackage, fetchFromGitHub,
# build-system setuptools, setuptools-scm,
# dependencies attrs,
# tests pytestCheckHook,}:
buildPythonPackage (finalAttrs: { pname = "attrs-strict"; version = "1.0.1"; pyproject = true;
src = fetchFromGitHub { owner = "bloomberg"; repo = "attrs-strict"; tag = finalAttrs.version; hash = "sha256-dDOD4Y57E+i8D0S4q+C6t7zjBTsS8q2UFiS22Dsp0Z8="; };
build-system = [ setuptools setuptools-scm ];
dependencies = [ attrs ];
pythonImportsCheck = [ "attrs_strict" ];
nativeCheckInputs = [ pytestCheckHook ];
disabledTests = [ # AssertionError: Regex pattern did not match "test_real_types" "test_recursive" "test_union_when_type_is_not_specified_raises" ];
meta = { 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"; changelog = "https://github.com/bloomberg/attrs-strict/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.asl20; maintainers = [ ]; };})