depot/third_party/nixpkgs/pkgs/development/python-modules/path/default.nix
Default email 22017988c6 Project import generated by Copybara.
GitOrigin-RevId: c777cdf5c564015d5f63b09cc93bef4178b19b01
2022-04-27 11:35:20 +02:00

51 lines
897 B
Nix

{ lib
, buildPythonPackage
, pythonOlder
, fetchPypi
# build time
, setuptools-scm
# tests
, pytestCheckHook
, appdirs
, packaging
}:
buildPythonPackage rec {
pname = "path";
version = "16.4.0";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-uvLnV8Sxm+ggj55n5I+0dbSld9VhNZDORmk7298IL1I=";
};
nativeBuildInputs = [
setuptools-scm
];
checkInputs = [
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";
license = licenses.mit;
maintainers = with maintainers; [ ];
};
}