mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-10 23:13:56 +00:00
5356420466
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \ -e 's!with lib.maintainers; \[ *\];![ ];!' \ -e 's!with maintainers; \[ *\];![ ];!'
50 lines
981 B
Nix
50 lines
981 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
more-itertools,
|
|
pytestCheckHook,
|
|
pythonOlder,
|
|
setuptools,
|
|
setuptools-scm,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "path";
|
|
version = "16.14.0";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-26qn79RgL9a6jYKJDceCPWnl3nQKboQtmRmw+q8rao4=";
|
|
};
|
|
|
|
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 = [ ];
|
|
};
|
|
}
|