fmit: 1.0.6 -> 1.0.7

This commit is contained in:
Tobias Geerinckx-Rice 2015-08-12 11:40:32 +02:00
parent 3059362c74
commit 2f62815520

View File

@ -7,12 +7,12 @@
assert alsaSupport -> alsaLib != null; assert alsaSupport -> alsaLib != null;
assert jackSupport -> libjack2 != null; assert jackSupport -> libjack2 != null;
let version = "1.0.6"; in let version = "1.0.7"; in
stdenv.mkDerivation { stdenv.mkDerivation {
name = "fmit-${version}"; name = "fmit-${version}";
src = fetchFromGitHub { src = fetchFromGitHub {
sha256 = "1ls6pcal5vimr3syz4ih06s1j746z63hgj5wbg5z349gy6zl43fh"; sha256 = "14dzrrxjskhqamhfqhzp6napvc1vyjxcc0v8id1iqzsfdn86xqm9";
rev = "v${version}"; rev = "v${version}";
repo = "fmit"; repo = "fmit";
owner = "gillesdegottex"; owner = "gillesdegottex";
@ -24,8 +24,6 @@ stdenv.mkDerivation {
postPatch = '' postPatch = ''
substituteInPlace fmit.pro --replace '$$FMITVERSIONGITPRO' '${version}' substituteInPlace fmit.pro --replace '$$FMITVERSIONGITPRO' '${version}'
substituteInPlace distrib/fmit.desktop \
--replace "Icon=fmit" "Icon=$out/share/pixmaps/fmit.svg"
''; '';
configurePhase = '' configurePhase = ''
@ -40,11 +38,6 @@ stdenv.mkDerivation {
enableParallelBuilding = true; enableParallelBuilding = true;
postInstall = ''
cd ..
install -Dm644 {ui/images,$out/share/pixmaps}/fmit.svg
'';
meta = with stdenv.lib; { meta = with stdenv.lib; {
inherit version; inherit version;
description = "Free Musical Instrument Tuner"; description = "Free Musical Instrument Tuner";