2017-06-28 09:42:50 +00:00
|
|
|
{ stdenv, buildPythonApplication, fetchFromGitHub, requests, dmenu }:
|
|
|
|
|
|
|
|
buildPythonApplication rec {
|
|
|
|
name = "dmensamenu-${version}";
|
2017-12-20 11:00:58 +00:00
|
|
|
version = "1.1.1";
|
2017-06-28 09:42:50 +00:00
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
requests
|
|
|
|
dmenu
|
|
|
|
];
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "dotlambda";
|
|
|
|
repo = "dmensamenu";
|
2017-12-07 22:06:43 +00:00
|
|
|
rev = version;
|
2017-12-20 11:00:58 +00:00
|
|
|
sha256 = "0gc23k2zbv9zfc0v27y4spiva8cizxavpzd5pch5qbawh2lak6a3";
|
2017-06-28 09:42:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|