mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
46 lines
1.0 KiB
Nix
46 lines
1.0 KiB
Nix
{ lib
|
|
, buildDotnetModule
|
|
, fetchFromGitHub
|
|
, zlib
|
|
, openssl
|
|
, dotnetCorePackages
|
|
}:
|
|
|
|
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;
|
|
|
|
dotnet-sdk = dotnetCorePackages.sdk_6_0;
|
|
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";
|
|
};
|
|
}
|