Merge pull request #26926 from dotlambda/master
dmensamenu: init at 1.0.0
This commit is contained in:
commit
7642a76c1a
3 changed files with 30 additions and 0 deletions
|
@ -147,6 +147,7 @@
|
|||
dmjio = "David Johnson <djohnson.m@gmail.com>";
|
||||
dochang = "Desmond O. Chang <dochang@gmail.com>";
|
||||
domenkozar = "Domen Kozar <domen@dev.si>";
|
||||
dotlambda = "Robert Schütz <rschuetz17@gmail.com>";
|
||||
doublec = "Chris Double <chris.double@double.co.nz>";
|
||||
dpaetzel = "David Pätzel <david.a.paetzel@gmail.com>";
|
||||
drets = "Dmytro Rets <dmitryrets@gmail.com>";
|
||||
|
|
25
pkgs/applications/misc/dmensamenu/default.nix
Normal file
25
pkgs/applications/misc/dmensamenu/default.nix
Normal file
|
@ -0,0 +1,25 @@
|
|||
{ 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 ];
|
||||
};
|
||||
}
|
|
@ -13574,6 +13574,10 @@ with pkgs;
|
|||
|
||||
dmenu2 = callPackage ../applications/misc/dmenu2 { };
|
||||
|
||||
dmensamenu = callPackage ../applications/misc/dmensamenu {
|
||||
inherit (python3Packages) buildPythonApplication requests;
|
||||
};
|
||||
|
||||
dmtx = dmtx-utils;
|
||||
|
||||
dmtx-utils = callPackage (callPackage ../tools/graphics/dmtx-utils) {
|
||||
|
|
Loading…
Reference in a new issue