sqlite_orm: 1.9 -> 1.9.1 (#379250)
[NixPkgs.git] / pkgs / by-name / ps / ps3-disc-dumper / package.nix
blob841a50f149973c35b8363b9437e19646afa31cf9
2   lib,
3   buildDotnetModule,
4   fetchFromGitHub,
5   zlib,
6   openssl,
7   dotnetCorePackages,
8 }:
10 buildDotnetModule rec {
11   pname = "ps3-disc-dumper";
12   version = "4.2.5";
14   src = fetchFromGitHub {
15     owner = "13xforever";
16     repo = "ps3-disc-dumper";
17     tag = "v${version}";
18     hash = "sha256-ax2Q1VodzktXSdZBvO1fys+xigk/jzbMWHxqoLIKE7w=";
19   };
21   dotnet-sdk = dotnetCorePackages.sdk_9_0;
22   dotnet-runtime = dotnetCorePackages.sdk_9_0;
23   dotnetFlags = [ "-p:TargetFramework=net9.0" ];
24   dotnetRestoreFlags = [ "-p:Configuration=${buildType}" ];
25   buildType = "Linux";
26   projectFile = "UI.Avalonia/UI.Avalonia.csproj";
27   nugetDeps = ./deps.json;
29   preConfigureNuGet = ''
30     # This should really be in the upstream nuget.config
31     dotnet nuget add source https://api.nuget.org/v3/index.json \
32       -n nuget.org --configfile nuget.config
33   '';
35   runtimeDeps = [
36     zlib
37     openssl
38   ];
40   passthru.updateScript = ./update.sh;
42   meta = {
43     description = "Handy utility to make decrypted PS3 disc dumps";
44     homepage = "https://github.com/13xforever/ps3-disc-dumper";
45     license = lib.licenses.mit;
46     mainProgram = "ps3-disc-dumper";
47     maintainers = with lib.maintainers; [
48       evanjs
49       gepbird
50     ];
51     platforms = [ "x86_64-linux" ];
52   };