mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 01:20:40 +00:00
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
25 lines
658 B
Nix
25 lines
658 B
Nix
{stdenv, fetchurl}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "cdi2iso";
|
|
version = "0.1";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/cdi2iso.berlios/${pname}-${version}-src.tar.gz";
|
|
sha256 = "0fj2fxhpr26z649m0ph71378c41ljflpyk89g87x8r1mc4rbq3kh";
|
|
};
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/bin/
|
|
cp cdi2iso $out/bin/
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "A very simple utility for converting DiscJuggler images to the standard ISO-9660 format";
|
|
homepage = https://sourceforge.net/projects/cdi2iso.berlios;
|
|
license = licenses.gpl2;
|
|
maintainers = with maintainers; [ hrdinka ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|