mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-07 13:33:12 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
27 lines
700 B
Nix
27 lines
700 B
Nix
{lib, stdenv, fetchurl}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "nrg2iso";
|
|
version = "0.4.1";
|
|
|
|
src = fetchurl {
|
|
url = "http://gregory.kokanosky.free.fr/v4/linux/${pname}-${version}.tar.gz";
|
|
sha256 = "sha256-O+NqQWdY/BkQRztJqNrfKiqj1R8ZdhlzNrwXS8HjBuU=";
|
|
};
|
|
|
|
patches = [ ./c-compiler.patch ];
|
|
|
|
installPhase = ''
|
|
mkdir -pv $out/bin/
|
|
cp -v nrg2iso $out/bin/nrg2iso
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "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.gpl2Plus;
|
|
platforms = platforms.all;
|
|
mainProgram = "nrg2iso";
|
|
};
|
|
}
|