nixpkgs/pkgs/applications/misc/dmensamenu/default.nix

26 lines
627 B
Nix
Raw Normal View History

2017-06-28 11:42:50 +02:00
{ stdenv, buildPythonApplication, fetchFromGitHub, requests, dmenu }:
buildPythonApplication rec {
name = "dmensamenu-${version}";
2017-12-07 23:06:43 +01:00
version = "1.1.0";
2017-06-28 11:42:50 +02:00
propagatedBuildInputs = [
requests
dmenu
];
src = fetchFromGitHub {
owner = "dotlambda";
repo = "dmensamenu";
2017-12-07 23:06:43 +01:00
rev = version;
sha256 = "126gidid53blrpfq1vd85iim338qrk7n8r4nyhh2hvsi7cfaab1y";
2017-06-28 11:42:50 +02: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 ];
};
}