pythonPackages.pathtools: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-16 10:26:50 -04:00 committed by Frederik Rietdijk
parent 08890bd6ea
commit 592e8a2ef1
2 changed files with 23 additions and 16 deletions

View 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 ];
};
}

View File

@ -2015,22 +2015,7 @@ in {
pathspec = callPackage ../development/python-modules/pathspec { };
pathtools = buildPythonPackage rec {
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 ];
};
};
pathtools = callPackage ../development/python-modules/pathtools { };
paver = buildPythonPackage rec {
version = "1.2.2";