about summary refs log tree commit diff
path: root/pkgs/applications/misc/dmensamenu/default.nix
blob: 924b95d8b6a9a6b6e53ffa28645ff0564a523ac2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ stdenv, buildPythonApplication, fetchFromGitHub, requests, dmenu }:

buildPythonApplication rec {
  name = "dmensamenu-${version}";
  version = "1.1.1";

  propagatedBuildInputs = [
    requests
    dmenu
  ];

  src = fetchFromGitHub {
    owner = "dotlambda";
    repo = "dmensamenu";
    rev = version;
    sha256 = "0gc23k2zbv9zfc0v27y4spiva8cizxavpzd5pch5qbawh2lak6a3";
  };

  meta = with stdenv.lib; {
    homepage = https://github.com/dotlambda/dmensamenu;
    description = "Print German canteen menus using dmenu and OpenMensa";
    license = licenses.mit;
    maintainers = with maintainers; [ dotlambda ];
  };
}