biome: 1.9.2 -> 1.9.3
[NixPkgs.git] / pkgs / applications / misc / dmensamenu / default.nix
blob75c9302e0791681bc9728cb3f3103ccf070f0e84
1 { lib, buildPythonApplication, fetchFromGitHub, substituteAll, requests, dmenu }:
3 buildPythonApplication rec {
4   pname = "dmensamenu";
5   version = "1.2.2";
7   src = fetchFromGitHub {
8     owner = "dotlambda";
9     repo = "dmensamenu";
10     rev = version;
11     sha256 = "1ck1i1k40bli6m3n49ff6987hglby9fn4vfr28jpkm3h70s2km3n";
12   };
14   patches = [
15     (substituteAll {
16       src = ./dmenu-path.patch;
17       inherit dmenu;
18     })
19   ];
21   propagatedBuildInputs = [
22     requests
23   ];
25   # No tests implemented
26   doCheck = false;
28   meta = with lib; {
29     homepage = "https://github.com/dotlambda/dmensamenu";
30     description = "Print German canteen menus using dmenu and OpenMensa";
31     mainProgram = "dmensamenu";
32     license = licenses.mit;
33     maintainers = with maintainers; [ dotlambda ];
34   };