nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at devShellTools-shell 34 lines 748 B view raw
1{ 2 lib, 3 rustPlatform, 4 fetchFromGitHub, 5 nix-update-script, 6}: 7 8rustPlatform.buildRustPackage rec { 9 pname = "lazymc"; 10 version = "0.2.11"; 11 12 src = fetchFromGitHub { 13 owner = "timvisee"; 14 repo = "lazymc"; 15 rev = "v${version}"; 16 hash = "sha256-uMjM3w78qWnB/sNXRcxl30KJRm0I3BPEOr5IRU8FI0s="; 17 }; 18 19 cargoHash = "sha256-jqqqWZKO1HgwxLBGMz9rlFQ5xmZTycfUZjqHf+uVTBQ="; 20 21 passthru.updateScript = nix-update-script { }; 22 23 meta = with lib; { 24 description = "Remote wake-up daemon for minecraft servers"; 25 homepage = "https://github.com/timvisee/lazymc"; 26 license = licenses.gpl3Only; 27 maintainers = with maintainers; [ 28 h7x4 29 dandellion 30 ]; 31 platforms = platforms.unix; 32 mainProgram = "lazymc"; 33 }; 34}