nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at devShellTools-shell 42 lines 813 B view raw
1{ 2 lib, 3 buildPythonApplication, 4 fetchFromGitHub, 5 replaceVars, 6 requests, 7 dmenu, 8}: 9 10buildPythonApplication rec { 11 pname = "dmensamenu"; 12 version = "1.2.2"; 13 format = "setuptools"; 14 15 src = fetchFromGitHub { 16 owner = "dotlambda"; 17 repo = "dmensamenu"; 18 rev = version; 19 sha256 = "1ck1i1k40bli6m3n49ff6987hglby9fn4vfr28jpkm3h70s2km3n"; 20 }; 21 22 patches = [ 23 (replaceVars ./dmenu-path.patch { 24 inherit dmenu; 25 }) 26 ]; 27 28 propagatedBuildInputs = [ 29 requests 30 ]; 31 32 # No tests implemented 33 doCheck = false; 34 35 meta = with lib; { 36 homepage = "https://github.com/dotlambda/dmensamenu"; 37 description = "Print German canteen menus using dmenu and OpenMensa"; 38 mainProgram = "dmensamenu"; 39 license = licenses.mit; 40 maintainers = with maintainers; [ dotlambda ]; 41 }; 42}