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

This commit is contained in:
Chris Ostrouchov 2018-10-28 12:01:26 -04:00
parent 14a2378036
commit 0d041c02ef
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.collections";
version = "0.3.9";
src = fetchPypi {
inherit pname version;
sha256 = "0wf8ks6y2kalx2inzayq0w4kh3kg25daik1ac7r6y79i03fslsc5";
};
propagatedBuildInputs = [ twitter-common-lang ];
meta = with stdenv.lib; {
description = "Twitter's common collections";
homepage = "https://twitter.github.io/commons/";
license = licenses.asl20;
maintainers = with maintainers; [ copumpkin ];
};
}

View File

@ -4013,25 +4013,7 @@ in {
twitter = callPackage ../development/python-modules/twitter { };
twitter-common-collections = buildPythonPackage rec {
pname = "twitter.common.collections";
version = "0.3.9";
name = "${pname}-${version}";
src = self.fetchPypi {
inherit pname version;
sha256 = "0wf8ks6y2kalx2inzayq0w4kh3kg25daik1ac7r6y79i03fslsc5";
};
propagatedBuildInputs = with self; [ twitter-common-lang ];
meta = {
description = "Twitter's common collections";
homepage = "https://twitter.github.io/commons/";
license = licenses.asl20;
maintainers = with maintainers; [ copumpkin ];
};
};
twitter-common-collections = callPackage ../development/python-modules/twitter-common-collections { };
twitter-common-confluence = buildPythonPackage rec {
pname = "twitter.common.confluence";