Skip to content

Commit

Permalink
pythonPackages.tunigo: move expression
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Schütz committed Feb 27, 2018
1 parent 34c87c1 commit cf5b06f
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 20 deletions.
23 changes: 23 additions & 0 deletions pkgs/development/python-modules/tunigo/default.nix
Original file line number Diff line number Diff line change
@@ -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;
};
}
21 changes: 1 addition & 20 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit cf5b06f

Please sign in to comment.