3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/cd-dvd/cdi2iso/default.nix

29 lines
757 B
Nix
Raw Normal View History

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