pythonPackages.tunigo: move expression

This commit is contained in:
Robert Schütz 2018-02-27 22:44:47 +01:00
parent 34c87c1ac2
commit cf5b06f9ce
2 changed files with 24 additions and 20 deletions

View File

@ -0,0 +1,23 @@
{ lib, buildPythonPackage, fetchFromGitHub, requests, mock, nose }:
buildPythonPackage rec {
pname = "tunigo";
version = "1.0.0";
propagatedBuildInputs = [ requests ];
src = fetchFromGitHub {
owner = "trygveaa";
repo = "python-tunigo";
rev = "v${version}";
sha256 = "07q9girrjjffzkn8xj4l3ynf9m4psi809zf6f81f54jdb330p2fs";
};
checkInputs = [ mock nose ];
meta = with lib; {
description = "Python API for the browse feature of Spotify";
homepage = https://github.com/trygveaa/python-tunigo;
license = licenses.asl20;
};
}

View File

@ -18299,26 +18299,7 @@ EOF
propagatedBuildInputs = with self; [ requests webob ];
};
tunigo = buildPythonPackage rec {
name = "tunigo-${version}";
version = "1.0.0";
propagatedBuildInputs = with self; [ requests ];
src = pkgs.fetchFromGitHub {
owner = "trygveaa";
repo = "python-tunigo";
rev = "v${version}";
sha256 = "07q9girrjjffzkn8xj4l3ynf9m4psi809zf6f81f54jdb330p2fs";
};
buildInputs = with self; [ mock nose ];
meta = {
description = "Python API for the browse feature of Spotify";
homepage = https://github.com/trygveaa/python-tunigo;
license = licenses.asl20;
};
};
tunigo = callPackage ../development/python-modules/tunigo { };
screenkey = buildPythonPackage rec {
version = "0.2-b3634a2c6eb6d6936c3b2c1ef5078bf3a84c40c6";