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

This commit is contained in:
Chris Ostrouchov 2018-10-28 12:20:31 -04:00
parent 18c7709d1d
commit 91bf06221f
No known key found for this signature in database
GPG Key ID: 9ED59B0AB1EAF573
2 changed files with 27 additions and 19 deletions

View File

@ -0,0 +1,26 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, twitter-common-options
, twitter-common-dirutil
}:
buildPythonPackage rec {
pname = "twitter.common.log";
version = "0.3.9";
src = fetchPypi {
inherit pname version;
sha256 = "1bdzbxx2bxwpf57xaxfz1nblzgfvhlidz8xqd7s84c62r3prh02v";
};
propagatedBuildInputs = [ twitter-common-options twitter-common-dirutil ];
meta = with stdenv.lib; {
description = "Twitter's common logging library";
homepage = "https://twitter.github.io/commons/";
license = licenses.asl20;
maintainers = with maintainers; [ copumpkin ];
};
}

View File

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