evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / by-name / cu / curseradio / package.nix
blob0faa58b9988435f6a2b829977dc2f8416efa92f2
1 { lib, fetchFromGitHub, substituteAll, python3Packages, mpv }:
3 python3Packages.buildPythonApplication rec {
4   version = "0.2";
5   pname = "curseradio";
7   src = fetchFromGitHub {
8     owner = "chronitis";
9     repo = pname;
10     rev = "1bd4bd0faeec675e0647bac9a100b526cba19f8d";
11     sha256 = "11bf0jnj8h2fxhpdp498189r4s6b47vy4wripv0z4nx7lxajl88i";
12   };
14   propagatedBuildInputs = with python3Packages; [
15     requests
16     lxml
17     pyxdg
18   ];
20   patches = [
21     (substituteAll {
22       src = ./mpv.patch;
23       inherit mpv;
24     })
25   ];
27   # No tests
28   doCheck = false;
30   meta = with lib; {
31     description = "Command line radio player";
32     mainProgram = "curseradio";
33     homepage = "https://github.com/chronitis/curseradio";
34     license = licenses.mit;
35     maintainers = [ maintainers.eyjhb ];
36   };