cdi2iso: expand platforms to all and refactor
This commit is contained in:
parent
2dcf1351e9
commit
3a05aac836
1 changed files with 8 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
|||
{lib, stdenv, fetchurl}:
|
||||
{ lib, stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "cdi2iso";
|
||||
|
@ -9,9 +9,13 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "0fj2fxhpr26z649m0ph71378c41ljflpyk89g87x8r1mc4rbq3kh";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace Makefile --replace "gcc" "${stdenv.cc.targetPrefix}cc"
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin/
|
||||
cp cdi2iso $out/bin/
|
||||
mkdir -p $out/bin
|
||||
cp cdi2iso $out/bin
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
|
@ -19,6 +23,6 @@ stdenv.mkDerivation rec {
|
|||
homepage = "https://sourceforge.net/projects/cdi2iso.berlios";
|
||||
license = licenses.gpl2;
|
||||
maintainers = with maintainers; [ hrdinka ];
|
||||
platforms = platforms.linux;
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue