2021-01-15 22:18:51 +00:00
|
|
|
{lib, stdenv, fetchurl}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "nrg2iso";
|
2021-12-19 01:06:50 +00:00
|
|
|
version = "0.4.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://gregory.kokanosky.free.fr/v4/linux/${pname}-${version}.tar.gz";
|
2021-12-19 01:06:50 +00:00
|
|
|
sha256 = "sha256-O+NqQWdY/BkQRztJqNrfKiqj1R8ZdhlzNrwXS8HjBuU=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2023-04-29 16:46:19 +00:00
|
|
|
patches = [ ./c-compiler.patch ];
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
installPhase = ''
|
|
|
|
mkdir -pv $out/bin/
|
|
|
|
cp -v nrg2iso $out/bin/nrg2iso
|
|
|
|
'';
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "A linux utils for converting CD (or DVD) image generated by Nero Burning Rom to ISO format";
|
|
|
|
homepage = "http://gregory.kokanosky.free.fr/v4/linux/nrg2iso.en.html";
|
|
|
|
license = licenses.gpl2;
|
2023-04-29 16:46:19 +00:00
|
|
|
platforms = platforms.all;
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "nrg2iso";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|