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

This commit is contained in:
Chris Ostrouchov 2018-10-28 12:24:18 -04:00
parent 91bf06221f
commit 6ee690466c
No known key found for this signature in database
GPG Key ID: 9ED59B0AB1EAF573
2 changed files with 23 additions and 17 deletions

View File

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

View File

@ -4023,23 +4023,7 @@ in {
twitter-common-log = callPackage ../development/python-modules/twitter-common-log { };
twitter-common-options = buildPythonPackage rec {
pname = "twitter.common.options";
version = "0.3.9";
name = "${pname}-${version}";
src = self.fetchPypi {
inherit pname version;
sha256 = "0d1czag5mcxg0vcnlklspl2dvdab9kmznsycj04d3vggi158ljrd";
};
meta = {
description = "Twitter's optparse wrapper";
homepage = "https://twitter.github.io/commons/";
license = licenses.asl20;
maintainers = with maintainers; [ copumpkin ];
};
};
twitter-common-options = callPackage ../development/python-modules/twitter-common-options { };
twine = callPackage ../development/python-modules/twine { };