Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
994 B · 51 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152{ lib, buildPythonPackage, fetchFromGitHub, pytestCheckHook, pythonOlder}:
buildPythonPackage rec { pname = "immutables"; version = "0.20"; format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchFromGitHub { owner = "MagicStack"; repo = pname; rev = "refs/tags/v${version}"; hash = "sha256-fEECtP6WQVzwSzBYX+CbhQtzkB/1WC3OYKXk2XY//xA="; };
postPatch = '' rm tests/conftest.py '';
nativeCheckInputs = [ pytestCheckHook ];
disabledTests = [ # Version mismatch "testMypyImmu" ];
disabledTestPaths = [ # avoid dependency on mypy "tests/test_mypy.py" ];
pythonImportsCheck = [ "immutables" ];
meta = with lib; { description = "An immutable mapping type"; homepage = "https://github.com/MagicStack/immutables"; changelog = "https://github.com/MagicStack/immutables/releases/tag/v${version}"; license = with licenses; [ asl20 ]; maintainers = with maintainers; [ catern ]; };}