Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / tunigo / default.nix
blob600228b0d66f739df66491bea8f24c85829fc4a8
1 { lib, buildPythonPackage, fetchFromGitHub, requests, mock, responses, pytest }:
3 buildPythonPackage rec {
4   pname = "tunigo";
5   version = "1.0.0";
6   format = "setuptools";
8   propagatedBuildInputs = [ requests ];
10   src = fetchFromGitHub {
11     owner = "trygveaa";
12     repo = "python-tunigo";
13     rev = "v${version}";
14     sha256 = "07q9girrjjffzkn8xj4l3ynf9m4psi809zf6f81f54jdb330p2fs";
15   };
17   nativeCheckInputs = [ mock responses pytest ];
19   checkPhase = ''
20     py.test
21   '';
23   meta = with lib; {
24     description = "Python API for the browse feature of Spotify";
25     homepage = "https://github.com/trygveaa/python-tunigo";
26     license = licenses.asl20;
27   };