pythonPackages.pathtools: refactor move to python-modules
This commit is contained in:
parent
08890bd6ea
commit
592e8a2ef1
22
pkgs/development/python-modules/pathtools/default.nix
Normal file
22
pkgs/development/python-modules/pathtools/default.nix
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "pathtools";
|
||||||
|
version = "0.1.2";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "1h7iam33vwxk8bvslfj4qlsdprdnwf8bvzhqh3jq5frr391cadbw";
|
||||||
|
};
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Pattern matching and various utilities for file systems paths";
|
||||||
|
homepage = https://github.com/gorakhargosh/pathtools;
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ goibhniu ];
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
@ -2015,22 +2015,7 @@ in {
|
|||||||
|
|
||||||
pathspec = callPackage ../development/python-modules/pathspec { };
|
pathspec = callPackage ../development/python-modules/pathspec { };
|
||||||
|
|
||||||
pathtools = buildPythonPackage rec {
|
pathtools = callPackage ../development/python-modules/pathtools { };
|
||||||
name = "pathtools-${version}";
|
|
||||||
version = "0.1.2";
|
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "mirror://pypi/p/pathtools/${name}.tar.gz";
|
|
||||||
sha256 = "1h7iam33vwxk8bvslfj4qlsdprdnwf8bvzhqh3jq5frr391cadbw";
|
|
||||||
};
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
description = "Pattern matching and various utilities for file systems paths";
|
|
||||||
homepage = https://github.com/gorakhargosh/pathtools;
|
|
||||||
license = licenses.mit;
|
|
||||||
maintainers = with maintainers; [ goibhniu ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
paver = buildPythonPackage rec {
|
paver = buildPythonPackage rec {
|
||||||
version = "1.2.2";
|
version = "1.2.2";
|
||||||
|
Loading…
Reference in New Issue
Block a user