pythonPackages.pushbullet: move expression

This commit is contained in:
Robert Schütz 2018-03-17 16:46:11 +01:00
parent 7e8e3807f3
commit 127f99e22e
2 changed files with 21 additions and 11 deletions

View File

@ -0,0 +1,20 @@
{ lib, buildPythonPackage, fetchPypi
, requests, websocket_client, python_magic }:
buildPythonPackage rec {
pname = "pushbullet.py";
version = "0.10.0";
src = fetchPypi {
inherit pname version;
sha256 = "537d3132e1dbc91e31ade4cccf4c7def6f9d48e904a67f341d35b8a54a9be74d";
};
propagatedBuildInputs = [ requests websocket_client python_magic ];
meta = with lib; {
description = "A simple python client for pushbullet.com";
homepage = https://github.com/randomchars/pushbullet.py;
license = licenses.mit;
};
}

View File

@ -18718,17 +18718,7 @@ EOF
};
};
pushbullet = buildPythonPackage rec {
name = "pushbullet.py-${version}";
version = "0.10.0";
src = pkgs.fetchurl {
url = "mirror://pypi/p/pushbullet.py/pushbullet.py-0.10.0.tar.gz";
sha256 = "537d3132e1dbc91e31ade4cccf4c7def6f9d48e904a67f341d35b8a54a9be74d";
};
propagatedBuildInputs = with self; [requests websocket_client python_magic ];
};
pushbullet = callPackage ../development/python-modules/pushbullet { };
power = buildPythonPackage rec {
name = "power-1.4";