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