depot/third_party/nixpkgs/pkgs/tools/games/ps3-disc-dumper/default.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

43 lines
980 B
Nix

{ lib
, buildDotnetModule
, fetchFromGitHub
, zlib
, openssl
}:
buildDotnetModule rec {
pname = "ps3-disc-dumper";
version = "3.2.3";
src = fetchFromGitHub {
owner = "13xforever";
repo = "ps3-disc-dumper";
rev = "v${version}";
sha256 = "sha256-m3TS9H6cbEAHn6PvYQDMzdKdnOnDSM4lxCTdHBCXLV4=";
};
selfContainedBuild = true;
projectFile = "UI.Console/UI.Console.csproj";
nugetDeps = ./deps.nix;
preConfigureNuGet = ''
# This should really be in the upstream nuget.config
dotnet nuget add source https://api.nuget.org/v3/index.json \
-n nuget.org --configfile nuget.config
'';
runtimeDeps = [
zlib
openssl
];
meta = with lib; {
homepage = "https://github.com/13xforever/ps3-disc-dumper";
description = "Handy utility to make decrypted PS3 disc dumps";
license = licenses.mit;
maintainers = with maintainers; [ evanjs ];
platforms = [ "x86_64-linux" ];
mainProgram = "ps3-disc-dumper";
};
}