Files
nixpkgs/pkgs/development/python-modules/path/default.nix
Martin Weinelt 606898fab1 python3Packages.path: 17.1.0 -> 17.1.1
https://github.com/jaraco/path/blob/v17.1.1/NEWS.rst

This commit was automatically generated using update-python-libraries.
2025-08-09 19:02:14 +02:00

54 lines
1.0 KiB
Nix

{
lib,
buildPythonPackage,
fetchPypi,
more-itertools,
pytestCheckHook,
pythonOlder,
setuptools,
setuptools-scm,
}:
buildPythonPackage rec {
pname = "path";
version = "17.1.1";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-Lfy/7ItNlg80acUqzxMxE8KovxKse5jWKfqRr4ckjUI=";
};
postPatch = ''
sed -i "/coherent\.licensed/d" pyproject.toml
'';
nativeBuildInputs = [
setuptools
setuptools-scm
];
nativeCheckInputs = [
more-itertools
pytestCheckHook
];
disabledTests = [
# creates a file, checks when it was last accessed/modified
# AssertionError: assert 1650036414.0 == 1650036414.960688
"test_utime"
];
pythonImportsCheck = [ "path" ];
meta = with lib; {
description = "Object-oriented file system path manipulation";
homepage = "https://github.com/jaraco/path";
changelog = "https://github.com/jaraco/path/blob/v${version}/NEWS.rst";
license = licenses.mit;
maintainers = [ ];
};
}