nixpkgs/pkgs/development/python-modules/pathtools/default.nix
Ihar Hrachyshka 567e8dfd8e
treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

27 lines
582 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
pythonAtLeast,
}:
buildPythonPackage rec {
pname = "pathtools";
version = "0.1.2";
format = "setuptools";
# imp and distuils usage, last commit in 2016
disabled = pythonAtLeast "3.12";
src = fetchPypi {
inherit pname version;
sha256 = "1h7iam33vwxk8bvslfj4qlsdprdnwf8bvzhqh3jq5frr391cadbw";
};
meta = {
description = "Pattern matching and various utilities for file systems paths";
homepage = "https://github.com/gorakhargosh/pathtools";
license = lib.licenses.mit;
maintainers = [ ];
};
}