pythonPackages.stem: move expression

This commit is contained in:
Robert Schütz 2018-03-20 11:38:02 +01:00
parent fbff08f2f2
commit 061e79806e
2 changed files with 19 additions and 17 deletions

View file

@ -0,0 +1,18 @@
{ lib, buildPythonPackage, fetchPypi }:
buildPythonPackage rec {
pname = "stem";
version = "1.6.0";
src = fetchPypi {
inherit pname version;
sha256 = "1va9p3ij7lxg6ixfsvaql06dn11l3fgpxmss1dhlvafm7sqizznp";
};
meta = with lib; {
description = "Controller library that allows applications to interact with Tor";
homepage = https://stem.torproject.org/;
license = licenses.gpl3;
maintainers = with maintainers; [ phreedom ];
};
}

View file

@ -6324,23 +6324,7 @@ in {
schema = callPackage ../development/python-modules/schema {};
stem = buildPythonPackage rec {
name = "stem-${version}";
version = "1.6.0";
src = pkgs.fetchurl {
url = "mirror://pypi/s/stem/${name}.tar.gz";
sha256 = "1va9p3ij7lxg6ixfsvaql06dn11l3fgpxmss1dhlvafm7sqizznp";
};
meta = {
description = "Controller library that allows applications to interact with Tor (https://www.torproject.org/";
homepage = https://stem.torproject.org/;
license = licenses.gpl3;
maintainers = with maintainers; [ phreedom ];
};
};
stem = callPackage ../development/python-modules/stem { };
svg-path = buildPythonPackage rec {
name = "svg.path-${version}";