12 rustPlatform.buildRustPackage rec {
16 src = fetchFromGitHub {
20 hash = "sha256-abqVjjV1RK9F8xo23Ir8jqoo9jqSe/Kra1IJNHadqXs=";
23 cargoHash = "sha256-D/a+aEK4Usa4HFOKCxCIy9bHabH5tmBdFRRRQ7aKs/I=";
32 ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
33 darwin.apple_sdk.frameworks.SystemConfiguration
37 ZSTD_SYS_USE_PKG_CONFIG = true;
41 inherit (nixosTests) wastebin;
45 description = "Wastebin is a pastebin";
46 homepage = "https://github.com/matze/wastebin";
47 changelog = "https://github.com/matze/wastebin/blob/${src.rev}/CHANGELOG.md";
48 license = licenses.mit;
49 maintainers = with maintainers; [ pinpox matthiasbeyer ];
50 mainProgram = "wastebin";