cargo-psp: init at 0.2.8 (#406129)

authored by Aleksana and committed by GitHub 84b6f246 595fc233

+41
+41
pkgs/by-name/ca/cargo-psp/package.nix
···
··· 1 + { 2 + lib, 3 + fetchCrate, 4 + rustPlatform, 5 + makeBinaryWrapper, 6 + nix-update-script, 7 + }: 8 + rustPlatform.buildRustPackage (finalAttrs: { 9 + pname = "cargo-psp"; 10 + version = "0.2.8"; 11 + 12 + src = fetchCrate { 13 + inherit (finalAttrs) pname version; 14 + hash = "sha256-Jud89nYJq4xZn2HudmSA82hOYwItrrTblhIfeqqIqm8="; 15 + }; 16 + 17 + cargoHash = "sha256-oL2KbhpqvPhtN7hpAuR6a383pPKlW1XuXkoew0ZvPUo="; 18 + 19 + nativeBuildInputs = [ 20 + makeBinaryWrapper 21 + ]; 22 + 23 + postInstall = '' 24 + wrapProgram "$out/bin/cargo-psp" \ 25 + --prefix PATH : "$out/bin" 26 + ''; 27 + 28 + passthru.updateScript = nix-update-script { }; 29 + 30 + meta = { 31 + description = "Cargo build wrapper for creating Sony PSP executables"; 32 + homepage = "https://github.com/overdrivenpotato/rust-psp/tree/master/cargo-psp"; 33 + changelog = "https://github.com/overdrivenpotato/rust-psp/releases/tag/v${finalAttrs.version}"; 34 + license = lib.licenses.mit; 35 + mainProgram = "cargo-psp"; 36 + platforms = with lib.platforms; linux ++ darwin; 37 + maintainers = with lib.maintainers; [ 38 + griffi-gh 39 + ]; 40 + }; 41 + })