mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-16 02:33:25 +00:00
46 lines
727 B
Nix
46 lines
727 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
|
||
|
];
|
||
|
|
||
|
pythonImportsCheck = [
|
||
|
"path"
|
||
|
];
|
||
|
|
||
|
meta = with lib; {
|
||
|
description = "Object-oriented file system path manipulation";
|
||
|
homepage = "https://github.com/jaraco/path";
|
||
|
license = licenses.mit;
|
||
|
maintainers = with maintainers; [ ];
|
||
|
};
|
||
|
}
|