diff options
author | lewo <lewo@abesis.fr> | 2018-02-20 07:57:51 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-20 07:57:51 +0100 |
commit | 507a3a9a39d772c51a76ce4598042d57f45e2ed0 (patch) | |
tree | 3cd116b6dbaa2b110a85c99ad445a8a523a97b28 | |
parent | a0ca83f37e93539bb6eedf8b44c219b08ee0ab08 (diff) | |
parent | 09836bcf0d0b7ef16b695d0ff96dc5f406866e14 (diff) |
Merge pull request #35131 from AndersonTorres/upload/ecm-tools
ecm-tools: init at 1.0.3
-rw-r--r-- | pkgs/tools/cd-dvd/ecm-tools/default.nix | 29 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
2 files changed, 31 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; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 78444eb34d1e..58e476dd0682 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1984,6 +1984,8 @@ with pkgs; # customConfig = builtins.readFile ./dvtm.config.h; }; + ecmtools = callPackage ../tools/cd-dvd/ecm-tools { }; + e2tools = callPackage ../tools/filesystems/e2tools { }; e2fsprogs = callPackage ../tools/filesystems/e2fsprogs { }; |