Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / tunigo / default.nix
blobc69f00f251b7ad6f6f075d5397bcddae1c381bbe
1 { lib, buildPythonPackage, fetchFromGitHub, requests, mock, responses, pytest }:
3 buildPythonPackage rec {
4   pname = "tunigo";
5   version = "1.0.0";
7   propagatedBuildInputs = [ requests ];
9   src = fetchFromGitHub {
10     owner = "trygveaa";
11     repo = "python-tunigo";
12     rev = "v${version}";
13     sha256 = "07q9girrjjffzkn8xj4l3ynf9m4psi809zf6f81f54jdb330p2fs";
14   };
16   nativeCheckInputs = [ mock responses pytest ];
18   checkPhase = ''
19     py.test
20   '';
22   meta = with lib; {
23     description = "Python API for the browse feature of Spotify";
24     homepage = "https://github.com/trygveaa/python-tunigo";
25     license = licenses.asl20;
26   };