pythonPackages.twitter: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov
2018-10-30 00:50:55 -04:00
parent 0f6fdbf26e
commit 14a2378036
2 changed files with 24 additions and 17 deletions
@@ -0,0 +1,23 @@
{ stdenv
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "twitter";
version = "1.15.0";
src = fetchPypi {
inherit pname version;
sha256 = "1m6b17irb9klc345k8174pni724jzy2973z2x2jg69h83hipjw2c";
};
doCheck = false;
meta = with stdenv.lib; {
description = "Twitter API library";
license = licenses.mit;
maintainers = with maintainers; [ thoughtpolice ];
};
}
+1 -17
View File
@@ -4011,23 +4011,7 @@ in {
twill = callPackage ../development/python-modules/twill { };
twitter = buildPythonPackage rec {
name = "twitter-${version}";
version = "1.15.0";
src = pkgs.fetchurl {
url = "mirror://pypi/t/twitter/${name}.tar.gz";
sha256 = "1m6b17irb9klc345k8174pni724jzy2973z2x2jg69h83hipjw2c";
};
doCheck = false;
meta = {
description = "Twitter API library";
license = licenses.mit;
maintainers = with maintainers; [ thoughtpolice ];
};
};
twitter = callPackage ../development/python-modules/twitter { };
twitter-common-collections = buildPythonPackage rec {
pname = "twitter.common.collections";