about summary refs log tree commit diff
path: root/pkgs/development/python-modules/pathtools/default.nix
blob: 453dc9df36ef814365c675d05762fa6305a79bfa (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{ 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 = with lib; {
    description = "Pattern matching and various utilities for file systems paths";
    homepage = "https://github.com/gorakhargosh/pathtools";
    license = licenses.mit;
    maintainers = with maintainers; [ goibhniu ];
  };

}