From d532615dfc76a69fe9c0df67bb45eec4d7a6be65 Mon Sep 17 00:00:00 2001 From: AndersonTorres Date: Sun, 18 Feb 2018 18:00:28 -0300 Subject: [PATCH] cue2pops: init at git-2018-01-04 --- pkgs/tools/cd-dvd/cue2pops/default.nix | 28 ++++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 30 insertions(+) create mode 100644 pkgs/tools/cd-dvd/cue2pops/default.nix diff --git a/pkgs/tools/cd-dvd/cue2pops/default.nix b/pkgs/tools/cd-dvd/cue2pops/default.nix new file mode 100644 index 000000000000..a83dbf875775 --- /dev/null +++ b/pkgs/tools/cd-dvd/cue2pops/default.nix @@ -0,0 +1,28 @@ +{ 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; + + 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 925cd63a714a..0e3d7d06c1b0 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -886,6 +886,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;