nixpkgs/pkgs/tools/cd-dvd/cdi2iso/default.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
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/'
2024-06-09 23:07:45 +02:00

30 lines
788 B
Nix

{ lib, stdenv, fetchurl }:
stdenv.mkDerivation rec {
pname = "cdi2iso";
version = "0.1";
src = fetchurl {
url = "mirror://sourceforge/cdi2iso.berlios/${pname}-${version}-src.tar.gz";
sha256 = "0fj2fxhpr26z649m0ph71378c41ljflpyk89g87x8r1mc4rbq3kh";
};
postPatch = ''
substituteInPlace Makefile --replace "gcc" "${stdenv.cc.targetPrefix}cc"
'';
installPhase = ''
mkdir -p $out/bin
cp cdi2iso $out/bin
'';
meta = with lib; {
description = "Very simple utility for converting DiscJuggler images to the standard ISO-9660 format";
homepage = "https://sourceforge.net/projects/cdi2iso.berlios";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ hrdinka ];
platforms = platforms.all;
mainProgram = "cdi2iso";
};
}