587713944a
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
50 lines
995 B
Nix
50 lines
995 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, more-itertools
|
|
, pytestCheckHook
|
|
, pythonOlder
|
|
, setuptools
|
|
, setuptools-scm
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "path";
|
|
version = "16.10.0";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-sysit2/oEKje1tE2JozItmmK58R8KblKnqEmI/MFHkY=";
|
|
};
|
|
|
|
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 = with maintainers; [ ];
|
|
};
|
|
}
|