11 rustPlatform.buildRustPackage rec {
15 src = fetchFromGitHub {
19 sha256 = "sha256-3+irejeDltf7x+gyJxWBgvPgpQx5uU3DewU23Z4Nr/A=";
22 cargoHash = "sha256-sAFsG+EPSmvPDFR9R0fZ5f+y/PXVpTJlMzL61vwf4SY=";
24 nativeBuildInputs = [ installShellFiles pkg-config ];
26 buildInputs = [ bzip2 ] ++ lib.optional stdenv.hostPlatform.isDarwin Security;
29 installManPage artifacts/pactorio.1
30 installShellCompletion artifacts/pactorio.{bash,fish} --zsh artifacts/_pactorio
33 GEN_ARTIFACTS = "artifacts";
36 description = "Mod packager for factorio";
37 mainProgram = "pactorio";
38 homepage = "https://github.com/figsoda/pactorio";
39 changelog = "https://github.com/figsoda/pactorio/blob/v${version}/CHANGELOG.md";
40 license = licenses.mpl20;
41 maintainers = with maintainers; [ figsoda ];