-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathflake.nix
63 lines (56 loc) · 2.6 KB
/
flake.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
{
description = "A few game preservation related Nix packages.";
inputs = {
# The nixos-unstable branch of the NixOS/nixpkgs repository on GitHub.
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
};
outputs = { self, nixpkgs }:
let
system = "x86_64-linux";
pkgs = import nixpkgs { inherit system; };
in
{
packages.x86_64-linux = {
# DiscImageCreator
discimagecreator = self.packages.x86_64-linux.dic-release-full;
dic-release = pkgs.callPackage discimagecreator/package.nix {};
dic-release-full = pkgs.symlinkJoin {
name = "DiscImageCreator-Full";
paths = [ self.packages.x86_64-linux.dic-release self.packages.x86_64-linux.dic-eccedc self.packages.x86_64-linux.dic-unscrambler self.packages.x86_64-linux.dic-dvdauth ];
meta = {
description = "DiscImageCreator + EccEdc + Unscrambler + DVDAuth";
homepage = "https://github.com/saramibreak/DiscImageCreator";
};
};
dic-git = pkgs.callPackage discimagecreator/git.nix {};
dic-git-full = pkgs.symlinkJoin {
name = "DiscImageCreator-Full";
paths = [ self.packages.x86_64-linux.dic-git self.packages.x86_64-linux.dic-eccedc self.packages.x86_64-linux.dic-unscrambler self.packages.x86_64-linux.dic-dvdauth ];
meta = {
description = "DiscImageCreator + EccEdc + Unscrambler + DVDAuth";
homepage = "https://github.com/saramibreak/DiscImageCreator";
};
};
dic-eccedc = pkgs.callPackage discimagecreator/eccedc.nix {};
dic-eccedc-git = pkgs.callPackage discimagecreator/eccedc-git.nix {};
dic-unscrambler = pkgs.callPackage discimagecreator/unscrambler.nix {};
dic-dvdauth = pkgs.callPackage discimagecreator/dvdauth.nix {};
# NDecrypt
ndecrypt = self.packages.x86_64-linux.ndecrypt-release;
ndecrypt-release = pkgs.callPackage ndecrypt/release.nix {};
ndecrypt-git = pkgs.callPackage ndecrypt/git.nix {};
# Redumper
redumper = self.packages.x86_64-linux.redumper-release;
redumper-release = pkgs.callPackage redumper/release.nix {};
redumper-git = pkgs.callPackage redumper/package.nix {};
# SabreTools
sabretools = self.packages.x86_64-linux.sabretools-release;
sabretools-release = pkgs.callPackage sabretools/package.nix {};
sabretools-git = pkgs.callPackage sabretools/git.nix {};
# UnshieldSharp
unshieldsharp = self.packages.x86_64-linux.unshieldsharp-release;
unshieldsharp-release = pkgs.callPackage unshieldsharp/release.nix {};
unshieldsharp-git = pkgs.callPackage unshieldsharp/git.nix {};
};
};
}