lsd2dsl: 0.4.1 -> 0.5.1
This commit is contained in:
parent
fd162292cf
commit
07655cd724
@ -1,26 +1,29 @@
|
||||
{ mkDerivation, lib, fetchFromGitHub, cmake
|
||||
, boost, libvorbis, libsndfile, minizip, gtest }:
|
||||
{ stdenv, mkDerivation, lib, fetchFromGitHub, cmake
|
||||
, boost, libvorbis, libsndfile, minizip, gtest, qtwebkit }:
|
||||
|
||||
mkDerivation rec {
|
||||
pname = "lsd2dsl";
|
||||
version = "0.4.1";
|
||||
version = "0.5.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "nongeneric";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "15xjp5xxvl0qc4zp553n7djrbvdp63sfjw406idgxqinfmkqkqdr";
|
||||
sha256 = "100qd9i0x6r0nkw1ic2p0xjr16jlhinxkn1x7i98s4xmw4wyb8n8";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
buildInputs = [ boost libvorbis libsndfile minizip gtest ];
|
||||
buildInputs = [ boost libvorbis libsndfile minizip gtest qtwebkit ];
|
||||
|
||||
NIX_CFLAGS_COMPILE = "-Wno-error=unused-result";
|
||||
NIX_CFLAGS_COMPILE = "-Wno-error=unused-result -Wno-error=missing-braces";
|
||||
|
||||
installPhase = ''
|
||||
install -Dm755 lsd2dsl $out/bin/lsd2dsl
|
||||
install -m755 qtgui/lsd2dsl-qtgui $out/bin/lsd2dsl-qtgui
|
||||
install -Dm755 console/lsd2dsl $out/bin/lsd2dsl
|
||||
install -m755 gui/lsd2dsl-qtgui $out/bin/lsd2dsl-qtgui
|
||||
'' + lib.optionalString stdenv.isDarwin ''
|
||||
wrapQtApp $out/bin/lsd2dsl
|
||||
wrapQtApp $out/bin/lsd2dsl-qtgui
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
@ -31,6 +34,6 @@ mkDerivation rec {
|
||||
'';
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ sikmir ];
|
||||
platforms = with platforms; linux;
|
||||
platforms = with platforms; linux ++ darwin;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user