pythonPakcages.twitter-common-dirutil: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-28 12:13:15 -04:00
parent 1497dff563
commit 81fbd1413e
No known key found for this signature in database
GPG Key ID: 9ED59B0AB1EAF573
2 changed files with 26 additions and 19 deletions

View File

@ -0,0 +1,25 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, twitter-common-lang
}:
buildPythonPackage rec {
pname = "twitter.common.dirutil";
version = "0.3.9";
src = fetchPypi {
inherit pname version;
sha256 = "1wpjfmmxsdwnbx5dl13is4zkkpfcm94ksbzas9y2qhgswfa9jqha";
};
propagatedBuildInputs = [ twitter-common-lang ];
meta = with stdenv.lib; {
description = "Utilities for manipulating and finding files and directories";
homepage = "https://twitter.github.io/commons/";
license = licenses.asl20;
maintainers = with maintainers; [ copumpkin ];
};
}

View File

@ -4017,25 +4017,7 @@ in {
twitter-common-confluence = callPackage ../development/python-modules/twitter-common-confluence { };
twitter-common-dirutil = buildPythonPackage rec {
pname = "twitter.common.dirutil";
version = "0.3.9";
name = "${pname}-${version}";
src = self.fetchPypi {
inherit pname version;
sha256 = "1wpjfmmxsdwnbx5dl13is4zkkpfcm94ksbzas9y2qhgswfa9jqha";
};
propagatedBuildInputs = with self; [ twitter-common-lang ];
meta = {
description = "Utilities for manipulating and finding files and directories";
homepage = "https://twitter.github.io/commons/";
license = licenses.asl20;
maintainers = with maintainers; [ copumpkin ];
};
};
twitter-common-dirutil = callPackage ../development/python-modules/twitter-common-dirutil { };
twitter-common-lang = buildPythonPackage rec {
pname = "twitter.common.lang";