summaryrefslogtreecommitdiffstats
path: root/pkgs/tools/cd-dvd
diff options
context:
space:
mode:
authorAndersonTorres <torres.anderson.85@gmail.com>2018-02-18 14:21:11 -0300
committerAndersonTorres <torres.anderson.85@gmail.com>2018-02-18 15:06:11 -0300
commit09836bcf0d0b7ef16b695d0ff96dc5f406866e14 (patch)
tree75adbbe0da68e87697823750f03efa62c7daf216 /pkgs/tools/cd-dvd
parentc64639b54caa6595f9ef62ed2548593b5fe5db66 (diff)
ecm-tools: init at 1.0.3
Diffstat (limited to 'pkgs/tools/cd-dvd')
-rw-r--r--pkgs/tools/cd-dvd/ecm-tools/default.nix29
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/tools/cd-dvd/ecm-tools/default.nix b/pkgs/tools/cd-dvd/ecm-tools/default.nix
new file mode 100644
index 000000000000..ec814d97bde0
--- /dev/null
+++ b/pkgs/tools/cd-dvd/ecm-tools/default.nix
@@ -0,0 +1,29 @@
+{ stdenv, fetchFromGitHub }:
+
+stdenv.mkDerivation rec {
+ name = "ecm-tools-${version}";
+ version = "1.0.3";
+
+ src = fetchFromGitHub {
+ owner = "alucryd";
+ repo = "ecm-tools";
+ rev = "v${version}";
+ sha256 = "1rvyx5gcy8lfklgj80szlz3312x45wzx0d9jsgwyvy8f6m4nnb0c";
+ };
+
+ dontConfigure = true;
+
+ installPhase = ''
+ install --directory --mode=755 $out/bin
+ install --mode=755 bin2ecm $out/bin
+ (cd $out/bin; ln -s bin2ecm ecm2bin)
+ '';
+
+ meta = with stdenv.lib; {
+ description = "A utility to uncompress ECM files to BIN CD format";
+ homepage = https://github.com/alucryd/ecm-tools;
+ license = licenses.gpl3;
+ maintainers = with maintainers; [ AndersonTorres ];
+ platforms = platforms.all;
+ };
+}