nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5}:
6
7stdenv.mkDerivation {
8 pname = "cue2pops";
9 version = "0-unstable-2023-01-15";
10
11 src = fetchFromGitHub {
12 owner = "makefu";
13 repo = "cue2pops-linux";
14 rev = "3f2be6126bd50dfe6b998bc8926f88ce9139c19a";
15 hash = "sha256-7rgYvqeH8ZDI8Vc5vnjIhe3Ke0TE1q/iFHEqucanhUM=";
16 };
17
18 dontConfigure = true;
19
20 installPhase = ''
21 runHook preInstall
22 install --directory --mode=755 $out/bin
23 install --mode=755 cue2pops $out/bin
24 runHook postInstall
25 '';
26
27 meta = {
28 description = "Convert CUE to ISO suitable to POPStarter";
29 homepage = "https://github.com/makefu/cue2pops-linux";
30 # Upstream license is unclear.
31 # <https://github.com/ErikAndren/cue2pops-mac/issues/2#issuecomment-673983298>
32 license = lib.licenses.unfree;
33 maintainers = [ ];
34 platforms = lib.platforms.all;
35 mainProgram = "cue2pops";
36 };
37}