Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 42 lines 854 B view raw
1{ 2 lib, 3 rustPlatform, 4 fetchFromGitLab, 5 pkg-config, 6 fontconfig, 7 libxkbcommon, 8 wayland, 9}: 10 11rustPlatform.buildRustPackage { 12 pname = "salut"; 13 version = "unstable-2022-12-17"; 14 15 src = fetchFromGitLab { 16 owner = "snakedye"; 17 repo = "salut"; 18 rev = "aa57c4d190812908a9c32cd49cff14390c6dfdcb"; 19 hash = "sha256-W0lhhImSXtYJDeMbxyEioYu/Bh7ZclwR1/5DzNbxM8o="; 20 }; 21 22 cargoHash = "sha256-xqj9USqVG7g2zT2P3VxDVt8fFDtyUnZOdT6gYZh4cRI="; 23 24 nativeBuildInputs = [ 25 pkg-config 26 ]; 27 28 buildInputs = [ 29 fontconfig 30 libxkbcommon 31 wayland 32 ]; 33 34 meta = { 35 description = "Sleek notification daemon for Wayland"; 36 homepage = "https://gitlab.com/snakedye/salut/-/wikis/Home"; 37 license = lib.licenses.mpl20; 38 maintainers = with lib.maintainers; [ ]; 39 mainProgram = "salut"; 40 platforms = lib.platforms.linux; 41 }; 42}