diff --git a/pkgs/tools/cd-dvd/cue2pops/default.nix b/pkgs/tools/cd-dvd/cue2pops/default.nix new file mode 100644 index 000000000000..6523c8a0cf3f --- /dev/null +++ b/pkgs/tools/cd-dvd/cue2pops/default.nix @@ -0,0 +1,30 @@ +{ stdenv, fetchFromGitHub }: + +with stdenv.lib; +stdenv.mkDerivation rec { + name = "cue2pops-${version}"; + version = "git-2018-01-04"; + + src = fetchFromGitHub { + owner = "makefu"; + repo = "cue2pops-linux"; + rev = "541863adf23fdecde92eba5899f8d58586ca4551"; + sha256 = "05w84726g3k33rz0wwb9v77g7xh4cnhy9sxlpilf775nli9bynrk"; + }; + + dontConfigure = true; + + makeFlags = ["CC=cc"]; + + installPhase = '' + install --directory --mode=755 $out/bin + install --mode=755 cue2pops $out/bin + ''; + + meta = { + description = "Convert CUE to ISO suitable to POPStarter"; + homepage = https://github.com/makefu/cue2pops-linux; + maintainers = with maintainers; [ AndersonTorres ]; + platforms = platforms.all; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 5a0015a82ba0..898647823ce4 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -891,6 +891,8 @@ with pkgs; inherit (darwin.apple_sdk.frameworks) Cocoa; }; + cue2pops = callPackage ../tools/cd-dvd/cue2pops { }; + cabal2nix = haskell.lib.overrideCabal haskellPackages.cabal2nix (drv: { isLibrary = false; enableSharedExecutables = false;