pythonPackages.twitter-common-confluence: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-28 12:05:43 -04:00
parent 0d041c02ef
commit 1497dff563
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-log
}:
buildPythonPackage rec {
pname = "twitter.common.confluence";
version = "0.3.9";
src = fetchPypi {
inherit pname version;
sha256 = "1i2fjn23cmms81f1fhvvkg6hgzqpw07dlqg3ydz6cqv2glw7zq26";
};
propagatedBuildInputs = [ twitter-common-log ];
meta = with stdenv.lib; {
description = "Twitter's API to the confluence wiki";
homepage = "https://twitter.github.io/commons/";
license = licenses.asl20;
maintainers = with maintainers; [ copumpkin ];
};
}

View File

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