12 rustPlatform.buildRustPackage rec {
16 src = fetchFromGitHub {
20 sha256 = "sha256-3+irejeDltf7x+gyJxWBgvPgpQx5uU3DewU23Z4Nr/A=";
23 cargoHash = "sha256-sAFsG+EPSmvPDFR9R0fZ5f+y/PXVpTJlMzL61vwf4SY=";
30 buildInputs = [ bzip2 ] ++ lib.optional stdenv.hostPlatform.isDarwin Security;
33 installManPage artifacts/pactorio.1
34 installShellCompletion artifacts/pactorio.{bash,fish} --zsh artifacts/_pactorio
37 GEN_ARTIFACTS = "artifacts";
40 description = "Mod packager for factorio";
41 mainProgram = "pactorio";
42 homepage = "https://github.com/figsoda/pactorio";
43 changelog = "https://github.com/figsoda/pactorio/blob/v${version}/CHANGELOG.md";
44 license = licenses.mpl20;
45 maintainers = with maintainers; [ figsoda ];