rambox, franz: support i386-linux
This commit is contained in:
parent
43d327c137
commit
4e449d0159
@ -3,11 +3,15 @@
|
|||||||
, gnome2, dbus, nss, nspr, alsaLib, cups, expat, udev, libnotify }:
|
, gnome2, dbus, nss, nspr, alsaLib, cups, expat, udev, libnotify }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
bits = if stdenv.system == "x86_64-linux" then "x64"
|
||||||
|
else "ia32";
|
||||||
version = "4.0.4";
|
version = "4.0.4";
|
||||||
name = "franz-${version}";
|
name = "franz-${version}";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/meetfranz/franz-app/releases/download/4.0.4/Franz-linux-x64-${version}.tgz";
|
url = "https://github.com/meetfranz/franz-app/releases/download/4.0.4/Franz-linux-${bits}-${version}.tgz";
|
||||||
sha256 = "0ssym0jfrig474g6j67g1jfybjkxnyhbqqjvrs8z6ihwlyd3rrk5";
|
sha256 = if bits == "x64" then
|
||||||
|
"0ssym0jfrig474g6j67g1jfybjkxnyhbqqjvrs8z6ihwlyd3rrk5" else
|
||||||
|
"16l9jma2hiwzl9l41yhrwribcgmxca271rq0cfbbm9701mmmciyy";
|
||||||
};
|
};
|
||||||
|
|
||||||
phases = [ "unpackPhase" "installPhase" ];
|
phases = [ "unpackPhase" "installPhase" ];
|
||||||
@ -39,7 +43,7 @@ stdenv.mkDerivation rec {
|
|||||||
homepage = http://meetfranz.com;
|
homepage = http://meetfranz.com;
|
||||||
license = licenses.free;
|
license = licenses.free;
|
||||||
maintainers = [ stdenv.lib.maintainers.gnidorah ];
|
maintainers = [ stdenv.lib.maintainers.gnidorah ];
|
||||||
platforms = ["x86_64-linux"];
|
platforms = ["i686-linux" "x86_64-linux"];
|
||||||
hydraPlatforms = [];
|
hydraPlatforms = [];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -3,11 +3,15 @@
|
|||||||
, gnome2, dbus, nss, nspr, alsaLib, cups, expat, udev, libnotify }:
|
, gnome2, dbus, nss, nspr, alsaLib, cups, expat, udev, libnotify }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
bits = if stdenv.system == "x86_64-linux" then "x64"
|
||||||
|
else "ia32";
|
||||||
version = "0.4.4";
|
version = "0.4.4";
|
||||||
name = "rambox-${version}";
|
name = "rambox-${version}";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/saenzramiro/rambox/releases/download/${version}/Rambox-${version}-x64.tar.gz";
|
url = "https://github.com/saenzramiro/rambox/releases/download/${version}/Rambox-${version}-${bits}.tar.gz";
|
||||||
sha256 = "05xwabwij7fyifrypahcplymz46k01rzrwgp5gn79hh023w259i0";
|
sha256 = if bits == "x64" then
|
||||||
|
"05xwabwij7fyifrypahcplymz46k01rzrwgp5gn79hh023w259i0" else
|
||||||
|
"16j17rc8mld96mq1rxnwmxwfa2q5b44s40c56mwh34plqyn546l2";
|
||||||
};
|
};
|
||||||
|
|
||||||
phases = [ "unpackPhase" "installPhase" ];
|
phases = [ "unpackPhase" "installPhase" ];
|
||||||
@ -35,7 +39,7 @@ stdenv.mkDerivation rec {
|
|||||||
homepage = http://rambox.pro;
|
homepage = http://rambox.pro;
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = [ stdenv.lib.maintainers.gnidorah ];
|
maintainers = [ stdenv.lib.maintainers.gnidorah ];
|
||||||
platforms = ["x86_64-linux"];
|
platforms = ["i686-linux" "x86_64-linux"];
|
||||||
hydraPlatforms = [];
|
hydraPlatforms = [];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user