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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

36 lines
792 B
Nix
Raw Normal View History

{ lib, buildPythonApplication, fetchFromGitHub, substituteAll, requests, dmenu }:
2017-06-28 09:42:50 +00:00
buildPythonApplication rec {
2019-01-27 13:23:02 +00:00
pname = "dmensamenu";
2021-03-10 15:51:52 +00:00
version = "1.2.2";
2017-06-28 09:42:50 +00:00
src = fetchFromGitHub {
owner = "dotlambda";
repo = "dmensamenu";
2017-12-07 22:06:43 +00:00
rev = version;
2021-03-10 15:51:52 +00:00
sha256 = "1ck1i1k40bli6m3n49ff6987hglby9fn4vfr28jpkm3h70s2km3n";
2017-06-28 09:42:50 +00:00
};
2019-01-27 13:23:02 +00:00
patches = [
(substituteAll {
src = ./dmenu-path.patch;
inherit dmenu;
})
];
propagatedBuildInputs = [
requests
];
# No tests implemented
doCheck = false;
meta = with lib; {
homepage = "https://github.com/dotlambda/dmensamenu";
2017-06-28 09:42:50 +00:00
description = "Print German canteen menus using dmenu and OpenMensa";
mainProgram = "dmensamenu";
2017-06-28 09:42:50 +00:00
license = licenses.mit;
maintainers = with maintainers; [ dotlambda ];
};
}