Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
105 commits
Select commit Hold shift + click to select a range
ee2fafc
isolyzer: 1.3.0 -> 1.4.0
r-ryantm Jun 7, 2022
392801b
pantheon.elementary-default-settings: add files dock item
bobby285271 Oct 15, 2022
26b9778
haste-server: 787d839086faee0b55c76ce5944fa207d22e85b4 -> 20919c94660…
r-ryantm Oct 26, 2022
4d19f1f
organicmaps: 2022.09.22-3 -> 2022.11.02-2
fgaz Nov 2, 2022
8dc7d56
gammu: fix script dependencies on bash and dialog
wamserma Nov 4, 2022
bfdffa6
baresip: 2.8.2 -> 2.9.0
r-ryantm Nov 10, 2022
576649e
python310Packages.cypari2: 2.1.2 -> 2.1.3
collares Nov 11, 2022
d82962c
libfixposix: 0.4.3 -> 0.5.1
r-ryantm Nov 12, 2022
ea58c46
python310Packages.stevedore: 4.1.0 -> 4.1.1
fabaff Nov 12, 2022
066bb43
python310Packages.asyncio-mqtt: 0.13.0 -> 0.14.0
fabaff Nov 12, 2022
d7546e1
python310Packages.aiomysensors: 0.3.2 -> 0.3.3
fabaff Nov 12, 2022
65967fa
python310Packages.asyncio-mqtt: enable tests
fabaff Nov 12, 2022
3ec4e3b
victoriametrics: 1.83.0 -> 1.83.1
r-ryantm Nov 13, 2022
aa3396d
mate.caja-extensions: Fix failed substitution
bobby285271 Nov 13, 2022
8d9763d
mate.caja-extensions: Fix wrong schema path
bobby285271 Nov 13, 2022
dfa4b89
build: fix build on aarch64-darwin
wegank Nov 13, 2022
adb9747
flightgear: Fix missing libcurl depedency
aij Nov 13, 2022
98fb735
sublime4: 4142 -> 4143
PedroHLC Nov 14, 2022
50ab8ea
sublime-merge: 2077 -> 2079
PedroHLC Nov 14, 2022
7cac4e5
doublecmd: refactor to new overlay-style overridable attributes
AndersonTorres Nov 14, 2022
f35f6ff
fceux: refactor to new overlay-style overridable attributes
AndersonTorres Nov 14, 2022
0b7f7b9
ares: 129 -> 130.1
AndersonTorres Nov 14, 2022
db32018
dialog: 1.3-20211214 -> 1.3-20220728
AndersonTorres Nov 14, 2022
43421bb
desmume: 0.9.11+unstable=2021-09-22 -> 0.9.13
AndersonTorres Nov 14, 2022
0c48d38
desmume: mark as broken on linux-aarch64
AndersonTorres Nov 14, 2022
e002041
python310Packages.airthings-ble: 0.5.2 -> 0.5.3
fabaff Nov 14, 2022
47c355d
python310Packages.google-nest-sdm: 2.0.0 -> 2.1.0
fabaff Nov 14, 2022
d3f5b5a
python310Packages.heatzypy: 2.1.1 -> 2.1.5
fabaff Nov 14, 2022
460e838
python310Packages.growattserver: 1.2.3 -> 1.2.4
fabaff Nov 14, 2022
376bd0e
python310Packages.griffe: 0.23.0 -> 0.24.0
fabaff Nov 14, 2022
f3a8bb1
firefox-unwrapped: 106.0.5 -> 107.0
r-ryantm Nov 14, 2022
8ec89ef
firefox{,-bin}, thunderbird{,-bin}: Set meta.changelog
mweinelt Nov 14, 2022
28b268d
firefox-bin-unwrapped: 106.0.5 -> 107.0
mweinelt Nov 14, 2022
22dafab
firefox-esr-102-unwrapped: 102.4.0esr -> 102.5.0esr
mweinelt Nov 14, 2022
f7161f9
ruff: 0.0.117 -> 0.0.118
figsoda Nov 14, 2022
2832ad5
python310Packages.mkdocstrings-python: 0.7.1 -> 0.8.0
fabaff Nov 14, 2022
252ee60
python310Packages.mitmproxy-wireguard: 0.1.17 -> 0.1.18
fabaff Nov 14, 2022
af8d5c5
mutt: 2.2.8 -> 2.2.9
r-ryantm Nov 14, 2022
a0e343a
mozillavpn: 2.10.1 → 2.11.0
andersk Nov 14, 2022
043ab4d
Merge pull request #201260 from r-ryantm/auto-update/mutt
rnhmjoj Nov 15, 2022
84ead61
Merge pull request #196096 from bobby285271/pantheon-dock
bobby285271 Nov 15, 2022
d9b1bde
nixos: Fix fsck with systemd 251.6 and later
aszlig Nov 15, 2022
032b5c1
Merge pull request #198941 from wegank/alfis-aarch64-darwin
risicle Nov 15, 2022
81cd6b0
nixos/nginx: add default listen port options
jqqqqqqqqqq Oct 29, 2022
afd99c0
tellico: 3.4.1 -> 3.4.4
peterhoeg Nov 7, 2022
eacdbfb
Merge pull request #201264 from andersk/mozillavpn
fpletz Nov 15, 2022
cebf764
netpbm: 11.0.1 -> 11.0.2
r-ryantm Nov 14, 2022
b2a6caa
flyctl: 0.0.430 -> 0.0.431
r-ryantm Nov 15, 2022
73982c5
Merge pull request #201243 from figsoda/ruff
figsoda Nov 15, 2022
d3b0c62
Merge pull request #201269 from r-ryantm/auto-update/flyctl
viraptor Nov 15, 2022
3537f2c
cloudflare-dyndns: remove from python3Packages
dotlambda Nov 14, 2022
3ce7280
terraform-providers.aiven: 3.8.0 → 3.8.1
github-actions[bot] Nov 15, 2022
8ca1aba
terraform-providers.newrelic: 3.6.1 → 3.7.0
github-actions[bot] Nov 15, 2022
f0609d6
Merge pull request #198529 from jqqqqqqqqqq/master
fpletz Nov 15, 2022
de55c52
icewm: 3.2.1 -> 3.2.2
r-ryantm Nov 15, 2022
1671115
lazydocker: 0.19.0 -> 0.20.0
r-ryantm Nov 15, 2022
b6239d9
lazygit: 0.35 -> 0.36.0
r-ryantm Nov 15, 2022
2067822
got: 0.78 -> 0.79
afh Nov 15, 2022
2330d3e
Merge pull request #201249 from fabaff/mitmproxy-wireguard
fabaff Nov 15, 2022
3cc7f68
Merge pull request #201212 from fabaff/griffe-bump
fabaff Nov 15, 2022
e547df6
Merge pull request #201209 from fabaff/growattserver-bump
fabaff Nov 15, 2022
0336fbd
Merge pull request #201208 from fabaff/heatzypy-bump
fabaff Nov 15, 2022
16ffb18
Merge pull request #201207 from fabaff/google-nest-sdm-bump
fabaff Nov 15, 2022
d35ee35
Merge pull request #201204 from fabaff/airthings-ble-bump
fabaff Nov 15, 2022
112206e
Merge pull request #200902 from fabaff/aiomysensors-bump
fabaff Nov 15, 2022
1c0e578
Merge pull request #200892 from fabaff/stevedore-bump
fabaff Nov 15, 2022
5ac206c
Merge pull request #199148 from fgaz/organicmaps/2022.11.02-2
fgaz Nov 15, 2022
ff17050
Merge pull request #201290 from r-ryantm/auto-update/lazygit
Mic92 Nov 15, 2022
2338d82
Merge pull request #201289 from r-ryantm/auto-update/lazydocker
Mic92 Nov 15, 2022
27fc015
Merge pull request #201020 from bobby285271/caja
bobby285271 Nov 15, 2022
76085e2
openshot-qt: fix Python 3.10 incompatibility
austinbutler Nov 15, 2022
8db9c4e
Merge pull request #201266 from aszlig/fix-fsck
flokli Nov 15, 2022
335b299
python3Packages.pymemcache: mark broken on 32 bit
mweinelt Nov 15, 2022
7dd0719
python310Packages.apache-beam: fix for dill 0.3.6
tjni Nov 13, 2022
8786f80
ocamlPackages.js_of_ocaml-ocamlbuild: 4.0.0 → 5.0
vbgl Nov 8, 2022
f2aa213
Merge pull request #201291 from afh/afh/got-update
Mic92 Nov 15, 2022
faf0051
Merge pull request #201201 from r-ryantm/auto-update/firefox-unwrapped
mweinelt Nov 15, 2022
ef3b1b5
Merge pull request #201299 from mweinelt/pymemcache-i686-linux
mweinelt Nov 15, 2022
3586bd5
Merge pull request #200596 from r-ryantm/auto-update/baresip
7c6f434c Nov 15, 2022
c018637
Merge pull request #200835 from r-ryantm/auto-update/libfixposix
7c6f434c Nov 15, 2022
54d6004
Merge pull request #201004 from tjni/apache-beam
mweinelt Nov 15, 2022
85d6b39
Merge pull request #199581 from wamserma/fix-gammu
mweinelt Nov 15, 2022
e3a720d
dune_3: 3.5.0 -> 3.6.0
ulrikstrid Nov 15, 2022
1a24e79
libsigrokdecode: unpin python dependency
wamserma Oct 26, 2022
7857807
terraform-providers: support gitlab source
zowoq Nov 15, 2022
6b476b8
terraform-providers.gitlab: 3.18.0 -> 3.19.0
zowoq Nov 15, 2022
d3ccf64
gh: 2.20.0 -> 2.20.2
zowoq Nov 15, 2022
2ce277d
Merge pull request #197960 from wamserma/libsigrokdecode-unpin-python
mweinelt Nov 15, 2022
8c8f38c
Merge pull request #201123 from aij/flightgear
7c6f434c Nov 15, 2022
c78dfbc
Merge pull request #200642 from qowoz/tf-rm-gitlab
Mic92 Nov 15, 2022
aec2518
nextcloudPackages: init
onny Oct 23, 2022
88e0973
nc4nix: unstable-2022-11-12 -> unstable-2022-11-13
onny Nov 13, 2022
3919ef5
Merge pull request #201191 from PedroHLC/sublime4-4143
jtojnar Nov 15, 2022
3f5e89e
rure: 0.2.1 -> 0.2.2
sternenseemann Nov 14, 2022
bed01d8
Merge pull request #200990 from r-ryantm/auto-update/victoriametrics
yorickvP Nov 15, 2022
3931b0b
asl: 142-bld211 -> 142-bld232
AndersonTorres Nov 14, 2022
f2d9232
Merge pull request #201281 from r-ryantm/auto-update/icewm
AndersonTorres Nov 15, 2022
9347608
Merge pull request #201121 from atorres1985-contrib/misc-updates
AndersonTorres Nov 15, 2022
0e27083
Merge pull request #201297 from austinbutler/openshot-py310-compat-fix
AndersonTorres Nov 15, 2022
861a730
Merge pull request #200746 from collares/cypari-2.1.3
collares Nov 15, 2022
1a99553
Merge pull request #190294 from r-ryantm/auto-update/haste-server
mkg20001 Nov 15, 2022
b244482
Merge pull request #176793 from r-ryantm/auto-update/isolyzer
mkg20001 Nov 15, 2022
9b42f8d
haskellPackages/extra: init brick 1.3 for swarm 0.2.0.0
natto1784 Nov 15, 2022
4f70da8
haskellPackages: regenerate package set based on current config
natto1784 Nov 15, 2022
f44cf0f
haskellPackages.swarm: fix broken package
natto1784 Nov 15, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 22 additions & 4 deletions nixos/modules/services/web-servers/nginx/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,8 @@ let

${optionalString cfg.statusPage ''
server {
listen 80;
${optionalString enableIPv6 "listen [::]:80;" }
listen ${cfg.defaultHTTPListenPort};
${optionalString enableIPv6 "listen [::]:${cfg.defaultHTTPListenPort};" }

server_name localhost;

Expand Down Expand Up @@ -246,8 +246,8 @@ let
if vhost.listen != [] then vhost.listen
else
let addrs = if vhost.listenAddresses != [] then vhost.listenAddresses else cfg.defaultListenAddresses;
in optionals (hasSSL || vhost.rejectSSL) (map (addr: { inherit addr; port = 443; ssl = true; }) addrs)
++ optionals (!onlySSL) (map (addr: { inherit addr; port = 80; ssl = false; }) addrs);
in optionals (hasSSL || vhost.rejectSSL) (map (addr: { inherit addr; port = cfg.defaultSSLListenPort; ssl = true; }) addrs)
++ optionals (!onlySSL) (map (addr: { inherit addr; port = cfg.defaultHTTPListenPort; ssl = false; }) addrs);

hostListen =
if vhost.forceSSL
Expand Down Expand Up @@ -449,6 +449,24 @@ in
'';
};

defaultHTTPListenPort = mkOption {
type = types.port;
default = 80;
example = 8080;
description = lib.mdDoc ''
If vhosts do not specify listen.port, use these ports for HTTP by default.
'';
};

defaultSSLListenPort = mkOption {
type = types.port;
default = 443;
example = 8443;
description = lib.mdDoc ''
If vhosts do not specify listen.port, use these ports for SSL by default.
'';
};

package = mkOption {
default = pkgs.nginxStable;
defaultText = literalExpression "pkgs.nginxStable";
Expand Down
6 changes: 5 additions & 1 deletion nixos/modules/tasks/filesystems.nix
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,11 @@ in
boot.supportedFilesystems = map (fs: fs.fsType) fileSystems;

# Add the mount helpers to the system path so that `mount' can find them.
system.fsPackages = [ pkgs.dosfstools ];
system.fsPackages = [
pkgs.dosfstools
# This is needed for the main fsck utility wrapping the fs-specific ones.
pkgs.util-linux
];

environment.systemPackages = with pkgs; [ fuse3 fuse ] ++ config.system.fsPackages;

Expand Down
11 changes: 10 additions & 1 deletion pkgs/applications/blockchains/alfis/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
, lib
, rustPlatform
, fetchFromGitHub
, fetchpatch
, pkg-config
, makeWrapper
, webkitgtk
Expand All @@ -23,7 +24,15 @@ rustPlatform.buildRustPackage rec {
sha256 = "sha256-QOKFnre5MW9EvrKrKBHWpOxi2fBKTDMhzCDX3ISd2cQ=";
};

cargoSha256 = "sha256-D+3HIyj1zbs5m8hwLpITS25u/wrRM5GfnwlUUuLX8DQ=";
cargoPatches = [
(fetchpatch {
name = "bump-rust-web-view.patch";
url = "https://github.com/Revertron/Alfis/commit/03b461a740ab6ccbacd576eafc7a3faf4a66648f.patch";
sha256 = "sha256-CSqSMdVD31w7QxxXWtjKmqlaEirmbs1EVuiefSf1NKY=";
})
];

cargoSha256 = "sha256-B4xI++U6RCljXCyaOmNj/SwA6I16zoiZsgk2VTiKfkg=";

checkFlags = [
# these want internet access, disable them
Expand Down
6 changes: 3 additions & 3 deletions pkgs/applications/editors/sublime/4/packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ let
in
{
sublime4 = common {
buildVersion = "4142";
x64sha256 = "JrFL17trcsUcS/bYbSbMhTnSMyla6AkoMII2lt2nAwY=";
aarch64sha256 = "r6bxOYXVA2RAo8prdBQ7/gSNKFPmwDW5osblIE0azT4=";
buildVersion = "4143";
x64sha256 = "fehiw40ZNnQUEXEQMo3e11SscJ/tVMjMXLBzfIlMBzw=";
aarch64sha256 = "4zpNHVEHO98vHcWTbqmwlrB4+HIwoQojeQvq7nAqSpM=";
} {};

sublime4-dev = common {
Expand Down
24 changes: 24 additions & 0 deletions pkgs/applications/emulators/bsnes/ares/001-fix-ruby.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
diff -Naur source-old/ruby/GNUmakefile source-new/ruby/GNUmakefile
--- source-old/ruby/GNUmakefile 1969-12-31 21:00:01.000000000 -0300
+++ source-new/ruby/GNUmakefile 2022-11-13 22:43:09.700197748 -0300
@@ -11,17 +11,9 @@
ruby += audio.openal
ruby += input.quartz #input.carbon
else ifeq ($(platform),linux)
- pkg_check = $(if $(shell pkg-config $1 && echo 1),$2)
- ruby += video.glx video.glx2 video.xshm
- ruby += $(call pkg_check,xv,video.xvideo)
- ruby += audio.oss audio.alsa
- ruby += $(call pkg_check,openal,audio.openal)
- ruby += $(call pkg_check,libpulse,audio.pulseaudio)
- ruby += $(call pkg_check,libpulse-simple,audio.pulseaudiosimple)
- ruby += $(call pkg_check,ao,audio.ao)
- ruby += input.xlib
- ruby += $(call pkg_check,libudev,input.udev)
- ruby += $(call pkg_check,sdl2,input.sdl)
+ ruby += video.glx video.glx2 video.xshm video.xvideo
+ ruby += audio.oss audio.alsa audio.openal audio.pulseaudio audio.pulseaudiosimple audio.ao
+ ruby += input.xlib input.udev input.sdl
else ifeq ($(platform),bsd)
pkg_check = $(if $(shell pkg-config $1 && echo 1),$2)
ruby += video.glx video.glx2 video.xshm
16 changes: 8 additions & 8 deletions pkgs/applications/emulators/bsnes/ares/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,20 @@
, udev
}:

stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "ares";
version = "129";
version = "130.1";

src = fetchFromGitHub {
owner = "ares-emulator";
repo = "ares";
rev = "v${version}";
hash = "sha256-prfvoGtbnsl/1ahx98jBOgT64W566GoUtE8rIOF7lYc=";
rev = "v${finalAttrs.version}";
hash = "sha256-q2wDpbNaDyKPBL20FDaHScKQEJYstlQdJ4CzbRoSPlk=";
};

patches = [
./dont-rebuild-on-install.patch
./fix-ruby.patch
./000-dont-rebuild-on-install.patch
./001-fix-ruby.patch
];

nativeBuildInputs = [
Expand Down Expand Up @@ -64,12 +64,12 @@ stdenv.mkDerivation rec {
];

meta = with lib; {
homepage = "https://ares.dev";
homepage = "https://ares-emu.net";
description = "Open-source multi-system emulator with a focus on accuracy and preservation";
license = licenses.isc;
maintainers = with maintainers; [ Madouura AndersonTorres ];
platforms = platforms.linux;
};
}
})
# TODO: select between Qt, GTK2 and GTK3
# TODO: support Darwin
27 changes: 0 additions & 27 deletions pkgs/applications/emulators/bsnes/ares/fix-ruby.patch

This file was deleted.

13 changes: 7 additions & 6 deletions pkgs/applications/emulators/desmume/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@
, zlib
}:

stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "desmume";
version = "0.9.11+unstable=2021-09-22";
version = "0.9.13";

src = fetchFromGitHub {
owner = "TASVideos";
repo = pname;
rev = "7fc2e4b6b6a58420de65a4089d4df3934d7a46b1";
hash = "sha256-sTCyjQ31w1Lp+aa3VQ7/rdLbhjnqthce54mjKJZQIDM=";
repo = "desmume";
rev = "release_${lib.replaceChars ["."] ["_"] finalAttrs.version}";
hash = "sha256-vmjKXa/iXLTwtqnG+ZUvOnOQPZROeMpfM5J3Jh/Ynfo=";
};

nativeBuildInputs = [
Expand Down Expand Up @@ -81,7 +81,8 @@ stdenv.mkDerivation rec {
license = licenses.gpl2Plus;
maintainers = [ maintainers.AndersonTorres ];
platforms = platforms.unix;
broken = stdenv.isAarch64 && stdenv.isLinux; # ofborg failed
};
}
})
# TODO: investigate the patches
# TODO: investigate other platforms
38 changes: 29 additions & 9 deletions pkgs/applications/emulators/fceux/default.nix
Original file line number Diff line number Diff line change
@@ -1,24 +1,44 @@
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, wrapQtAppsHook, SDL2, lua5_1, minizip, x264 }:
{ lib
, stdenv
, fetchFromGitHub
, SDL2
, cmake
, lua
, minizip
, pkg-config
, wrapQtAppsHook
, x264
}:

stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "fceux";
version = "2.6.4";

src = fetchFromGitHub {
owner = "TASEmulators";
repo = pname;
rev = "${pname}-${version}";
sha256 = "sha256-Q6r/iBlmi0z40+U6OLZCahS0io4IBBGZMP1mJH7szRM=";
repo = "fceux";
rev = "fceux-${finalAttrs.version}";
hash = "sha256-Q6r/iBlmi0z40+U6OLZCahS0io4IBBGZMP1mJH7szRM=";
};

nativeBuildInputs = [ cmake pkg-config wrapQtAppsHook ];
buildInputs = [ SDL2 lua5_1 minizip x264 ];
nativeBuildInputs = [
cmake
pkg-config
wrapQtAppsHook
];

buildInputs = [
SDL2
lua
minizip
x264
];

meta = with lib; {
homepage = "http://www.fceux.com/";
description = "A Nintendo Entertainment System (NES) Emulator";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ sbruder scubed2 ];
homepage = "http://www.fceux.com/";
platforms = platforms.linux;
};
}
})
8 changes: 4 additions & 4 deletions pkgs/applications/file-managers/doublecmd/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@
, wrapQtAppsHook
}:

stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "doublecmd";
version = "1.0.8";

src = fetchFromGitHub {
owner = "doublecmd";
repo = "doublecmd";
rev = "v${version}";
rev = "v${finalAttrs.version}";
hash = "sha256-kuqleoDoxzOj3baTK0lBJpbDECoHeFubWhLXAVkEqAk=";
};

Expand All @@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
libqt5pas
];

NIX_LDFLAGS = "--as-needed -rpath ${lib.makeLibraryPath buildInputs}";
NIX_LDFLAGS = "--as-needed -rpath ${lib.makeLibraryPath finalAttrs.buildInputs}";

postPatch = ''
patchShebangs build.sh install/linux/install.sh
Expand Down Expand Up @@ -70,5 +70,5 @@ stdenv.mkDerivation rec {
maintainers = with maintainers; [ AndersonTorres ];
platforms = with platforms; linux;
};
}
})
# TODO: deal with other platforms too
15 changes: 11 additions & 4 deletions pkgs/applications/misc/gammu/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ lib, stdenv, fetchFromGitHub, pkg-config, cmake, bluez, libusb1, curl
, libiconv, gettext, sqlite
{ lib, stdenv, fetchFromGitHub, substituteAll, pkg-config, cmake, bluez, libusb1, curl
, libiconv, gettext, sqlite, bash, dialog
, dbiSupport ? false, libdbi ? null, libdbiDrivers ? null
, postgresSupport ? false, postgresql ? null
}:
Expand All @@ -17,13 +17,20 @@ stdenv.mkDerivation rec {
sha256 = "sha256-aeaGHVxOMiXRU6RHws+oAnzdO9RY1jw/X/xuGfSt76I=";
};

patches = [ ./bashcomp-dir.patch ./systemd.patch ];
patches = [
./bashcomp-dir.patch
./systemd.patch
(substituteAll {
src = ./gammu-config-dialog.patch;
dialog = "${dialog}/bin/dialog";
})
];

nativeBuildInputs = [ pkg-config cmake ];

strictDeps = true;

buildInputs = [ bluez libusb1 curl gettext sqlite libiconv ]
buildInputs = [ bash bluez libusb1 curl gettext sqlite libiconv ]
++ optionals dbiSupport [ libdbi libdbiDrivers ]
++ optionals postgresSupport [ postgresql ];

Expand Down
20 changes: 20 additions & 0 deletions pkgs/applications/misc/gammu/gammu-config-dialog.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
--- a/utils/gammu-config
+++ b/utils/gammu-config
@@ -59,16 +59,7 @@
shift
done

-if type dialog > /dev/null 2>&1 ; then
- DIALOG=dialog
-elif type cdialog > /dev/null 2>&1 ; then
- DIALOG=cdialog
-elif type whiptail > /dev/null 2>&1 ; then
- DIALOG=whiptail
-else
- echo "You need dialog, cdialog or whiptail installed to make this work"
- exit 1
-fi
+DIALOG=@dialog@

if [ -f "$CONFIG" ] ; then
if [ ! -w "$CONFIG" ] ; then
4 changes: 2 additions & 2 deletions pkgs/applications/misc/organicmaps/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@

mkDerivation rec {
pname = "organicmaps";
version = "2022.09.22-3";
version = "2022.11.02-2";

src = fetchFromGitHub {
owner = "organicmaps";
repo = "organicmaps";
rev = "${version}-android";
sha256 = "sha256-b+XPsKeDVj3crOTxb52CxXmldkurVlNcZ/ODuJIbQ2A=";
sha256 = "sha256-E/lJDw1QMPT0QcaTOxEyJL4hmEFkq21vQkgZbssszJg=";
fetchSubmodules = true;
};

Expand Down
Loading