mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-30 16:10:36 +00:00
python3Packages.path: rename from path.py; 12.0.1 -> 16.4.0
The project had been renamed after 12.5.0 back in 2020, which is why we didn't receive further updates. Created an alias and renamed all existing references.
This commit is contained in:
45
pkgs/development/python-modules/path/default.nix
Normal file
45
pkgs/development/python-modules/path/default.nix
Normal file
@@ -0,0 +1,45 @@
|
||||
{ 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; [ ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user