2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub }:
|
2018-02-18 17:21:11 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "ecm-tools";
|
2018-02-18 17:21:11 +00:00
|
|
|
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)
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-02-18 17:21:11 +00:00
|
|
|
description = "A utility to uncompress ECM files to BIN CD format";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/alucryd/ecm-tools";
|
2018-02-18 17:21:11 +00:00
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = with maintainers; [ AndersonTorres ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|