Files
nixpkgs/pkgs/development/python-modules/immutables/default.nix
T
Wolfgang Walther 3f48c44736 maintainers: drop catern
Does not react to maintainer pings; not a member of the
nixpkgs-maintainers team.

Did not respond to
https://github.com/NixOS/nixpkgs/pull/452507#issuecomment-3415956989.
2025-12-02 16:34:16 +01:00

51 lines
978 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
pytestCheckHook,
pythonOlder,
}:
buildPythonPackage rec {
pname = "immutables";
version = "0.21";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "MagicStack";
repo = "immutables";
tag = "v${version}";
hash = "sha256-wZuCZEVXzycqA/h27RIe59e2QQALem8mfb3EdjwQr9w=";
};
postPatch = ''
rm tests/conftest.py
'';
build-system = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook ];
disabledTests = [
# Version mismatch
"testMypyImmu"
];
disabledTestPaths = [
# avoid dependency on mypy
"tests/test_mypy.py"
];
pythonImportsCheck = [ "immutables" ];
meta = with lib; {
description = "Immutable mapping type";
homepage = "https://github.com/MagicStack/immutables";
changelog = "https://github.com/MagicStack/immutables/releases/tag/v${version}";
license = with licenses; [ asl20 ];
};
}