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

26 lines
633 B
Nix
Raw Normal View History

2017-06-28 10:42:50 +01:00
{ stdenv, buildPythonApplication, fetchFromGitHub, requests, dmenu }:
buildPythonApplication rec {
name = "dmensamenu-${version}";
version = "1.0.0";
propagatedBuildInputs = [
requests
dmenu
];
src = fetchFromGitHub {
owner = "dotlambda";
repo = "dmensamenu";
rev = "v${version}";
sha256 = "05wbpmgjpm0ik9pcydj7r9w7i7bfpcij24bc4jljdwl9ilw62ixp";
};
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 ];
};
}