mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-03 13:30:36 +00:00
pythonPackages.tunigo: move expression
(cherry picked from commit cf5b06f9ce)
This commit is contained in:
23
pkgs/development/python-modules/tunigo/default.nix
Normal file
23
pkgs/development/python-modules/tunigo/default.nix
Normal 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;
|
||||
};
|
||||
}
|
||||
@@ -18241,26 +18241,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 { };
|
||||
|
||||
tarman = buildPythonPackage rec {
|
||||
version = "0.1.3";
|
||||
|
||||
Reference in New Issue
Block a user