Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 37 lines 825 B view raw
1{ 2 lib, 3 rustPlatform, 4 fetchFromGitHub, 5 pkg-config, 6 libxkbcommon, 7 nix-update-script, 8}: 9 10rustPlatform.buildRustPackage rec { 11 pname = "rwpspread"; 12 version = "0.4.0"; 13 14 src = fetchFromGitHub { 15 owner = "0xk1f0"; 16 repo = "rwpspread"; 17 rev = "v${version}"; 18 hash = "sha256-1i1675OiyleCXcc/uN95kyY7m5ht/rS3UKY7EmuSsrk="; 19 }; 20 21 cargoHash = "sha256-NuOOg9aIa0JW+urxDVaPn66bS4H7+0tbKYNVDUV8D80="; 22 23 nativeBuildInputs = [ pkg-config ]; 24 25 buildInputs = [ libxkbcommon ]; 26 27 passthru.updateScript = nix-update-script { }; 28 29 meta = { 30 description = "Multi-Monitor Wallpaper Utility"; 31 homepage = "https://github.com/0xk1f0/rwpspread"; 32 license = lib.licenses.gpl3Only; 33 maintainers = with lib.maintainers; [ fsnkty ]; 34 platforms = lib.platforms.linux; 35 mainProgram = "rwpspread"; 36 }; 37}