mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
Merge pull request #35131 from AndersonTorres/upload/ecm-tools
ecm-tools: init at 1.0.3
This commit is contained in:
commit
507a3a9a39
2 changed files with 31 additions and 0 deletions
29
pkgs/tools/cd-dvd/ecm-tools/default.nix
Normal file
29
pkgs/tools/cd-dvd/ecm-tools/default.nix
Normal file
|
@ -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;
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue