pythonPackages.pushbullet: move expression
This commit is contained in:
parent
7e8e3807f3
commit
127f99e22e
20
pkgs/development/python-modules/pushbullet/default.nix
Normal file
20
pkgs/development/python-modules/pushbullet/default.nix
Normal 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;
|
||||
};
|
||||
}
|
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue