aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/applications/misc
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/applications/misc')
-rw-r--r--nixpkgs/pkgs/applications/misc/1password/default.nix34
-rw-r--r--nixpkgs/pkgs/applications/misc/ArchiSteamFarm/default.nix42
-rw-r--r--nixpkgs/pkgs/applications/misc/adobe-reader/default.nix4
-rw-r--r--nixpkgs/pkgs/applications/misc/airtame/default.nix6
-rw-r--r--nixpkgs/pkgs/applications/misc/alacritty/default.nix13
-rw-r--r--nixpkgs/pkgs/applications/misc/almanah/default.nix20
-rw-r--r--nixpkgs/pkgs/applications/misc/aminal/default.nix4
-rw-r--r--nixpkgs/pkgs/applications/misc/appeditor/default.nix3
-rw-r--r--nixpkgs/pkgs/applications/misc/archiver/default.nix5
-rw-r--r--nixpkgs/pkgs/applications/misc/audio/wavesurfer/default.nix4
-rw-r--r--nixpkgs/pkgs/applications/misc/ausweisapp2/default.nix4
-rw-r--r--nixpkgs/pkgs/applications/misc/autospotting/default.nix2
-rw-r--r--nixpkgs/pkgs/applications/misc/autospotting/deps.nix75
-rw-r--r--nixpkgs/pkgs/applications/misc/batsignal/default.nix25
-rw-r--r--nixpkgs/pkgs/applications/misc/bemenu/default.nix4
-rw-r--r--nixpkgs/pkgs/applications/misc/birdtray/default.nix11
-rw-r--r--nixpkgs/pkgs/applications/misc/birdtray/fix-qttranslations-path.diff13
-rw-r--r--nixpkgs/pkgs/applications/misc/bleachbit/default.nix16
-rw-r--r--nixpkgs/pkgs/applications/misc/blender/darwin.patch21
-rw-r--r--nixpkgs/pkgs/applications/misc/blender/default.nix18
-rw-r--r--nixpkgs/pkgs/applications/misc/break-time/default.nix45
-rw-r--r--nixpkgs/pkgs/applications/misc/buku/default.nix5
-rw-r--r--nixpkgs/pkgs/applications/misc/calibre/default.nix61
-rw-r--r--nixpkgs/pkgs/applications/misc/cgminer/default.nix45
-rw-r--r--nixpkgs/pkgs/applications/misc/cheat/default.nix6
-rw-r--r--nixpkgs/pkgs/applications/misc/cherrytree/default.nix4
-rw-r--r--nixpkgs/pkgs/applications/misc/chewing-editor/default.nix30
-rw-r--r--nixpkgs/pkgs/applications/misc/cipher/default.nix3
-rw-r--r--nixpkgs/pkgs/applications/misc/clight/clightd.nix4
-rw-r--r--nixpkgs/pkgs/applications/misc/clight/default.nix4
-rw-r--r--nixpkgs/pkgs/applications/misc/clipmenu/default.nix20
-rw-r--r--nixpkgs/pkgs/applications/misc/cointop/default.nix8
-rw-r--r--nixpkgs/pkgs/applications/misc/coolreader/default.nix26
-rw-r--r--nixpkgs/pkgs/applications/misc/copyq/default.nix4
-rw-r--r--nixpkgs/pkgs/applications/misc/cpu-x/default.nix4
-rw-r--r--nixpkgs/pkgs/applications/misc/cura/default.nix6
-rw-r--r--nixpkgs/pkgs/applications/misc/cura/plugins.nix6
-rw-r--r--nixpkgs/pkgs/applications/misc/curaengine/default.nix4
-rw-r--r--nixpkgs/pkgs/applications/misc/dbeaver/default.nix6
-rw-r--r--nixpkgs/pkgs/applications/misc/ddcui/default.nix42
-rw-r--r--nixpkgs/pkgs/applications/misc/ddgr/default.nix4
-rw-r--r--nixpkgs/pkgs/applications/misc/devdocs-desktop/default.nix43
-rw-r--r--nixpkgs/pkgs/applications/misc/direwolf/default.nix43
-rw-r--r--nixpkgs/pkgs/applications/misc/dmenu/wayland.nix6
-rw-r--r--nixpkgs/pkgs/applications/misc/dstask/default.nix6
-rw-r--r--nixpkgs/pkgs/applications/misc/dunst/default.nix4
-rw-r--r--nixpkgs/pkgs/applications/misc/effitask/cargo-lock.patch1091
-rw-r--r--nixpkgs/pkgs/applications/misc/effitask/default.nix50
-rw-r--r--nixpkgs/pkgs/applications/misc/electron-cash/default.nix20
-rw-r--r--nixpkgs/pkgs/applications/misc/electrum/default.nix42
-rw-r--r--nixpkgs/pkgs/applications/misc/electrum/ltc.nix8
-rw-r--r--nixpkgs/pkgs/applications/misc/et/default.nix6
-rw-r--r--nixpkgs/pkgs/applications/misc/etesync-dav/default.nix12
-rw-r--r--nixpkgs/pkgs/applications/misc/exercism/default.nix4
-rw-r--r--nixpkgs/pkgs/applications/misc/fbmenugen/default.nix6
-rw-r--r--nixpkgs/pkgs/applications/misc/fetchmail/default.nix4
-rw-r--r--nixpkgs/pkgs/applications/misc/firestarter/default.nix4
-rw-r--r--nixpkgs/pkgs/applications/misc/fitnesstrax/default.nix2
-rw-r--r--nixpkgs/pkgs/applications/misc/fme/default.nix2
-rw-r--r--nixpkgs/pkgs/applications/misc/font-manager/default.nix4
-rw-r--r--nixpkgs/pkgs/applications/misc/fontpreview/default.nix40
-rw-r--r--nixpkgs/pkgs/applications/misc/foot/default.nix38
-rw-r--r--nixpkgs/pkgs/applications/misc/formatter/default.nix3
-rw-r--r--nixpkgs/pkgs/applications/misc/fslint/default.nix41
-rw-r--r--nixpkgs/pkgs/applications/misc/fuzzel/default.nix23
-rw-r--r--nixpkgs/pkgs/applications/misc/gallery-dl/default.nix4
-rw-r--r--nixpkgs/pkgs/applications/misc/ganttproject-bin/default.nix2
-rw-r--r--nixpkgs/pkgs/applications/misc/gcalcli/default.nix4
-rw-r--r--nixpkgs/pkgs/applications/misc/gcstar/default.nix72
-rw-r--r--nixpkgs/pkgs/applications/misc/geoipupdate/default.nix5
-rw-r--r--nixpkgs/pkgs/applications/misc/get_iplayer/default.nix4
-rw-r--r--nixpkgs/pkgs/applications/misc/girara/default.nix6
-rw-r--r--nixpkgs/pkgs/applications/misc/gitit/default.nix61
-rw-r--r--nixpkgs/pkgs/applications/misc/glom/default.nix19
-rw-r--r--nixpkgs/pkgs/applications/misc/gmrun/default.nix6
-rw-r--r--nixpkgs/pkgs/applications/misc/go-jira/default.nix2
-rw-r--r--nixpkgs/pkgs/applications/misc/golden-cheetah/default.nix2
-rw-r--r--nixpkgs/pkgs/applications/misc/goldendict/default.nix13
-rw-r--r--nixpkgs/pkgs/applications/misc/gollum/Gemfile.lock39
-rw-r--r--nixpkgs/pkgs/applications/misc/gollum/gemset.nix69
-rw-r--r--nixpkgs/pkgs/applications/misc/gomatrix/default.nix4
-rw-r--r--nixpkgs/pkgs/applications/misc/googleearth/default.nix5
-rw-r--r--nixpkgs/pkgs/applications/misc/googler/default.nix18
-rw-r--r--nixpkgs/pkgs/applications/misc/gopacked/default.nix2
-rw-r--r--nixpkgs/pkgs/applications/misc/gosmore/default.nix3
-rw-r--r--nixpkgs/pkgs/applications/misc/gpsbabel/default.nix4
-rw-r--r--nixpkgs/pkgs/applications/misc/gpxsee/default.nix4
-rw-r--r--nixpkgs/pkgs/applications/misc/hamster/default.nix62
-rw-r--r--nixpkgs/pkgs/applications/misc/havoc/default.nix6
-rw-r--r--nixpkgs/pkgs/applications/misc/heimer/default.nix5
-rw-r--r--nixpkgs/pkgs/applications/misc/hovercraft/default.nix4
-rw-r--r--nixpkgs/pkgs/applications/misc/hstr/default.nix10
-rw-r--r--nixpkgs/pkgs/applications/misc/html5validator/default.nix25
-rw-r--r--nixpkgs/pkgs/applications/misc/hugo/default.nix24
-rw-r--r--nixpkgs/pkgs/applications/misc/imag/default.nix63
-rw-r--r--nixpkgs/pkgs/applications/misc/img2pdf/default.nix25
-rw-r--r--nixpkgs/pkgs/applications/misc/inkcut/default.nix54
-rw-r--r--nixpkgs/pkgs/applications/misc/jekyll/basic/Gemfile.lock22
-rw-r--r--nixpkgs/pkgs/applications/misc/jekyll/basic/gemset.nix44
-rw-r--r--nixpkgs/pkgs/applications/misc/jekyll/full/Gemfile.lock26
-rw-r--r--nixpkgs/pkgs/applications/misc/jekyll/full/gemset.nix52
-rw-r--r--nixpkgs/pkgs/applications/misc/joplin-desktop/default.nix24
-rw-r--r--nixpkgs/pkgs/applications/misc/josm/default.nix8
-rw-r--r--nixpkgs/pkgs/applications/misc/k2pdfopt/0001-Fix-CMakeLists.patch49
-rw-r--r--nixpkgs/pkgs/applications/misc/k2pdfopt/default.nix150
-rw-r--r--nixpkgs/pkgs/applications/misc/k2pdfopt/k2pdfopt-mupdf-1.16.1.patch151
-rw-r--r--nixpkgs/pkgs/applications/misc/k2pdfopt/k2pdfopt.patch99
-rw-r--r--nixpkgs/pkgs/applications/misc/k2pdfopt/leptonica.patch254
-rw-r--r--nixpkgs/pkgs/applications/misc/k2pdfopt/mupdf.patch1060
-rw-r--r--nixpkgs/pkgs/applications/misc/k2pdfopt/tesseract.patch675
-rw-r--r--nixpkgs/pkgs/applications/misc/k4dirstat/default.nix33
-rw-r--r--nixpkgs/pkgs/applications/misc/kanboard/default.nix4
-rw-r--r--nixpkgs/pkgs/applications/misc/keepass-plugins/keeagent/default.nix6
-rw-r--r--nixpkgs/pkgs/applications/misc/keepass/default.nix2
-rw-r--r--nixpkgs/pkgs/applications/misc/keepass/fix-paths.patch18
-rw-r--r--nixpkgs/pkgs/applications/misc/keepass/keepass-plugins-load.patch2
-rw-r--r--nixpkgs/pkgs/applications/misc/keepass/keepass-plugins.patch2
-rw-r--r--nixpkgs/pkgs/applications/misc/keepassx/community.nix11
-rw-r--r--nixpkgs/pkgs/applications/misc/khal/default.nix11
-rw-r--r--nixpkgs/pkgs/applications/misc/khal/skip-broken-test.patch12
-rw-r--r--nixpkgs/pkgs/applications/misc/khard/default.nix9
-rw-r--r--nixpkgs/pkgs/applications/misc/kitty/default.nix40
-rw-r--r--nixpkgs/pkgs/applications/misc/kitty/library-paths.patch38
-rw-r--r--nixpkgs/pkgs/applications/misc/kitty/no-lto.patch2
-rw-r--r--nixpkgs/pkgs/applications/misc/klayout/default.nix4
-rw-r--r--nixpkgs/pkgs/applications/misc/kondo/default.nix6
-rw-r--r--nixpkgs/pkgs/applications/misc/krename/default.nix2
-rw-r--r--nixpkgs/pkgs/applications/misc/ksmoothdock/default.nix43
-rw-r--r--nixpkgs/pkgs/applications/misc/llpp/default.nix4
-rw-r--r--nixpkgs/pkgs/applications/misc/llpp/fix-build-bash.patch32
-rw-r--r--nixpkgs/pkgs/applications/misc/lutris/default.nix81
-rw-r--r--nixpkgs/pkgs/applications/misc/lutris/fhsenv.nix (renamed from nixpkgs/pkgs/applications/misc/lutris/chrootenv.nix)4
-rw-r--r--nixpkgs/pkgs/applications/misc/lyx/default.nix4
-rw-r--r--nixpkgs/pkgs/applications/misc/makeself/default.nix3
-rw-r--r--nixpkgs/pkgs/applications/misc/marktext/default.nix12
-rw-r--r--nixpkgs/pkgs/applications/misc/masterpdfeditor/default.nix4
-rw-r--r--nixpkgs/pkgs/applications/misc/mediainfo-gui/default.nix8
-rw-r--r--nixpkgs/pkgs/applications/misc/mediainfo/default.nix4
-rw-r--r--nixpkgs/pkgs/applications/misc/megacmd/default.nix4
-rw-r--r--nixpkgs/pkgs/applications/misc/megasync/default.nix8
-rw-r--r--nixpkgs/pkgs/applications/misc/menumaker/default.nix4
-rw-r--r--nixpkgs/pkgs/applications/misc/minder/default.nix4
-rw-r--r--nixpkgs/pkgs/applications/misc/mlterm/default.nix5
-rw-r--r--nixpkgs/pkgs/applications/misc/moolticute/default.nix4
-rw-r--r--nixpkgs/pkgs/applications/misc/moonlight-embedded/default.nix4
-rw-r--r--nixpkgs/pkgs/applications/misc/mop/default.nix1
-rw-r--r--nixpkgs/pkgs/applications/misc/mrxvt/default.nix8
-rw-r--r--nixpkgs/pkgs/applications/misc/mupdf/default.nix4
-rw-r--r--nixpkgs/pkgs/applications/misc/mysql-workbench/default.nix6
-rw-r--r--nixpkgs/pkgs/applications/misc/navi/default.nix29
-rw-r--r--nixpkgs/pkgs/applications/misc/netsurf/libnsbmp/default.nix4
-rw-r--r--nixpkgs/pkgs/applications/misc/nimmm/default.nix55
-rw-r--r--nixpkgs/pkgs/applications/misc/nnn/default.nix4
-rw-r--r--nixpkgs/pkgs/applications/misc/notejot/default.nix4
-rw-r--r--nixpkgs/pkgs/applications/misc/nwg-launchers/default.nix49
-rw-r--r--nixpkgs/pkgs/applications/misc/obinskit/default.nix53
-rw-r--r--nixpkgs/pkgs/applications/misc/obsidian/default.nix74
-rw-r--r--nixpkgs/pkgs/applications/misc/octoprint/default.nix231
-rw-r--r--nixpkgs/pkgs/applications/misc/octoprint/plugins.nix38
-rw-r--r--nixpkgs/pkgs/applications/misc/ola/default.nix34
-rw-r--r--nixpkgs/pkgs/applications/misc/olifant/default.nix69
-rw-r--r--nixpkgs/pkgs/applications/misc/openambit/default.nix48
-rw-r--r--nixpkgs/pkgs/applications/misc/openjump/default.nix36
-rw-r--r--nixpkgs/pkgs/applications/misc/openrgb/default.nix44
-rw-r--r--nixpkgs/pkgs/applications/misc/opentx/default.nix4
-rw-r--r--nixpkgs/pkgs/applications/misc/orca/default.nix4
-rw-r--r--nixpkgs/pkgs/applications/misc/osmium-tool/default.nix39
-rw-r--r--nixpkgs/pkgs/applications/misc/overmind/default.nix6
-rw-r--r--nixpkgs/pkgs/applications/misc/overmind/deps.nix147
-rw-r--r--nixpkgs/pkgs/applications/misc/pastel/default.nix1
-rw-r--r--nixpkgs/pkgs/applications/misc/pdfarranger/default.nix5
-rw-r--r--nixpkgs/pkgs/applications/misc/pdfpc/default.nix12
-rw-r--r--nixpkgs/pkgs/applications/misc/pdfsam-basic/default.nix10
-rw-r--r--nixpkgs/pkgs/applications/misc/pgadmin/default.nix2
-rw-r--r--nixpkgs/pkgs/applications/misc/pipr/default.nix34
-rw-r--r--nixpkgs/pkgs/applications/misc/plasma-applet-volumewin7mixer/default.nix4
-rw-r--r--nixpkgs/pkgs/applications/misc/polybar/default.nix7
-rw-r--r--nixpkgs/pkgs/applications/misc/prusa-slicer/default.nix2
-rw-r--r--nixpkgs/pkgs/applications/misc/prusa-slicer/super-slicer.nix50
-rw-r--r--nixpkgs/pkgs/applications/misc/pueue/default.nix6
-rw-r--r--nixpkgs/pkgs/applications/misc/qcad/application-dir.patch13
-rw-r--r--nixpkgs/pkgs/applications/misc/qcad/default.nix16
-rw-r--r--nixpkgs/pkgs/applications/misc/qdirstat/default.nix12
-rw-r--r--nixpkgs/pkgs/applications/misc/qmapshack/default.nix4
-rw-r--r--nixpkgs/pkgs/applications/misc/qsudo/default.nix42
-rw-r--r--nixpkgs/pkgs/applications/misc/qt-video-wlr/default.nix46
-rw-r--r--nixpkgs/pkgs/applications/misc/redshift/default.nix34
-rw-r--r--nixpkgs/pkgs/applications/misc/remarkable/remarkable-mouse/default.nix20
-rw-r--r--nixpkgs/pkgs/applications/misc/remarkable/rmapi/default.nix7
-rw-r--r--nixpkgs/pkgs/applications/misc/rescuetime/default.nix12
-rw-r--r--nixpkgs/pkgs/applications/misc/rofi/default.nix4
-rw-r--r--nixpkgs/pkgs/applications/misc/rsclock/default.nix4
-rw-r--r--nixpkgs/pkgs/applications/misc/sampler/default.nix4
-rw-r--r--nixpkgs/pkgs/applications/misc/sbagen/default.nix2
-rw-r--r--nixpkgs/pkgs/applications/misc/sdcv/default.nix4
-rw-r--r--nixpkgs/pkgs/applications/misc/sequeler/default.nix8
-rw-r--r--nixpkgs/pkgs/applications/misc/sidequest/default.nix4
-rw-r--r--nixpkgs/pkgs/applications/misc/sigal/default.nix4
-rw-r--r--nixpkgs/pkgs/applications/misc/simplenote/default.nix7
-rw-r--r--nixpkgs/pkgs/applications/misc/sl1-to-photon/default.nix41
-rw-r--r--nixpkgs/pkgs/applications/misc/slic3r/default.nix2
-rw-r--r--nixpkgs/pkgs/applications/misc/slstatus/default.nix12
-rw-r--r--nixpkgs/pkgs/applications/misc/snowsql/default.nix50
-rw-r--r--nixpkgs/pkgs/applications/misc/st/default.nix7
-rw-r--r--nixpkgs/pkgs/applications/misc/stretchly/default.nix5
-rw-r--r--nixpkgs/pkgs/applications/misc/stupidterm/default.nix2
-rw-r--r--nixpkgs/pkgs/applications/misc/styx/default.nix6
-rw-r--r--nixpkgs/pkgs/applications/misc/subsurface/0001-core-fix-libgit-ifdef-to-handle-libgit2-v1.0-and-onw.patch41
-rw-r--r--nixpkgs/pkgs/applications/misc/subsurface/default.nix15
-rw-r--r--nixpkgs/pkgs/applications/misc/super_user_spark/default.nix32
-rw-r--r--nixpkgs/pkgs/applications/misc/sweethome3d/default.nix6
-rw-r--r--nixpkgs/pkgs/applications/misc/sweethome3d/editors.nix2
-rw-r--r--nixpkgs/pkgs/applications/misc/syncthing-tray/default.nix1
-rw-r--r--nixpkgs/pkgs/applications/misc/syncthingtray/default.nix4
-rw-r--r--nixpkgs/pkgs/applications/misc/synergy/default.nix13
-rw-r--r--nixpkgs/pkgs/applications/misc/systembus-notify/default.nix4
-rw-r--r--nixpkgs/pkgs/applications/misc/taskell/default.nix65
-rw-r--r--nixpkgs/pkgs/applications/misc/tdrop/default.nix24
-rw-r--r--nixpkgs/pkgs/applications/misc/teleprompter/default.nix5
-rw-r--r--nixpkgs/pkgs/applications/misc/tellico/default.nix67
-rw-r--r--nixpkgs/pkgs/applications/misc/tellico/hex.patch15
-rw-r--r--nixpkgs/pkgs/applications/misc/terminal-parrot/default.nix5
-rw-r--r--nixpkgs/pkgs/applications/misc/thinking-rock/default.nix6
-rw-r--r--nixpkgs/pkgs/applications/misc/tilda/default.nix4
-rw-r--r--nixpkgs/pkgs/applications/misc/timewarrior/default.nix4
-rw-r--r--nixpkgs/pkgs/applications/misc/tint2/default.nix58
-rw-r--r--nixpkgs/pkgs/applications/misc/tipp10/default.nix10
-rw-r--r--nixpkgs/pkgs/applications/misc/tippecanoe/default.nix5
-rw-r--r--nixpkgs/pkgs/applications/misc/todiff/default.nix1
-rw-r--r--nixpkgs/pkgs/applications/misc/todoist-electron/default.nix6
-rw-r--r--nixpkgs/pkgs/applications/misc/todoist/default.nix4
-rw-r--r--nixpkgs/pkgs/applications/misc/toot/default.nix6
-rw-r--r--nixpkgs/pkgs/applications/misc/tootle/default.nix3
-rw-r--r--nixpkgs/pkgs/applications/misc/tty-solitaire/default.nix27
-rw-r--r--nixpkgs/pkgs/applications/misc/tut/default.nix4
-rw-r--r--nixpkgs/pkgs/applications/misc/ulauncher/default.nix12
-rw-r--r--nixpkgs/pkgs/applications/misc/urlscan/default.nix4
-rw-r--r--nixpkgs/pkgs/applications/misc/waybar/default.nix8
-rw-r--r--nixpkgs/pkgs/applications/misc/weather/default.nix12
-rw-r--r--nixpkgs/pkgs/applications/misc/wofi/default.nix21
-rw-r--r--nixpkgs/pkgs/applications/misc/wofi/do_not_follow_symlinks.patch39
-rw-r--r--nixpkgs/pkgs/applications/misc/worker/default.nix4
-rw-r--r--nixpkgs/pkgs/applications/misc/wtf/default.nix8
-rw-r--r--nixpkgs/pkgs/applications/misc/x3270/default.nix44
-rw-r--r--nixpkgs/pkgs/applications/misc/xbattbar/default.nix46
-rw-r--r--nixpkgs/pkgs/applications/misc/xbattbar/sys-by-default.patch26
-rw-r--r--nixpkgs/pkgs/applications/misc/xdragon/default.nix28
-rw-r--r--nixpkgs/pkgs/applications/misc/xmenu/default.nix25
-rw-r--r--nixpkgs/pkgs/applications/misc/xmrig/default.nix4
-rw-r--r--nixpkgs/pkgs/applications/misc/xmrig/proxy.nix4
-rw-r--r--nixpkgs/pkgs/applications/misc/xpdf/libxpdf.nix11
-rw-r--r--nixpkgs/pkgs/applications/misc/zathura/core/default.nix7
-rw-r--r--nixpkgs/pkgs/applications/misc/zathura/pdf-mupdf/default.nix10
-rw-r--r--nixpkgs/pkgs/applications/misc/zathura/wrapper.nix13
-rw-r--r--nixpkgs/pkgs/applications/misc/zettlr/default.nix38
-rw-r--r--nixpkgs/pkgs/applications/misc/zola/default.nix13
256 files changed, 4551 insertions, 3596 deletions
diff --git a/nixpkgs/pkgs/applications/misc/1password/default.nix b/nixpkgs/pkgs/applications/misc/1password/default.nix
index 22cbb0ec4a0..eeaf8d56185 100644
--- a/nixpkgs/pkgs/applications/misc/1password/default.nix
+++ b/nixpkgs/pkgs/applications/misc/1password/default.nix
@@ -2,26 +2,22 @@
stdenv.mkDerivation rec {
pname = "1password";
- version = "0.10.0";
+ version = "1.1.1";
src =
- if stdenv.hostPlatform.system == "i686-linux" then
- fetchzip {
- url = "https://cache.agilebits.com/dist/1P/op/pkg/v${version}/op_linux_386_v${version}.zip";
- sha256 = "07j11ikd0rzsj4d8rv74rfy497svq6l2q94ndf3b0a0mr8riyazj";
- stripRoot = false;
- }
- else if stdenv.hostPlatform.system == "x86_64-linux" then
- fetchzip {
- url = "https://cache.agilebits.com/dist/1P/op/pkg/v${version}/op_linux_amd64_v${version}.zip";
- sha256 = "177cl4x7rj3d74kzrpmiwps5n31axmlhqdwrdpkmay2gk9inswbs";
- stripRoot = false;
- }
- else if stdenv.hostPlatform.system == "x86_64-darwin" then
- fetchurl {
- url = "https://cache.agilebits.com/dist/1P/op/pkg/v${version}/op_darwin_amd64_v${version}.pkg";
- sha256 = "13yxmnh77g6zvl2gqf77m5i3v5706p2plgbgsn5hqrrf3g8ql63b";
- }
- else throw "Architecture not supported";
+ if stdenv.isLinux then fetchzip {
+ url = {
+ "i686-linux" = "https://cache.agilebits.com/dist/1P/op/pkg/v${version}/op_linux_386_v${version}.zip";
+ "x86_64-linux" = "https://cache.agilebits.com/dist/1P/op/pkg/v${version}/op_linux_amd64_v${version}.zip";
+ }.${stdenv.hostPlatform.system};
+ sha256 = {
+ "i686-linux" = "1andl3ripkcg4jhwdkd4b39c9aaxqpx9wzq21pysn6rlyy4hfcb0";
+ "x86_64-linux" = "0qj5v8psqyp0sra0pvzkwjpm28kx3bgg36y37wklb6zl2ngpxm5g";
+ }.${stdenv.hostPlatform.system};
+ stripRoot = false;
+ } else fetchurl {
+ url = "https://cache.agilebits.com/dist/1P/op/pkg/v${version}/op_darwin_amd64_v${version}.pkg";
+ sha256 = "16inwxkrky4xwlr7vara1l8kapdgjg3kfq1l94i5855782hn4ppm";
+ };
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ xar cpio ];
diff --git a/nixpkgs/pkgs/applications/misc/ArchiSteamFarm/default.nix b/nixpkgs/pkgs/applications/misc/ArchiSteamFarm/default.nix
index c165003d8f8..38a25b3375a 100644
--- a/nixpkgs/pkgs/applications/misc/ArchiSteamFarm/default.nix
+++ b/nixpkgs/pkgs/applications/misc/ArchiSteamFarm/default.nix
@@ -1,27 +1,15 @@
-{ stdenv, fetchurl, unzip, makeWrapper, autoPatchelfHook
-, zlib, lttng-ust, curl, icu, openssl }:
+{ stdenv, fetchurl, unzip, makeWrapper, dotnetCorePackages, jq }:
stdenv.mkDerivation rec {
pname = "ArchiSteamFarm";
- version = "4.2.0.6";
-
- src = {
- x86_64-linux = fetchurl {
- url = "https://github.com/JustArchiNET/ArchiSteamFarm/releases/download/${version}/ASF-linux-x64.zip";
- sha256 = "05hx6q1lkbjbqhwi9xxvm7ycnsnpl1cnqzyy2yn0q4x27im399cn";
- };
- armv7l-linux = fetchurl {
- url = "https://github.com/JustArchiNET/ArchiSteamFarm/releases/download/${version}/ASF-linux-arm.zip";
- sha256 = "0l8irqrpl5vbjj84k4makj2ph2z6kpny7qz51zrzbgwhrlw0w4vg";
- };
- aarch64-linux = fetchurl {
- url = "https://github.com/JustArchiNET/ArchiSteamFarm/releases/download/${version}/ASF-linux-arm64.zip";
- sha256 = "0hg2g4i8sj3fxqfy4imz1iarby1d9f8dh59j266lbbdf2vfz2cml";
- };
- }.${stdenv.system} or (throw "Unsupported system: ${stdenv.system}");
-
- nativeBuildInputs = [ unzip makeWrapper autoPatchelfHook ];
- buildInputs = [ stdenv.cc.cc zlib lttng-ust curl ];
+ version = "4.2.4.0";
+
+ src = fetchurl {
+ url = "https://github.com/JustArchiNET/ArchiSteamFarm/releases/download/${version}/ASF-generic.zip";
+ sha256 = "1nkbyy9gnp8nkr04bbiapwvv2nspnl36fvnzjwaq4a13mj49m5zq";
+ };
+
+ nativeBuildInputs = [ unzip makeWrapper jq ];
sourceRoot = ".";
@@ -29,23 +17,25 @@ stdenv.mkDerivation rec {
dist=$out/opt/asf
mkdir -p $dist
cp -r * $dist
- chmod +x $dist/ArchiSteamFarm
- makeWrapper $dist/ArchiSteamFarm $out/bin/ArchiSteamFarm \
- --prefix LD_LIBRARY_PATH : "${stdenv.lib.makeLibraryPath [ icu openssl ] }" \
+
+ jq "del(.runtimeOptions.framework.version)" ArchiSteamFarm.runtimeconfig.json > $dist/ArchiSteamFarm.runtimeconfig.json
+
+ makeWrapper ${dotnetCorePackages.aspnetcore_3_1}/bin/dotnet $out/bin/ArchiSteamFarm \
+ --add-flags $dist/ArchiSteamFarm.dll \
--add-flags "--path ~/.config/asf" \
--run "mkdir -p ~/.config/asf" \
--run "cd ~/.config/asf" \
--run "[ -d config ] || cp --no-preserve=mode -r $dist/config ." \
--run "[ -d logs ] || cp --no-preserve=mode -r $dist/logs ." \
--run "[ -d plugins ] || cp --no-preserve=mode -r $dist/plugins ." \
- --run "[ -d www ] || cp --no-preserve=mode -r $dist/www ." \
+ --run "ln -sf $dist/www ."
'';
meta = with stdenv.lib; {
description = "Application with primary purpose of idling Steam cards from multiple accounts simultaneously";
homepage = "https://github.com/JustArchiNET/ArchiSteamFarm";
license = licenses.asl20;
- platforms = [ "x86_64-linux" "armv7l-linux" "aarch64-linux" ];
+ platforms = dotnetCorePackages.aspnetcore_3_1.meta.platforms;
maintainers = with maintainers; [ gnidorah ];
hydraPlatforms = [];
};
diff --git a/nixpkgs/pkgs/applications/misc/adobe-reader/default.nix b/nixpkgs/pkgs/applications/misc/adobe-reader/default.nix
index b67e514ce54..ecd130426de 100644
--- a/nixpkgs/pkgs/applications/misc/adobe-reader/default.nix
+++ b/nixpkgs/pkgs/applications/misc/adobe-reader/default.nix
@@ -28,5 +28,9 @@ stdenv.mkDerivation {
description = "Adobe Reader, a viewer for PDF documents";
homepage = "http://www.adobe.com/products/reader";
license = stdenv.lib.licenses.unfree;
+ knownVulnerabilities = [
+ "Numerous unresolved vulnerabilities"
+ "See: https://www.cvedetails.com/product/497/Adobe-Acrobat-Reader.html?vendor_id=53"
+ ];
};
}
diff --git a/nixpkgs/pkgs/applications/misc/airtame/default.nix b/nixpkgs/pkgs/applications/misc/airtame/default.nix
index 043f1c86bd1..a5c08ad3642 100644
--- a/nixpkgs/pkgs/applications/misc/airtame/default.nix
+++ b/nixpkgs/pkgs/applications/misc/airtame/default.nix
@@ -1,12 +1,12 @@
{ stdenv, lib, fetchurl, makeDesktopItem, makeWrapper
-, alsaLib, atk, cairo, cups, curl, dbus, expat, ffmpeg, fontconfig, freetype
+, alsaLib, atk, cairo, cups, curl, dbus, expat, ffmpeg_3, fontconfig, freetype
, gdk-pixbuf, glib, glibc, gnome2, gtk2, libX11, libXScrnSaver, libXcomposite
, libXcursor, libXdamage, libXext, libXfixes, libXi, libXrandr, libXrender
, libXtst, libopus, libpulseaudio, libxcb, nspr, nss, pango, udev, x264
}:
let libPath = lib.makeLibraryPath [
- alsaLib atk cairo cups curl dbus expat ffmpeg fontconfig freetype gdk-pixbuf
+ alsaLib atk cairo cups curl dbus expat ffmpeg_3 fontconfig freetype gdk-pixbuf
glib glibc gnome2.GConf gtk2 libopus nspr nss pango stdenv.cc.cc udev x264
libX11 libXScrnSaver libXcomposite libXcursor libXdamage libXext libXfixes
libXi libXrandr libXrender libXtst libpulseaudio libxcb
@@ -30,7 +30,7 @@ in stdenv.mkDerivation rec {
desktopName = "Airtame";
icon = name;
genericName = comment;
- categories = "Application;Network;";
+ categories = "Network;";
};
installPhase = ''
diff --git a/nixpkgs/pkgs/applications/misc/alacritty/default.nix b/nixpkgs/pkgs/applications/misc/alacritty/default.nix
index 9e04a738db3..72e00cb15a7 100644
--- a/nixpkgs/pkgs/applications/misc/alacritty/default.nix
+++ b/nixpkgs/pkgs/applications/misc/alacritty/default.nix
@@ -52,16 +52,16 @@ let
in
rustPlatform.buildRustPackage rec {
pname = "alacritty";
- version = "0.4.3";
+ version = "0.5.0";
src = fetchFromGitHub {
owner = "alacritty";
repo = pname;
rev = "v${version}";
- sha256 = "1b6fspcd8yn1857cgn1m8a828bvjspvrfc2giwsa9ai0ighcqbgl";
+ sha256 = "1948j57xhqvc5y876s929x9rhd6j0xnw5c91g1zqw2rfncn602g2";
};
- cargoSha256 = "1zadnwjqk9kklj0p43azd78kgbva2zihh9wh81w4c5y0kypbchyd";
+ cargoSha256 = "17lyzcj07f0vyki3091vgjd0w8ki11sw5m8gb3bxdph1dl04rria";
nativeBuildInputs = [
cmake
@@ -90,8 +90,6 @@ rustPlatform.buildRustPackage rec {
--replace xdg-open ${xdg_utils}/bin/xdg-open
'';
- postBuild = lib.optionalString stdenv.isDarwin "make app";
-
installPhase = ''
runHook preInstall
@@ -100,7 +98,8 @@ rustPlatform.buildRustPackage rec {
'' + (
if stdenv.isDarwin then ''
mkdir $out/Applications
- cp -r $releaseDir/osx/Alacritty.app $out/Applications/Alacritty.app
+ cp -r extra/osx/Alacritty.app $out/Applications
+ ln -s $out/bin $out/Applications/Alacritty.app/Contents/MacOS
'' else ''
install -D extra/linux/Alacritty.desktop -t $out/share/applications/
install -D extra/logo/compat/alacritty-term.svg $out/share/icons/hicolor/scalable/apps/Alacritty.svg
@@ -121,6 +120,8 @@ rustPlatform.buildRustPackage rec {
install -dm 755 "$out/share/man/man1"
gzip -c extra/alacritty.man > "$out/share/man/man1/alacritty.1.gz"
+ install -Dm 644 alacritty.yml $out/share/doc/alacritty.yml
+
install -dm 755 "$terminfo/share/terminfo/a/"
tic -xe alacritty,alacritty-direct -o "$terminfo/share/terminfo" extra/alacritty.info
mkdir -p $out/nix-support
diff --git a/nixpkgs/pkgs/applications/misc/almanah/default.nix b/nixpkgs/pkgs/applications/misc/almanah/default.nix
index b7b7cfea7c1..7d5c468ab97 100644
--- a/nixpkgs/pkgs/applications/misc/almanah/default.nix
+++ b/nixpkgs/pkgs/applications/misc/almanah/default.nix
@@ -1,6 +1,5 @@
{ stdenv
, fetchurl
-, fetchpatch
, atk
, cairo
, desktop-file-utils
@@ -17,36 +16,29 @@
, libxml2
, meson
, ninja
-, pkgconfig
+, pkg-config
+, python3
, sqlite
, wrapGAppsHook
}:
stdenv.mkDerivation rec {
pname = "almanah";
- version = "0.12.0";
+ version = "0.12.2";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
- sha256 = "09rxx4s4c34d1axza6ayss33v78p44r9bpx058shllh1sf5avpcb";
+ sha256 = "IWYOnOu0C9uQ9k1dgWkJ6Kv+o/jY+6Llfsi4PusHE24=";
};
- patches = [
- # Fix gpgme detection
- # https://gitlab.gnome.org/GNOME/almanah/merge_requests/7
- (fetchpatch {
- url = "https://gitlab.gnome.org/GNOME/almanah/commit/4b979c4145ef2fbceebb3849a70df1d0ceb1bb93.patch";
- sha256 = "q3M+osNWz7AsDQtFju5S7P4wH3cAdzKOPKnEXTJ+k3M=";
- })
- ];
-
nativeBuildInputs = [
desktop-file-utils
gettext
libxml2
meson
ninja
- pkgconfig
+ pkg-config
+ python3
wrapGAppsHook
];
diff --git a/nixpkgs/pkgs/applications/misc/aminal/default.nix b/nixpkgs/pkgs/applications/misc/aminal/default.nix
index dff6b15494b..7f04a93d6a3 100644
--- a/nixpkgs/pkgs/applications/misc/aminal/default.nix
+++ b/nixpkgs/pkgs/applications/misc/aminal/default.nix
@@ -11,7 +11,7 @@
buildGoPackage rec {
pname = "aminal";
- version = "0.8.6";
+ version = "0.9.0";
goPackagePath = "github.com/liamg/aminal";
@@ -30,7 +30,7 @@ buildGoPackage rec {
owner = "liamg";
repo = "aminal";
rev = "v${version}";
- sha256 = "0qhjdckj2kr0vza6qssd9z8dfrsif1qxb1mal1d4wgdsy12lrmwl";
+ sha256 = "0syv9md7blnl6i19zf8s1xjx5vfz6s755fxyg2ply0qc1pwhsj8n";
};
preBuild = ''
diff --git a/nixpkgs/pkgs/applications/misc/appeditor/default.nix b/nixpkgs/pkgs/applications/misc/appeditor/default.nix
index 38b51efa240..ab58f923764 100644
--- a/nixpkgs/pkgs/applications/misc/appeditor/default.nix
+++ b/nixpkgs/pkgs/applications/misc/appeditor/default.nix
@@ -1,5 +1,6 @@
{ stdenv
, fetchFromGitHub
+, nix-update-script
, vala
, meson
, ninja
@@ -51,7 +52,7 @@ stdenv.mkDerivation rec {
'';
passthru = {
- updateScript = pantheon.updateScript {
+ updateScript = nix-update-script {
attrPath = pname;
};
};
diff --git a/nixpkgs/pkgs/applications/misc/archiver/default.nix b/nixpkgs/pkgs/applications/misc/archiver/default.nix
index 0e345b1e273..114021eb78f 100644
--- a/nixpkgs/pkgs/applications/misc/archiver/default.nix
+++ b/nixpkgs/pkgs/applications/misc/archiver/default.nix
@@ -16,11 +16,12 @@ buildGoModule rec {
vendorSha256 = "1ikrgl03r9zkn86kxkqi2kf540g3qzzz24i5wvh6g3d5q49nygl9";
+ doCheck = false;
+
meta = with lib; {
description = "Easily create & extract archives, and compress & decompress files of various formats";
homepage = "https://github.com/mholt/archiver";
license = licenses.mit;
maintainers = with maintainers; [ kalbasit ];
- platforms = platforms.all;
};
-} \ No newline at end of file
+}
diff --git a/nixpkgs/pkgs/applications/misc/audio/wavesurfer/default.nix b/nixpkgs/pkgs/applications/misc/audio/wavesurfer/default.nix
index 0ca01c8d2ae..45746a963b2 100644
--- a/nixpkgs/pkgs/applications/misc/audio/wavesurfer/default.nix
+++ b/nixpkgs/pkgs/applications/misc/audio/wavesurfer/default.nix
@@ -20,9 +20,9 @@ stdenv.mkDerivation {
--prefix PATH : "${stdenv.lib.makeBinPath [ tcl tk ]}"
'';
- meta = {
+ meta = {
description = "Tool for recording, playing, editing, viewing and labeling of audio";
homepage = "http://www.speech.kth.se/wavesurfer/";
- license = "BSD";
+ license = stdenv.lib.licenses.bsd0;
};
}
diff --git a/nixpkgs/pkgs/applications/misc/ausweisapp2/default.nix b/nixpkgs/pkgs/applications/misc/ausweisapp2/default.nix
index 953e12a033d..9f157798a7d 100644
--- a/nixpkgs/pkgs/applications/misc/ausweisapp2/default.nix
+++ b/nixpkgs/pkgs/applications/misc/ausweisapp2/default.nix
@@ -3,13 +3,13 @@
mkDerivation rec {
pname = "AusweisApp2";
- version = "1.20.0";
+ version = "1.20.2";
src = fetchFromGitHub {
owner = "Governikus";
repo = "AusweisApp2";
rev = "${version}";
- sha256 = "0qkwdaxhig4qjim7h20j6ln6w76ycppfc786nd8l69bd1qv46m40";
+ sha256 = "1vibk3wmn54qr2mwz537hrr959y0r1zabp0gsijhzj2mk68g9pnb";
};
nativeBuildInputs = [ cmake pkgconfig ];
diff --git a/nixpkgs/pkgs/applications/misc/autospotting/default.nix b/nixpkgs/pkgs/applications/misc/autospotting/default.nix
index a33261e7a59..f2e922e5b4d 100644
--- a/nixpkgs/pkgs/applications/misc/autospotting/default.nix
+++ b/nixpkgs/pkgs/applications/misc/autospotting/default.nix
@@ -12,8 +12,6 @@ buildGoPackage {
sha256 = "0p48lgig9kblxvgq1kggczkn4qdbx6ciq9c8x0179i80vl4jf7v6";
};
- goDeps = ./deps.nix;
-
# patching path where repository used to exist
postPatch = ''
sed -i "s+github.com/cristim/autospotting/core+github.com/AutoSpotting/AutoSpotting/core+" autospotting.go
diff --git a/nixpkgs/pkgs/applications/misc/autospotting/deps.nix b/nixpkgs/pkgs/applications/misc/autospotting/deps.nix
deleted file mode 100644
index ea744ed6648..00000000000
--- a/nixpkgs/pkgs/applications/misc/autospotting/deps.nix
+++ /dev/null
@@ -1,75 +0,0 @@
-# file generated from Gopkg.lock using dep2nix (https://github.com/nixcloud/dep2nix)
-[
- {
- goPackagePath = "github.com/aws/aws-lambda-go";
- fetch = {
- type = "git";
- url = "https://github.com/aws/aws-lambda-go";
- rev = "2d482ef09017ae953b1e8d5a6ddac5b696663a3c";
- sha256 = "06v2yfvn4sn116lds0526a8mfrsng4vafrdjf1dhpalqarrbdvmz";
- };
- }
- {
- goPackagePath = "github.com/aws/aws-sdk-go";
- fetch = {
- type = "git";
- url = "https://github.com/aws/aws-sdk-go";
- rev = "9333060a8d957db41bff1c80603a802aa674fad8";
- sha256 = "0fnypw6zm6k70fzhm5a8g69ag64rxbrrpdk7l3rkfqd99slyg5kz";
- };
- }
- {
- goPackagePath = "github.com/cristim/ec2-instances-info";
- fetch = {
- type = "git";
- url = "https://github.com/cristim/ec2-instances-info";
- rev = "73c042a5558cd6d8b61fb82502d6f7aec334e9ed";
- sha256 = "1xajrkxqqz5wlbi9w2wdhnk115rbmqxyga29f8v9psq8hzwgi0rg";
- };
- }
- {
- goPackagePath = "github.com/davecgh/go-spew";
- fetch = {
- type = "git";
- url = "https://github.com/davecgh/go-spew";
- rev = "d8f796af33cc11cb798c1aaeb27a4ebc5099927d";
- sha256 = "19z27f306fpsrjdvkzd61w1bdazcdbczjyjck177g33iklinhpvx";
- };
- }
- {
- goPackagePath = "github.com/go-ini/ini";
- fetch = {
- type = "git";
- url = "https://github.com/go-ini/ini";
- rev = "5cf292cae48347c2490ac1a58fe36735fb78df7e";
- sha256 = "0xbnw1nd22q6k863n5gs0nxld15w0p8qxbhfky85akcb5rk1vwi9";
- };
- }
- {
- goPackagePath = "github.com/jmespath/go-jmespath";
- fetch = {
- type = "git";
- url = "https://github.com/jmespath/go-jmespath";
- rev = "0b12d6b5";
- sha256 = "1vv6hph8j6xgv7gwl9vvhlsaaqsm22sxxqmgmldi4v11783pc1ld";
- };
- }
- {
- goPackagePath = "github.com/namsral/flag";
- fetch = {
- type = "git";
- url = "https://github.com/namsral/flag";
- rev = "67f268f20922975c067ed799e4be6bacf152208c";
- sha256 = "1lmxq3z276zrsggpfq9b7yklzzxdyib49zr8sznb1lcqlvxqsr47";
- };
- }
- {
- goPackagePath = "github.com/pkg/errors";
- fetch = {
- type = "git";
- url = "https://github.com/pkg/errors";
- rev = "645ef00459ed84a119197bfb8d8205042c6df63d";
- sha256 = "001i6n71ghp2l6kdl3qq1v2vmghcz3kicv9a5wgcihrzigm75pp5";
- };
- }
-] \ No newline at end of file
diff --git a/nixpkgs/pkgs/applications/misc/batsignal/default.nix b/nixpkgs/pkgs/applications/misc/batsignal/default.nix
new file mode 100644
index 00000000000..56c508eaca9
--- /dev/null
+++ b/nixpkgs/pkgs/applications/misc/batsignal/default.nix
@@ -0,0 +1,25 @@
+{ stdenv, fetchFromGitHub, libnotify, pkg-config, glib }:
+
+stdenv.mkDerivation rec {
+ pname = "batsignal";
+ version = "1.1.2";
+
+ src = fetchFromGitHub {
+ owner = "electrickite";
+ repo = "batsignal";
+ rev = "${version}";
+ sha256 = "0ss5dw7wpqsf96dig6r7x4fhf6brmjdy54jyyf5nk1h9kzw4d69r";
+ };
+
+ buildInputs = [ libnotify glib ];
+ nativeBuildInputs = [ pkg-config ];
+ installFlags = [ "PREFIX=${placeholder "out"}" ];
+
+ meta = with stdenv.lib; {
+ homepage = "https://github.com/electrickite/batsignal";
+ description = "Lightweight battery daemon written in C";
+ license = licenses.isc;
+ maintainers = with maintainers; [ SlothOfAnarchy ];
+ platforms = platforms.linux;
+ };
+}
diff --git a/nixpkgs/pkgs/applications/misc/bemenu/default.nix b/nixpkgs/pkgs/applications/misc/bemenu/default.nix
index 8b17ecea3cb..43362b0394e 100644
--- a/nixpkgs/pkgs/applications/misc/bemenu/default.nix
+++ b/nixpkgs/pkgs/applications/misc/bemenu/default.nix
@@ -11,13 +11,13 @@ assert x11Support -> xlibs != null && xorg != null;
stdenv.mkDerivation rec {
pname = "bemenu";
- version = "0.4.1";
+ version = "0.5.0";
src = fetchFromGitHub {
owner = "Cloudef";
repo = pname;
rev = version;
- sha256 = "1fjcs9d3533ay3nz79cx3c0lmy2chgragr2lhsy0xl2ckr0iins0";
+ sha256 = "1ifq5bk7782b9m6bl111x33fn38rpppdrww7hfavqia9a9gi2sl5";
};
nativeBuildInputs = [ pkgconfig pcre ];
diff --git a/nixpkgs/pkgs/applications/misc/birdtray/default.nix b/nixpkgs/pkgs/applications/misc/birdtray/default.nix
index 5385cf67884..8eb6a168721 100644
--- a/nixpkgs/pkgs/applications/misc/birdtray/default.nix
+++ b/nixpkgs/pkgs/applications/misc/birdtray/default.nix
@@ -7,6 +7,7 @@
, qtbase
, qttools
, qtx11extras
+ , qttranslations
}:
mkDerivation rec {
@@ -20,11 +21,21 @@ mkDerivation rec {
sha256 = "15l8drdmamq1dpqpj0h9ajj2r5vcs23cx421drvhfgs6bqlzd1hl";
};
+ patches = [
+ # See https://github.com/NixOS/nixpkgs/issues/86054
+ ./fix-qttranslations-path.diff
+ ];
+
nativeBuildInputs = [ cmake pkgconfig ];
buildInputs = [
qtbase qttools qtx11extras
];
+ postPatch = ''
+ substituteInPlace src/birdtrayapp.cpp \
+ --subst-var-by qttranslations ${qttranslations}
+ '';
+
meta = with lib; {
description = "Mail system tray notification icon for Thunderbird";
homepage = "https://github.com/gyunaev/birdtray";
diff --git a/nixpkgs/pkgs/applications/misc/birdtray/fix-qttranslations-path.diff b/nixpkgs/pkgs/applications/misc/birdtray/fix-qttranslations-path.diff
new file mode 100644
index 00000000000..2a379b5e274
--- /dev/null
+++ b/nixpkgs/pkgs/applications/misc/birdtray/fix-qttranslations-path.diff
@@ -0,0 +1,13 @@
+diff --git a/src/birdtrayapp.cpp b/src/birdtrayapp.cpp
+index 847b4d3..3a3709a 100644
+--- a/src/birdtrayapp.cpp
++++ b/src/birdtrayapp.cpp
+@@ -130,7 +130,7 @@ bool BirdtrayApp::loadTranslations() {
+ [](QString path) { return path.append("/translations"); });
+ QLocale locale = QLocale::system();
+ bool success = loadTranslation(
+- qtTranslator, locale, "qt", {QLibraryInfo::location(QLibraryInfo::TranslationsPath)});
++ qtTranslator, locale, "qt", {QLatin1String("@qttranslations@/translations")});
+ success &= loadTranslation(dynamicTranslator, locale, "dynamic", locations);
+ success &= loadTranslation(mainTranslator, locale, "main", locations);
+ return success;
diff --git a/nixpkgs/pkgs/applications/misc/bleachbit/default.nix b/nixpkgs/pkgs/applications/misc/bleachbit/default.nix
index 0111f8519e7..3c11c7bfaf5 100644
--- a/nixpkgs/pkgs/applications/misc/bleachbit/default.nix
+++ b/nixpkgs/pkgs/applications/misc/bleachbit/default.nix
@@ -1,5 +1,5 @@
{ stdenv
-, pythonPackages
+, python3Packages
, fetchurl
, gettext
, gobject-introspection
@@ -9,15 +9,15 @@
, libnotify
}:
-pythonPackages.buildPythonApplication rec {
+python3Packages.buildPythonApplication rec {
pname = "bleachbit";
- version = "3.2.0";
+ version = "4.0.0";
format = "other";
src = fetchurl {
url = "mirror://sourceforge/${pname}/${pname}-${version}.tar.bz2";
- sha256 = "1sszpn7ifiry0wwmkzdppzh61zvgrfypm9g7wk6q1ya20qhb5b51";
+ sha256 = "1dn3h6lr9ldbfpvgq9sdlk972sxhwalgj2f377qbqibm3yfxzpil";
};
nativeBuildInputs = [
@@ -32,7 +32,7 @@ pythonPackages.buildPythonApplication rec {
libnotify
];
- propagatedBuildInputs = with pythonPackages; [
+ propagatedBuildInputs = with python3Packages; [
chardet
pygobject3
requests
@@ -51,6 +51,12 @@ pythonPackages.buildPythonApplication rec {
"prefix=${placeholder "out"}"
];
+ # prevent double wrapping from wrapGApps and wrapPythonProgram
+ dontWrapGApps = true;
+ makeWrapperArgs = [
+ ''''${gappsWrapperArgs[@]}''
+ ];
+
strictDeps = false;
meta = with stdenv.lib; {
diff --git a/nixpkgs/pkgs/applications/misc/blender/darwin.patch b/nixpkgs/pkgs/applications/misc/blender/darwin.patch
index 43b96466df2..c426c0b6607 100644
--- a/nixpkgs/pkgs/applications/misc/blender/darwin.patch
+++ b/nixpkgs/pkgs/applications/misc/blender/darwin.patch
@@ -9,7 +9,7 @@ diff a/build_files/cmake/platform/platform_apple.cmake b/build_files/cmake/platf
endif()
if(WITH_OPENAL)
-@@ -79,7 +78,7 @@ endif()
+@@ -86,7 +85,7 @@ endif()
if(WITH_CODEC_SNDFILE)
set(LIBSNDFILE ${LIBDIR}/sndfile)
set(LIBSNDFILE_INCLUDE_DIRS ${LIBSNDFILE}/include)
@@ -18,7 +18,7 @@ diff a/build_files/cmake/platform/platform_apple.cmake b/build_files/cmake/platf
set(LIBSNDFILE_LIBPATH ${LIBSNDFILE}/lib ${LIBDIR}/ffmpeg/lib) # TODO, deprecate
endif()
-@@ -90,7 +89,7 @@ if(WITH_PYTHON)
+@@ -97,7 +96,7 @@ if(WITH_PYTHON)
# normally cached but not since we include them with blender
set(PYTHON_INCLUDE_DIR "${LIBDIR}/python/include/python${PYTHON_VERSION}m")
set(PYTHON_EXECUTABLE "${LIBDIR}/python/bin/python${PYTHON_VERSION}m")
@@ -27,7 +27,7 @@ diff a/build_files/cmake/platform/platform_apple.cmake b/build_files/cmake/platf
set(PYTHON_LIBPATH "${LIBDIR}/python/lib/python${PYTHON_VERSION}")
# set(PYTHON_LINKFLAGS "-u _PyMac_Error") # won't build with this enabled
else()
-@@ -155,10 +154,7 @@ if(WITH_CODEC_FFMPEG)
+@@ -162,10 +161,7 @@ if(WITH_CODEC_FFMPEG)
set(FFMPEG_INCLUDE_DIRS ${FFMPEG}/include)
set(FFMPEG_LIBRARIES
avcodec avdevice avformat avutil
@@ -39,7 +39,7 @@ diff a/build_files/cmake/platform/platform_apple.cmake b/build_files/cmake/platf
set(FFMPEG_LIBPATH ${FFMPEG}/lib)
endif()
-@@ -199,14 +195,14 @@ if(WITH_OPENCOLLADA)
+@@ -206,14 +202,14 @@ if(WITH_OPENCOLLADA)
set(OPENCOLLADA ${LIBDIR}/opencollada)
set(OPENCOLLADA_INCLUDE_DIRS
@@ -60,16 +60,7 @@ diff a/build_files/cmake/platform/platform_apple.cmake b/build_files/cmake/platf
set(OPENCOLLADA_LIBRARIES
OpenCOLLADASaxFrameworkLoader
-lOpenCOLLADAFramework
-@@ -215,7 +211,7 @@ if(WITH_OPENCOLLADA)
- -lMathMLSolver
- -lGeneratedSaxParser
- -lbuffer -lftoa -lUTF
-- ${OPENCOLLADA_LIBPATH}/libxml2.a
-+ xml2
- )
- # PCRE is bundled with openCollada
- # set(PCRE ${LIBDIR}/pcre)
-@@ -276,14 +272,13 @@ if(WITH_BOOST)
+@@ -277,14 +273,13 @@ if(WITH_BOOST)
endif()
if(WITH_INTERNATIONAL OR WITH_CODEC_FFMPEG)
@@ -85,7 +76,7 @@ diff a/build_files/cmake/platform/platform_apple.cmake b/build_files/cmake/platf
${PNG_LIBRARIES}
${JPEG_LIBRARIES}
${TIFF_LIBRARY}
-@@ -306,7 +301,7 @@ endif()
+@@ -307,7 +302,7 @@ endif()
if(WITH_OPENCOLORIO)
set(OPENCOLORIO ${LIBDIR}/opencolorio)
set(OPENCOLORIO_INCLUDE_DIRS ${OPENCOLORIO}/include)
diff --git a/nixpkgs/pkgs/applications/misc/blender/default.nix b/nixpkgs/pkgs/applications/misc/blender/default.nix
index e27aca4fc3d..2190307fbb5 100644
--- a/nixpkgs/pkgs/applications/misc/blender/default.nix
+++ b/nixpkgs/pkgs/applications/misc/blender/default.nix
@@ -1,4 +1,4 @@
-{ config, stdenv, lib, fetchurl, boost, cmake, ffmpeg, gettext, glew
+{ config, stdenv, lib, fetchurl, boost, cmake, ffmpeg_3, gettext, glew
, ilmbase, libXi, libX11, libXext, libXrender
, libjpeg, libpng, libsamplerate, libsndfile
, libtiff, libGLU, libGL, openal, opencolorio, openexr, openimagedenoise, openimageio2, openjpeg, python3Packages
@@ -17,18 +17,18 @@ let python = python3Packages.python; in
stdenv.mkDerivation rec {
pname = "blender";
- version = "2.82a";
+ version = "2.83.5";
src = fetchurl {
url = "https://download.blender.org/source/${pname}-${version}.tar.xz";
- sha256 = "18zbdgas6qf2kmvvlimxgnq7y9kj7hdxcgixrs6fj50x40q01q2d";
+ sha256 = "0xyawly00a59hfdb6b7va84k5fhcv2mxnzd77vs22bzi9y7sap43";
};
patches = lib.optional stdenv.isDarwin ./darwin.patch;
nativeBuildInputs = [ cmake ] ++ optional cudaSupport addOpenGLRunpath;
buildInputs =
- [ boost ffmpeg gettext glew ilmbase
+ [ boost ffmpeg_3 gettext glew ilmbase
freetype libjpeg libpng libsamplerate libsndfile libtiff
opencolorio openexr openimagedenoise openimageio2 openjpeg python zlib fftw jemalloc
alembic
@@ -57,6 +57,10 @@ stdenv.mkDerivation rec {
--replace '${"$"}{LIBDIR}/python' \
'${python}'
substituteInPlace build_files/cmake/platform/platform_apple.cmake \
+ --replace 'set(PYTHON_VERSION 3.7)' \
+ 'set(PYTHON_VERSION ${python.pythonVersion})' \
+ --replace '${"$"}{PYTHON_VERSION}m' \
+ '${"$"}{PYTHON_VERSION}' \
--replace '${"$"}{LIBDIR}/python' \
'${python}' \
--replace '${"$"}{LIBDIR}/opencollada' \
@@ -86,9 +90,9 @@ stdenv.mkDerivation rec {
"-DWITH_SDL=OFF"
"-DWITH_OPENCOLORIO=ON"
"-DWITH_OPENSUBDIV=ON"
- "-DPYTHON_LIBRARY=${python.libPrefix}m"
+ "-DPYTHON_LIBRARY=${python.libPrefix}"
"-DPYTHON_LIBPATH=${python}/lib"
- "-DPYTHON_INCLUDE_DIR=${python}/include/${python.libPrefix}m"
+ "-DPYTHON_INCLUDE_DIR=${python}/include/${python.libPrefix}"
"-DPYTHON_VERSION=${python.pythonVersion}"
"-DWITH_PYTHON_INSTALL=OFF"
"-DWITH_PYTHON_INSTALL_NUMPY=OFF"
@@ -142,6 +146,6 @@ stdenv.mkDerivation rec {
# say: "We've decided to cancel the BL offering for an indefinite period."
license = licenses.gpl2Plus;
platforms = [ "x86_64-linux" "x86_64-darwin" ];
- maintainers = [ maintainers.goibhniu ];
+ maintainers = with maintainers; [ goibhniu veprbl ];
};
}
diff --git a/nixpkgs/pkgs/applications/misc/break-time/default.nix b/nixpkgs/pkgs/applications/misc/break-time/default.nix
new file mode 100644
index 00000000000..4bcc4de5157
--- /dev/null
+++ b/nixpkgs/pkgs/applications/misc/break-time/default.nix
@@ -0,0 +1,45 @@
+{ fetchFromGitHub
+, glib
+, gtk3
+, openssl
+, pkg-config
+, python3
+, rustPlatform
+, stdenv
+, wrapGAppsHook
+}:
+
+rustPlatform.buildRustPackage rec {
+ pname = "break-time";
+ version = "0.1.1";
+
+ src = fetchFromGitHub {
+ owner = "cdepillabout";
+ repo = "break-time";
+ rev = "v${version}";
+ sha256 = "18p9gfp0inbnjsc7af38fghyklr7qnl2kkr25isfy9d5m8cpxqc6";
+ };
+
+ cargoSha256 = "0brmgrxhspcpcarm4lvnl95dw2n96r20w736giv18xcg7d5jmgca";
+
+ nativeBuildInputs = [
+ pkg-config
+ python3 # needed for Rust xcb package
+ wrapGAppsHook
+ ];
+
+ buildInputs = [
+ glib
+ gtk3
+ openssl
+ ];
+
+ meta = with stdenv.lib; {
+ description = "Break timer that forces you to take a break";
+ homepage = "https://github.com/cdepillabout/break-time";
+ license = with licenses; [ mit ];
+ maintainers = with maintainers; [ cdepillabout ];
+ platforms = platforms.linux;
+ };
+}
+
diff --git a/nixpkgs/pkgs/applications/misc/buku/default.nix b/nixpkgs/pkgs/applications/misc/buku/default.nix
index f4018cff5f4..9b8f531e800 100644
--- a/nixpkgs/pkgs/applications/misc/buku/default.nix
+++ b/nixpkgs/pkgs/applications/misc/buku/default.nix
@@ -1,14 +1,14 @@
{ stdenv, python3, fetchFromGitHub }:
with python3.pkgs; buildPythonApplication rec {
- version = "4.3";
+ version = "4.4";
pname = "buku";
src = fetchFromGitHub {
owner = "jarun";
repo = "buku";
rev = "v${version}";
- sha256 = "1cq508ymak3g5fhi1n4bdiiqkc86s2l3k4dvzw842vv2x0441cac";
+ sha256 = "10r5f1n0vcxxmqqqsgmlvibwg1xffijrr2id6r140rgiyhprz556";
};
checkInputs = [
@@ -38,6 +38,7 @@ with python3.pkgs; buildPythonApplication rec {
click
html5lib
vcrpy
+ toml
];
postPatch = ''
diff --git a/nixpkgs/pkgs/applications/misc/calibre/default.nix b/nixpkgs/pkgs/applications/misc/calibre/default.nix
index 869785ef82a..92a491a0056 100644
--- a/nixpkgs/pkgs/applications/misc/calibre/default.nix
+++ b/nixpkgs/pkgs/applications/misc/calibre/default.nix
@@ -16,7 +16,7 @@
, hyphen
, unrarSupport ? false
, chmlib
-, python2Packages
+, pythonPackages
, libusb1
, libmtp
, xdg_utils
@@ -24,17 +24,13 @@
, removeReferencesTo
}:
-let
- pypkgs = python2Packages;
-
-in
mkDerivation rec {
pname = "calibre";
- version = "4.15.0";
+ version = "4.23.0";
src = fetchurl {
url = "https://download.calibre-ebook.com/${version}/${pname}-${version}.tar.xz";
- sha256 = "0m8mvyw5c1khd54jx896w6nfwaydmpi3cb6wi5p2a0hxdksqgrkm";
+ sha256 = "sha256-Ft5RRzzw4zb5RqVyUaHk9Pu6H4V/F9j8FKoTLn61lRg=";
};
patches = [
@@ -47,7 +43,7 @@ mkDerivation rec {
] ++ lib.optional (!unrarSupport) ./dont_build_unrar_plugin.patch;
prePatch = ''
- sed -i "/pyqt_sip_dir/ s:=.*:= '${pypkgs.pyqt5_with_qtwebkit}/share/sip/PyQt5':" \
+ sed -i "/pyqt_sip_dir/ s:=.*:= '${pythonPackages.pyqt5}/share/sip/PyQt5':" \
setup/build_environment.py
# Remove unneeded files and libs
@@ -61,52 +57,49 @@ mkDerivation rec {
nativeBuildInputs = [ pkgconfig qmake removeReferencesTo ];
- CALIBRE_PY3_PORT = builtins.toString pypkgs.isPy3k;
+ CALIBRE_PY3_PORT = builtins.toString pythonPackages.isPy3k;
buildInputs = [
- poppler_utils
- libpng
+ chmlib
+ fontconfig
+ hunspell
+ hyphen
+ icu
imagemagick
libjpeg
- fontconfig
+ libmtp
+ libpng
+ libusb1
podofo
+ poppler_utils
qtbase
- chmlib
- icu
- hunspell
- hyphen
sqlite
- libusb1
- libmtp
xdg_utils
] ++ (
- with pypkgs; [
+ with pythonPackages; [
apsw
- cssselect
+ beautifulsoup4
css-parser
+ cssselect
dateutil
dnspython
feedparser
+ html2text
html5-parser
lxml
markdown
+ mechanize
+ msgpack
netifaces
pillow
- python
pyqt5
- sip
- regex
- msgpack
- beautifulsoup4
- html2text
pyqtwebengine
+ python
+ regex
+ sip
# the following are distributed with calibre, but we use upstream instead
odfpy
]
- ) ++ lib.optionals (!pypkgs.isPy3k) (
- with pypkgs; [
- mechanize
- ]
);
installPhase = ''
@@ -121,18 +114,17 @@ mkDerivation rec {
export FC_LIB_DIR=${fontconfig.lib}/lib
export PODOFO_INC_DIR=${podofo.dev}/include/podofo
export PODOFO_LIB_DIR=${podofo.lib}/lib
- export SIP_BIN=${pypkgs.sip}/bin/sip
+ export SIP_BIN=${pythonPackages.sip}/bin/sip
export XDG_DATA_HOME=$out/share
export XDG_UTILS_INSTALL_MODE="user"
- ${pypkgs.python.interpreter} setup.py install --root=$out \
+ ${pythonPackages.python.interpreter} setup.py install --root=$out \
--prefix=$out \
--libdir=$out/lib \
--staging-root=$out \
--staging-libdir=$out/lib \
--staging-sharedir=$out/share
-
PYFILES="$out/bin/* $out/lib/calibre/calibre/web/feeds/*.py
$out/lib/calibre/calibre/ebooks/metadata/*.py
$out/lib/calibre/calibre/ebooks/rtf2xml/*.py"
@@ -154,7 +146,8 @@ mkDerivation rec {
# 2018-11-06) was a single string like the following:
# /nix/store/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx-podofo-0.9.6-dev/include/podofo/base/PdfVariant.h
preFixup = ''
- remove-references-to -t ${podofo.dev} $out/lib/calibre/calibre/plugins/podofo.so
+ remove-references-to -t ${podofo.dev} \
+ $out/lib/calibre/calibre/plugins${lib.optionalString pythonPackages.isPy3k "/3"}/podofo.so
for program in $out/bin/*; do
wrapProgram $program \
diff --git a/nixpkgs/pkgs/applications/misc/cgminer/default.nix b/nixpkgs/pkgs/applications/misc/cgminer/default.nix
deleted file mode 100644
index 09236565d59..00000000000
--- a/nixpkgs/pkgs/applications/misc/cgminer/default.nix
+++ /dev/null
@@ -1,45 +0,0 @@
-{ fetchgit, stdenv, pkgconfig, libtool, autoconf, automake
-, curl, ncurses, ocl-icd, opencl-headers, xorg, jansson }:
-
-stdenv.mkDerivation {
- version = "3.7.2";
- pname = "cgminer";
-
- src = fetchgit {
- url = "https://github.com/ckolivas/cgminer.git";
- rev = "refs/tags/v3.7.2";
- sha256 = "1xfzx91dpwjj1vmhas3v9ybs0p2i74lrhinijmpav15acfggm9fq";
- };
-
- nativeBuildInputs = [ pkgconfig ];
- buildInputs = [
- autoconf automake libtool curl ncurses ocl-icd opencl-headers
- xorg.libX11 xorg.libXext xorg.libXinerama jansson
- ];
- configureScript = "./autogen.sh";
- configureFlags = [ "--enable-scrypt" "--enable-opencl" ];
- NIX_LDFLAGS = "-lgcc_s -lX11 -lXext -lXinerama";
-
- postBuild = ''
- gcc api-example.c -o cgminer-api
- '';
-
- postInstall = ''
- cp cgminer-api $out/bin/
- chmod 444 $out/bin/*.cl
- '';
-
- meta = with stdenv.lib; {
- description = "CPU/GPU miner in c for bitcoin";
- longDescription= ''
- This is a multi-threaded multi-pool GPU, FPGA and ASIC miner with ATI GPU
- monitoring, (over)clocking and fanspeed support for bitcoin and derivative
- coins. Do not use on multiple block chains at the same time!
- '';
- homepage = "https://github.com/ckolivas/cgminer";
- license = licenses.gpl3;
- maintainers = [ maintainers.offline ];
- platforms = stdenv.lib.platforms.linux;
- hydraPlatforms = [];
- };
-}
diff --git a/nixpkgs/pkgs/applications/misc/cheat/default.nix b/nixpkgs/pkgs/applications/misc/cheat/default.nix
index ec4d71a0dce..e3ffdef44d0 100644
--- a/nixpkgs/pkgs/applications/misc/cheat/default.nix
+++ b/nixpkgs/pkgs/applications/misc/cheat/default.nix
@@ -3,13 +3,13 @@
buildGoModule rec {
pname = "cheat";
- version = "3.10.1";
+ version = "4.0.4";
src = fetchFromGitHub {
owner = "cheat";
repo = "cheat";
rev = version;
- sha256 = "0indvycj972wng979mvia8mrb7bwdfay7wxq3lnj05qyxqafj5h2";
+ sha256 = "0cracw6pja3d7z6ip6lbmpvfxlxcnh3fbgh5ba8c87bhfz99idqn";
};
subPackages = [ "cmd/cheat" ];
@@ -23,6 +23,8 @@ buildGoModule rec {
vendorSha256 = null;
+ doCheck = false;
+
meta = with stdenv.lib; {
description = "Create and view interactive cheatsheets on the command-line";
maintainers = with maintainers; [ mic92 ];
diff --git a/nixpkgs/pkgs/applications/misc/cherrytree/default.nix b/nixpkgs/pkgs/applications/misc/cherrytree/default.nix
index d2ade055d6f..c74ac5ffb30 100644
--- a/nixpkgs/pkgs/applications/misc/cherrytree/default.nix
+++ b/nixpkgs/pkgs/applications/misc/cherrytree/default.nix
@@ -2,13 +2,13 @@
pythonPackages.buildPythonApplication rec {
pname = "cherrytree";
- version = "0.39.3";
+ version = "0.39.4";
src = fetchFromGitHub {
owner = "giuspen";
repo = "cherrytree";
rev = version;
- sha256 = "1k9i7acpphx0if6ij2p9fkmj638ry6hcyr1rdr039a8zi8hq98gz";
+ sha256 = "1wycgn1f3b858qb6kn2bsaabak8n52qkpd24w54xz6fjizlnw7x0";
};
diff --git a/nixpkgs/pkgs/applications/misc/chewing-editor/default.nix b/nixpkgs/pkgs/applications/misc/chewing-editor/default.nix
new file mode 100644
index 00000000000..b70f9a2e7d8
--- /dev/null
+++ b/nixpkgs/pkgs/applications/misc/chewing-editor/default.nix
@@ -0,0 +1,30 @@
+{ stdenv, mkDerivation, fetchFromGitHub, cmake, pkgconfig, libchewing, qtbase
+, qttools }:
+
+mkDerivation rec {
+ pname = "chewing-editor";
+ version = "0.1.1";
+
+ src = fetchFromGitHub {
+ owner = "chewing";
+ repo = "${pname}";
+ rev = "${version}";
+ sha256 = "0kc2hjx1gplm3s3p1r5sn0cyxw3k1q4gyv08q9r6rs4sg7xh2w7w";
+ };
+
+ doCheck = true;
+
+ nativeBuildInputs = [ cmake pkgconfig ];
+ buildInputs = [ libchewing qtbase qttools ];
+
+ meta = with stdenv.lib; {
+ description = "Cross platform chewing user phrase editor";
+ longDescription = ''
+ chewing-editor is a cross platform chewing user phrase editor. It provides a easy way to manage user phrase. With it, user can customize their user phrase to increase input performance.
+ '';
+ homepage = "https://github.com/chewing/chewing-editor";
+ license = licenses.gpl2Plus;
+ maintainers = [ maintainers.ShamrockLee ];
+ platforms = platforms.all;
+ };
+}
diff --git a/nixpkgs/pkgs/applications/misc/cipher/default.nix b/nixpkgs/pkgs/applications/misc/cipher/default.nix
index eef05fe91d2..630519ff2bf 100644
--- a/nixpkgs/pkgs/applications/misc/cipher/default.nix
+++ b/nixpkgs/pkgs/applications/misc/cipher/default.nix
@@ -1,5 +1,6 @@
{ stdenv
, fetchFromGitHub
+, nix-update-script
, meson
, ninja
, vala
@@ -48,7 +49,7 @@ stdenv.mkDerivation rec {
'';
passthru = {
- updateScript = pantheon.updateScript {
+ updateScript = nix-update-script {
attrPath = pname;
};
};
diff --git a/nixpkgs/pkgs/applications/misc/clight/clightd.nix b/nixpkgs/pkgs/applications/misc/clight/clightd.nix
index c5083f2379c..c06d00ebb52 100644
--- a/nixpkgs/pkgs/applications/misc/clight/clightd.nix
+++ b/nixpkgs/pkgs/applications/misc/clight/clightd.nix
@@ -9,13 +9,13 @@
stdenv.mkDerivation rec {
pname = "clightd";
- version = "4.1";
+ version = "4.2";
src = fetchFromGitHub {
owner = "FedeDP";
repo = "Clightd";
rev = version;
- sha256 = "0pqnn52nn22k49f5cw4jcr8vcbff28n56i8fizg1mmfshy8pn891";
+ sha256 = "07z1m1x7nnczd51sg7m2lb6rb2c37c8glsnbrlq44hx176sj9cmj";
};
# dbus-1.pc has datadir=/etc
diff --git a/nixpkgs/pkgs/applications/misc/clight/default.nix b/nixpkgs/pkgs/applications/misc/clight/default.nix
index ed8767419d4..2502459af10 100644
--- a/nixpkgs/pkgs/applications/misc/clight/default.nix
+++ b/nixpkgs/pkgs/applications/misc/clight/default.nix
@@ -6,13 +6,13 @@
stdenv.mkDerivation rec {
pname = "clight";
- version = "4.0";
+ version = "4.1";
src = fetchFromGitHub {
owner = "FedeDP";
repo = "Clight";
rev = version;
- sha256 = "101fp9kwmfmfffpdvv41wf96kdjw0b16xk49g43w32a5wlr74zrq";
+ sha256 = "1j7va217g1k8lxl3lly13js8myf0shjc6knalq8q6lakc6j1mkxx";
};
# bash-completion.pc completionsdir=${bash-completion.out}
diff --git a/nixpkgs/pkgs/applications/misc/clipmenu/default.nix b/nixpkgs/pkgs/applications/misc/clipmenu/default.nix
index 4bc56f0c452..54c2ab48f65 100644
--- a/nixpkgs/pkgs/applications/misc/clipmenu/default.nix
+++ b/nixpkgs/pkgs/applications/misc/clipmenu/default.nix
@@ -1,24 +1,30 @@
-{ clipnotify, makeWrapper, xsel, dmenu, utillinux, gawk, stdenv, fetchFromGitHub, lib }:
+{ clipnotify, makeWrapper, xsel, dmenu, utillinux, gawk, stdenv, fetchFromGitHub, fetchpatch, lib }:
let
runtimePath = lib.makeBinPath [ clipnotify xsel dmenu utillinux gawk ];
in
stdenv.mkDerivation rec {
pname = "clipmenu";
- version = "6.0.1";
+ version = "6.1.0";
src = fetchFromGitHub {
owner = "cdown";
repo = "clipmenu";
rev = version;
- sha256 = "0053j4i14lz5m2bzc5sch5id5ilr1bl196mp8fp0q8x74w3vavs9";
+ sha256 = "0ddj5xcwrdb2qvrndvhv8j6swcqc8dvv5i00pqk35rfk5mrl4hwv";
};
-
+
+ patches = [
+ (fetchpatch {
+ url = "https://github.com/cdown/clipmenu/commit/443b58583ef216e2405e4a38d401f7c36386d21e.patch";
+ sha256 = "12m4rpw7jbr31c919llbsmn8dcf7yh9aijln4iym6h2lylzqzzdz";
+ })
+ ];
+
+ makeFlags = [ "PREFIX=$(out)" ];
buildInputs = [ makeWrapper ];
+ nativeBuildInputs = [ xsel clipnotify ];
installPhase = ''
- mkdir -p $out/bin
- cp clipdel clipmenu clipmenud $out/bin
-
for bin in $out/bin/*; do
wrapProgram "$bin" --prefix PATH : "${runtimePath}"
done
diff --git a/nixpkgs/pkgs/applications/misc/cointop/default.nix b/nixpkgs/pkgs/applications/misc/cointop/default.nix
index ef897d2ea59..a74a3962996 100644
--- a/nixpkgs/pkgs/applications/misc/cointop/default.nix
+++ b/nixpkgs/pkgs/applications/misc/cointop/default.nix
@@ -2,17 +2,19 @@
buildGoPackage rec {
pname = "cointop";
- version = "1.4.4";
+ version = "1.5.4";
src = fetchFromGitHub {
owner = "miguelmota";
repo = pname;
- rev = version;
- sha256 = "12yi1lmyd5y4cgcjclkczf93jj7wd6k8aqnhq21dd1mx65l77swv";
+ rev = "v${version}";
+ sha256 = "1gkrwh5g69mywlllszy310xpahr8rz8nghjjpiamd85djf1iz43b";
};
goPackagePath = "github.com/miguelmota/cointop";
+ buildFlagsArray = [ "-ldflags=-s -w -X ${goPackagePath}/cointop.version=${version}" ];
+
meta = with lib; {
description = "The fastest and most interactive terminal based UI application for tracking cryptocurrencies";
longDescription = ''
diff --git a/nixpkgs/pkgs/applications/misc/coolreader/default.nix b/nixpkgs/pkgs/applications/misc/coolreader/default.nix
new file mode 100644
index 00000000000..c3efed72cb0
--- /dev/null
+++ b/nixpkgs/pkgs/applications/misc/coolreader/default.nix
@@ -0,0 +1,26 @@
+{ mkDerivation, fetchFromGitHub, cmake, pkg-config, lib,
+ qttools, fribidi, libunibreak }:
+
+mkDerivation rec {
+ pname = "coolreader";
+ version = "3.2.45";
+
+ src = fetchFromGitHub {
+ owner = "buggins";
+ repo = pname;
+ rev = "cr${version}";
+ sha256 = "0nkk4d0j04yjwanjszq8h8hvx87rnwax2k6akm4bpjxwpcs4icws";
+ };
+
+ nativeBuildInputs = [ cmake pkg-config ];
+
+ buildInputs = [ qttools fribidi libunibreak ];
+
+ meta = with lib; {
+ homepage = "https://github.com/buggins/coolreader";
+ description = "Cross platform open source e-book reader";
+ license = licenses.gpl2Plus; # see https://github.com/buggins/coolreader/issues/80
+ maintainers = with maintainers; [ gebner ];
+ platforms = platforms.all;
+ };
+}
diff --git a/nixpkgs/pkgs/applications/misc/copyq/default.nix b/nixpkgs/pkgs/applications/misc/copyq/default.nix
index fb177e8278f..7cf89a74e10 100644
--- a/nixpkgs/pkgs/applications/misc/copyq/default.nix
+++ b/nixpkgs/pkgs/applications/misc/copyq/default.nix
@@ -5,13 +5,13 @@
mkDerivation rec {
pname = "CopyQ";
- version = "3.11.1";
+ version = "3.12.0";
src = fetchFromGitHub {
owner = "hluk";
repo = "CopyQ";
rev = "v${version}";
- sha256 = "1xxf8d220pa77195d9f3l3scvvyqsh1pvlrbw4cq6ydj9qbp5kf0";
+ sha256 = "04jidibf0b80c5vd659pz2wibmggjyyj9yz2bw7j4g84hwraksxb";
};
nativeBuildInputs = [ cmake ];
diff --git a/nixpkgs/pkgs/applications/misc/cpu-x/default.nix b/nixpkgs/pkgs/applications/misc/cpu-x/default.nix
index fb81bbdd40c..a92ca30c5d8 100644
--- a/nixpkgs/pkgs/applications/misc/cpu-x/default.nix
+++ b/nixpkgs/pkgs/applications/misc/cpu-x/default.nix
@@ -3,13 +3,13 @@
stdenv.mkDerivation rec {
pname = "cpu-x";
- version = "4.0.0";
+ version = "4.0.1";
src = fetchFromGitHub {
owner = "X0rg";
repo = "CPU-X";
rev = "v${version}";
- sha256 = "00xngmlayblvkg3l0rcfpxmnkkdz49ydh4smlhpii23gqii0rds3";
+ sha256 = "191zkkswlbbsw492yygc3idf7wh3bxs97drrqvqqw0mqvrzykxm3";
};
nativeBuildInputs = [ cmake pkgconfig wrapGAppsHook nasm makeWrapper ];
diff --git a/nixpkgs/pkgs/applications/misc/cura/default.nix b/nixpkgs/pkgs/applications/misc/cura/default.nix
index 1b5c7c23956..c0aa0a481bd 100644
--- a/nixpkgs/pkgs/applications/misc/cura/default.nix
+++ b/nixpkgs/pkgs/applications/misc/cura/default.nix
@@ -2,20 +2,20 @@
mkDerivation rec {
pname = "cura";
- version = "4.6.1";
+ version = "4.7.1";
src = fetchFromGitHub {
owner = "Ultimaker";
repo = "Cura";
rev = version;
- sha256 = "0h1r9caa579d3gfpcmch54rdbkg5df64ds2v84iqsbxwjp0rmn4n";
+ sha256 = "19an168iad3cb5w8i71c0wbr79qnz5qnpxqx1j6dgh64qz6ffn2r";
};
materials = fetchFromGitHub {
owner = "Ultimaker";
repo = "fdm_materials";
rev = version;
- sha256 = "1k5c3qmixhpz3z2yi0fysxcyyf1yhcwmdlrcypkw827lhsialqp4";
+ sha256 = "1w6i0dlff8b30q987x3y0zv8847fc8ppfcr9vi982msmv284c89z";
};
buildInputs = [ qtbase qtquickcontrols2 qtgraphicaleffects ];
diff --git a/nixpkgs/pkgs/applications/misc/cura/plugins.nix b/nixpkgs/pkgs/applications/misc/cura/plugins.nix
index 9fbe647046c..9082feb38a7 100644
--- a/nixpkgs/pkgs/applications/misc/cura/plugins.nix
+++ b/nixpkgs/pkgs/applications/misc/cura/plugins.nix
@@ -6,13 +6,13 @@ let
octoprint = stdenv.mkDerivation rec {
pname = "Cura-OctoPrintPlugin";
- version = "3.5.12";
+ version = "3.5.16";
src = fetchFromGitHub {
owner = "fieldOfView";
repo = pname;
- rev = "ad522c0b7ead5fbe28da686a3cc75e351274c2bc";
- sha256 = "0ln11ng32bh0smfsk54mv2j3sadh0gwf031nmm95zrvbj9cr6yc0";
+ rev = "8affa8aa9796cb37129d3b7222fff03f86c936cd";
+ sha256 = "0l4qfcashkdmpdm8nm3klz6hmi1f0bmbpb9b1yn4mvg0fam6c5xi";
};
propagatedBuildInputs = with python3Packages; [
diff --git a/nixpkgs/pkgs/applications/misc/curaengine/default.nix b/nixpkgs/pkgs/applications/misc/curaengine/default.nix
index 0a4ec62ca78..5cc5db3115f 100644
--- a/nixpkgs/pkgs/applications/misc/curaengine/default.nix
+++ b/nixpkgs/pkgs/applications/misc/curaengine/default.nix
@@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "curaengine";
- version = "4.6.1";
+ version = "4.7.1";
src = fetchFromGitHub {
owner = "Ultimaker";
repo = "CuraEngine";
rev = version;
- sha256 = "1fr151hmdg2lhk9pbpan1hb1pafj784nijr4pz646ljmjh12vfk2";
+ sha256 = "177fk6j4gn3ssi8j1qxj8p4486f7jkz328vc75agxnh7vhd4mwsm";
};
nativeBuildInputs = [ cmake ];
diff --git a/nixpkgs/pkgs/applications/misc/dbeaver/default.nix b/nixpkgs/pkgs/applications/misc/dbeaver/default.nix
index 75edce66b94..e8a04aa2e14 100644
--- a/nixpkgs/pkgs/applications/misc/dbeaver/default.nix
+++ b/nixpkgs/pkgs/applications/misc/dbeaver/default.nix
@@ -7,7 +7,7 @@
stdenv.mkDerivation rec {
pname = "dbeaver-ce";
- version = "7.0.5";
+ version = "7.2.0";
desktopItem = makeDesktopItem {
name = "dbeaver";
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
desktopName = "dbeaver";
comment = "SQL Integrated Development Environment";
genericName = "SQL Integrated Development Environment";
- categories = "Application;Development;";
+ categories = "Development;";
};
buildInputs = [
@@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
src = fetchurl {
url = "https://dbeaver.io/files/${version}/dbeaver-ce-${version}-linux.gtk.x86_64.tar.gz";
- sha256 = "082a0dszdlynpf7lrkwijwcs2x8xmbzrjr8rrwmrmkznhzj50gqf";
+ sha256 = "0zpxsdzhn5fsrlq04v5kvkrgf4dsj5zmpypj9awsd2mjcbp6yxd7";
};
installPhase = ''
diff --git a/nixpkgs/pkgs/applications/misc/ddcui/default.nix b/nixpkgs/pkgs/applications/misc/ddcui/default.nix
new file mode 100644
index 00000000000..1ec288c678a
--- /dev/null
+++ b/nixpkgs/pkgs/applications/misc/ddcui/default.nix
@@ -0,0 +1,42 @@
+{ lib
+, mkDerivation
+, fetchFromGitHub
+, cmake
+, pkg-config
+, qtbase
+, qttools
+, ddcutil
+}:
+
+mkDerivation rec {
+ pname = "ddcui";
+ version = "0.1.2";
+
+ src = fetchFromGitHub {
+ owner = "rockowitz";
+ repo = "ddcui";
+ rev = "v${version}";
+ sha256 = "0myma1zw6dlygv3xbin662d91zcnwss10syf12q2fppkrd8qdgqf";
+ };
+
+ nativeBuildInputs = [
+ # Using cmake instead of the also-supported qmake because ddcui's qmake
+ # file is not currently written to support PREFIX installations.
+ cmake
+ pkg-config
+ ];
+
+ buildInputs = [
+ qtbase
+ qttools
+ ddcutil
+ ];
+
+ meta = with lib; {
+ description = "Graphical user interface for ddcutil - control monitor settings";
+ homepage = "https://www.ddcutil.com/ddcui_main/";
+ license = licenses.gpl2;
+ maintainers = with maintainers; [ nh2 ];
+ platforms = with platforms; linux;
+ };
+}
diff --git a/nixpkgs/pkgs/applications/misc/ddgr/default.nix b/nixpkgs/pkgs/applications/misc/ddgr/default.nix
index 82730842bac..1cac8811103 100644
--- a/nixpkgs/pkgs/applications/misc/ddgr/default.nix
+++ b/nixpkgs/pkgs/applications/misc/ddgr/default.nix
@@ -1,14 +1,14 @@
{ stdenv, fetchFromGitHub, python3, installShellFiles }:
stdenv.mkDerivation rec {
- version = "1.8.1";
+ version = "1.9";
pname = "ddgr";
src = fetchFromGitHub {
owner = "jarun";
repo = "ddgr";
rev = "v${version}";
- sha256 = "0668wzh1gqin0xscy3fly9hz370n2ny175f3kya9bsld0x0jkd5p";
+ sha256 = "0qbdq7k0mmvkjp6qzz88n7vf29liqn6y5w4y39ldqdc8hzw5sld7";
};
nativeBuildInputs = [ installShellFiles ];
diff --git a/nixpkgs/pkgs/applications/misc/devdocs-desktop/default.nix b/nixpkgs/pkgs/applications/misc/devdocs-desktop/default.nix
new file mode 100644
index 00000000000..7c172696133
--- /dev/null
+++ b/nixpkgs/pkgs/applications/misc/devdocs-desktop/default.nix
@@ -0,0 +1,43 @@
+{ stdenv, appimageTools, fetchurl, gsettings-desktop-schemas, gtk3 }:
+
+let
+ version = "0.7.1";
+ pname = "devdocs-desktop";
+ name = "${pname}-${version}";
+
+ src = fetchurl {
+ url = "https://github.com/egoist/devdocs-desktop/releases/download/v${version}/DevDocs-${version}.AppImage";
+ sha256 = "5bba99a34c90a65eff67aface0b7446cbf43d620a1c195f27e7bb33ab6d3d0c2";
+ };
+
+ appimageContents = appimageTools.extractType2 {
+ inherit name src;
+ };
+
+in appimageTools.wrapType2 rec {
+ inherit name src;
+
+ profile = ''
+ export XDG_DATA_DIRS=${gsettings-desktop-schemas}/share/gsettings-schemas/${gsettings-desktop-schemas.name}:${gtk3}/share/gsettings-schemas/${gtk3.name}:$XDG_DATA_DIRS
+ '';
+
+ extraInstallCommands = ''
+ mv $out/bin/${name} $out/bin/${pname}
+ install -m 444 -D ${appimageContents}/devdocs.desktop $out/share/applications/devdocs.desktop
+ install -m 444 -D ${appimageContents}/devdocs.png $out/share/icons/hicolor/0x0/apps/devdocs.png
+ substituteInPlace $out/share/applications/devdocs.desktop \
+ --replace 'Exec=AppRun' 'Exec=${pname}'
+ '';
+
+ meta = with stdenv.lib; {
+ description = "A full-featured desktop app for DevDocs.io";
+ longDescription = ''
+ DevDocs.io combines multiple API documentations in a fast, organized, and searchable interface. This is an unofficial desktop app for it.
+ '';
+ homepage = "https://github.com/egoist/devdocs-desktop";
+ downloadPage = "https://github.com/egoist/devdocs-desktop/releases";
+ license = licenses.mit;
+ maintainers = with maintainers; [ ymarkus ];
+ platforms = [ "x86_64-linux" ];
+ };
+}
diff --git a/nixpkgs/pkgs/applications/misc/direwolf/default.nix b/nixpkgs/pkgs/applications/misc/direwolf/default.nix
deleted file mode 100644
index 623e6dc0fbe..00000000000
--- a/nixpkgs/pkgs/applications/misc/direwolf/default.nix
+++ /dev/null
@@ -1,43 +0,0 @@
-{ stdenv, fetchFromGitHub
-, espeak, alsaLib, perl
-, python }:
-
-with stdenv.lib;
-
-stdenv.mkDerivation rec {
- pname = "direwolf";
- version = "1.4";
-
- src = fetchFromGitHub {
- owner = "wb2osz";
- repo = "direwolf";
- rev = version;
- sha256 = "033sffjs2dz48077hc58jr4lxxs8md1fyfh4lig6ib7pyigiv1y0";
- };
-
- buildInputs = [
- espeak perl python
- ] ++ (optional stdenv.isLinux alsaLib);
-
- postPatch = ''
- for i in Makefile.*; do
- substituteInPlace "$i" \
- --replace /usr/share $out/share
- done
-
- substituteInPlace dwespeak.sh \
- --replace espeak ${espeak}/bin/espeak
- '';
-
- preInstall = ''
- mkdir -p $out/bin
- '';
- installFlags = [ "INSTALLDIR=$(out)" ];
-
- meta = {
- description = "A Soundcard Packet TNC, APRS Digipeater, IGate, APRStt gateway";
- homepage = "https://github.com/wb2osz/direwolf/";
- license = licenses.gpl2;
- platforms = platforms.unix;
- };
-}
diff --git a/nixpkgs/pkgs/applications/misc/dmenu/wayland.nix b/nixpkgs/pkgs/applications/misc/dmenu/wayland.nix
index ca2e6f56e84..250a7567d78 100644
--- a/nixpkgs/pkgs/applications/misc/dmenu/wayland.nix
+++ b/nixpkgs/pkgs/applications/misc/dmenu/wayland.nix
@@ -4,13 +4,13 @@
stdenv.mkDerivation rec {
pname = "dmenu-wayland-unstable";
- version = "2020-04-03";
+ version = "2020-07-06";
src = fetchFromGitHub {
owner = "nyyManni";
repo = "dmenu-wayland";
- rev = "550a7c39f3f925b803d51c616609c8cb6c0ea543";
- sha256 = "0az3w1csn4x6mjyacg6lf70kykdfqamic3hbr57mj83i5jjv0jlv";
+ rev = "304c8e917651ee02b16ebf0b7097a5c53fa2236b";
+ sha256 = "0rkpmpk7xkcfbnv9vpg8n65423z5xpgp0hm2vg0rxf9354bjin7k";
};
outputs = [ "out" "man" ];
diff --git a/nixpkgs/pkgs/applications/misc/dstask/default.nix b/nixpkgs/pkgs/applications/misc/dstask/default.nix
index fae7809d25a..d0f84df7841 100644
--- a/nixpkgs/pkgs/applications/misc/dstask/default.nix
+++ b/nixpkgs/pkgs/applications/misc/dstask/default.nix
@@ -2,13 +2,13 @@
buildGoModule rec {
pname = "dstask";
- version = "0.18";
+ version = "0.20";
src = fetchFromGitHub {
owner = "naggie";
repo = pname;
rev = "v${version}";
- sha256 = "16z5zlfj955pzsj0l58835slvpchdaq2vbyx2fjzi6y9xn1z2nd1";
+ sha256 = "0hrhvfkqflr4wx1r2xbfbi566pglrp4rp5yq0cr2ml0x6kw3yz0j";
};
# Set vendorSha256 to null because dstask vendors its dependencies (meaning
@@ -18,6 +18,8 @@ buildGoModule rec {
# and <https://github.com/NixOS/nixpkgs/blob/d4226e3a4b5fcf988027147164e86665d382bbfa/pkgs/development/go-modules/generic/default.nix#L18>
vendorSha256 = null;
+ doCheck = false;
+
# The ldflags reduce the executable size by stripping some debug stuff.
# The other variables are set so that the output of dstask version shows the
# git ref and the release version from github.
diff --git a/nixpkgs/pkgs/applications/misc/dunst/default.nix b/nixpkgs/pkgs/applications/misc/dunst/default.nix
index 7da2ae421d7..a906669e7c6 100644
--- a/nixpkgs/pkgs/applications/misc/dunst/default.nix
+++ b/nixpkgs/pkgs/applications/misc/dunst/default.nix
@@ -6,13 +6,13 @@
stdenv.mkDerivation rec {
pname = "dunst";
- version = "1.4.1";
+ version = "1.5.0";
src = fetchFromGitHub {
owner = "dunst-project";
repo = "dunst";
rev = "v${version}";
- sha256 = "0xjj1f2jr1ja5grj6wrx5jjz1sx5fpqnvkw7nqi4452j3nc4p4l2";
+ sha256 = "0irwkqcgwkqaylcpvqgh25gn2ysbdm2kydipxfzcq1ddj9ns6f9c";
};
nativeBuildInputs = [ perl pkgconfig which systemd makeWrapper ];
diff --git a/nixpkgs/pkgs/applications/misc/effitask/cargo-lock.patch b/nixpkgs/pkgs/applications/misc/effitask/cargo-lock.patch
new file mode 100644
index 00000000000..4f56b82368f
--- /dev/null
+++ b/nixpkgs/pkgs/applications/misc/effitask/cargo-lock.patch
@@ -0,0 +1,1091 @@
+diff --git a/Cargo.lock b/Cargo.lock
+new file mode 100644
+index 0000000..55e4495
+--- /dev/null
++++ b/Cargo.lock
+@@ -0,0 +1,1085 @@
++# This file is automatically @generated by Cargo.
++# It is not intended for manual editing.
++[[package]]
++name = "aho-corasick"
++version = "0.7.10"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++dependencies = [
++ "memchr 2.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
++]
++
++[[package]]
++name = "arrayvec"
++version = "0.4.12"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++dependencies = [
++ "nodrop 0.1.14 (registry+https://github.com/rust-lang/crates.io-index)",
++]
++
++[[package]]
++name = "atk"
++version = "0.7.0"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++dependencies = [
++ "atk-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "glib 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)",
++ "glib-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "gobject-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "libc 0.2.68 (registry+https://github.com/rust-lang/crates.io-index)",
++]
++
++[[package]]
++name = "atk-sys"
++version = "0.9.1"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++dependencies = [
++ "glib-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "gobject-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "libc 0.2.68 (registry+https://github.com/rust-lang/crates.io-index)",
++ "pkg-config 0.3.17 (registry+https://github.com/rust-lang/crates.io-index)",
++]
++
++[[package]]
++name = "autocfg"
++version = "1.0.0"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++
++[[package]]
++name = "backtrace"
++version = "0.3.41"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++dependencies = [
++ "backtrace-sys 0.1.35 (registry+https://github.com/rust-lang/crates.io-index)",
++ "cfg-if 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)",
++ "libc 0.2.68 (registry+https://github.com/rust-lang/crates.io-index)",
++ "rustc-demangle 0.1.16 (registry+https://github.com/rust-lang/crates.io-index)",
++]
++
++[[package]]
++name = "backtrace-sys"
++version = "0.1.35"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++dependencies = [
++ "cc 1.0.50 (registry+https://github.com/rust-lang/crates.io-index)",
++ "libc 0.2.68 (registry+https://github.com/rust-lang/crates.io-index)",
++]
++
++[[package]]
++name = "bitflags"
++version = "1.2.1"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++
++[[package]]
++name = "cairo-rs"
++version = "0.7.1"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++dependencies = [
++ "bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "cairo-sys-rs 0.9.2 (registry+https://github.com/rust-lang/crates.io-index)",
++ "glib 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)",
++ "glib-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "gobject-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "libc 0.2.68 (registry+https://github.com/rust-lang/crates.io-index)",
++]
++
++[[package]]
++name = "cairo-sys-rs"
++version = "0.9.2"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++dependencies = [
++ "glib-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "libc 0.2.68 (registry+https://github.com/rust-lang/crates.io-index)",
++ "pkg-config 0.3.17 (registry+https://github.com/rust-lang/crates.io-index)",
++]
++
++[[package]]
++name = "cc"
++version = "1.0.50"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++
++[[package]]
++name = "cfg-if"
++version = "0.1.9"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++
++[[package]]
++name = "chrono"
++version = "0.4.11"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++dependencies = [
++ "num-integer 0.1.42 (registry+https://github.com/rust-lang/crates.io-index)",
++ "num-traits 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)",
++ "time 0.1.42 (registry+https://github.com/rust-lang/crates.io-index)",
++]
++
++[[package]]
++name = "effitask"
++version = "0.1.0"
++dependencies = [
++ "cairo-rs 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "chrono 0.4.11 (registry+https://github.com/rust-lang/crates.io-index)",
++ "gdk 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "gdk-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "glib 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)",
++ "gtk 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "human-panic 1.0.3 (registry+https://github.com/rust-lang/crates.io-index)",
++ "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
++ "notify 4.0.15 (registry+https://github.com/rust-lang/crates.io-index)",
++ "pulldown-cmark 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "rand 0.7.3 (registry+https://github.com/rust-lang/crates.io-index)",
++ "regex 1.3.6 (registry+https://github.com/rust-lang/crates.io-index)",
++ "relm 0.18.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "relm-attributes 0.16.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "relm-derive 0.18.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "todo-txt 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "xdg 2.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
++]
++
++[[package]]
++name = "filetime"
++version = "0.2.9"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++dependencies = [
++ "cfg-if 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)",
++ "libc 0.2.68 (registry+https://github.com/rust-lang/crates.io-index)",
++ "redox_syscall 0.1.56 (registry+https://github.com/rust-lang/crates.io-index)",
++ "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
++]
++
++[[package]]
++name = "fragile"
++version = "0.3.0"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++
++[[package]]
++name = "fsevent"
++version = "0.4.0"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++dependencies = [
++ "bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "fsevent-sys 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)",
++]
++
++[[package]]
++name = "fsevent-sys"
++version = "2.0.1"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++dependencies = [
++ "libc 0.2.68 (registry+https://github.com/rust-lang/crates.io-index)",
++]
++
++[[package]]
++name = "fuchsia-zircon"
++version = "0.3.3"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++dependencies = [
++ "bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "fuchsia-zircon-sys 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
++]
++
++[[package]]
++name = "fuchsia-zircon-sys"
++version = "0.3.3"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++
++[[package]]
++name = "gdk"
++version = "0.11.0"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++dependencies = [
++ "bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "cairo-rs 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "cairo-sys-rs 0.9.2 (registry+https://github.com/rust-lang/crates.io-index)",
++ "gdk-pixbuf 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "gdk-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "gio 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "gio-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "glib 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)",
++ "glib-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "gobject-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "libc 0.2.68 (registry+https://github.com/rust-lang/crates.io-index)",
++ "pango 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
++]
++
++[[package]]
++name = "gdk-pixbuf"
++version = "0.7.0"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++dependencies = [
++ "gdk-pixbuf-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "gio 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "gio-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "glib 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)",
++ "glib-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "gobject-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "libc 0.2.68 (registry+https://github.com/rust-lang/crates.io-index)",
++]
++
++[[package]]
++name = "gdk-pixbuf-sys"
++version = "0.9.1"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++dependencies = [
++ "gio-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "glib-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "gobject-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "libc 0.2.68 (registry+https://github.com/rust-lang/crates.io-index)",
++ "pkg-config 0.3.17 (registry+https://github.com/rust-lang/crates.io-index)",
++]
++
++[[package]]
++name = "gdk-sys"
++version = "0.9.1"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++dependencies = [
++ "cairo-sys-rs 0.9.2 (registry+https://github.com/rust-lang/crates.io-index)",
++ "gdk-pixbuf-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "gio-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "glib-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "gobject-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "libc 0.2.68 (registry+https://github.com/rust-lang/crates.io-index)",
++ "pango-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "pkg-config 0.3.17 (registry+https://github.com/rust-lang/crates.io-index)",
++]
++
++[[package]]
++name = "getopts"
++version = "0.2.21"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++dependencies = [
++ "unicode-width 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)",
++]
++
++[[package]]
++name = "getrandom"
++version = "0.1.14"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++dependencies = [
++ "cfg-if 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)",
++ "libc 0.2.68 (registry+https://github.com/rust-lang/crates.io-index)",
++ "wasi 0.9.0+wasi-snapshot-preview1 (registry+https://github.com/rust-lang/crates.io-index)",
++]
++
++[[package]]
++name = "gio"
++version = "0.7.0"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++dependencies = [
++ "bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "fragile 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "gio-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "glib 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)",
++ "glib-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "gobject-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "libc 0.2.68 (registry+https://github.com/rust-lang/crates.io-index)",
++]
++
++[[package]]
++name = "gio-sys"
++version = "0.9.1"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++dependencies = [
++ "glib-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "gobject-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "libc 0.2.68 (registry+https://github.com/rust-lang/crates.io-index)",
++ "pkg-config 0.3.17 (registry+https://github.com/rust-lang/crates.io-index)",
++]
++
++[[package]]
++name = "glib"
++version = "0.8.2"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++dependencies = [
++ "bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "glib-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "gobject-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "libc 0.2.68 (registry+https://github.com/rust-lang/crates.io-index)",
++]
++
++[[package]]
++name = "glib-sys"
++version = "0.9.1"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++dependencies = [
++ "libc 0.2.68 (registry+https://github.com/rust-lang/crates.io-index)",
++ "pkg-config 0.3.17 (registry+https://github.com/rust-lang/crates.io-index)",
++]
++
++[[package]]
++name = "gobject-sys"
++version = "0.9.1"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++dependencies = [
++ "glib-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "libc 0.2.68 (registry+https://github.com/rust-lang/crates.io-index)",
++ "pkg-config 0.3.17 (registry+https://github.com/rust-lang/crates.io-index)",
++]
++
++[[package]]
++name = "gtk"
++version = "0.7.0"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++dependencies = [
++ "atk 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "cairo-rs 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "cairo-sys-rs 0.9.2 (registry+https://github.com/rust-lang/crates.io-index)",
++ "cc 1.0.50 (registry+https://github.com/rust-lang/crates.io-index)",
++ "gdk 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "gdk-pixbuf 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "gdk-pixbuf-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "gdk-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "gio 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "gio-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "glib 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)",
++ "glib-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "gobject-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "gtk-sys 0.9.2 (registry+https://github.com/rust-lang/crates.io-index)",
++ "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "libc 0.2.68 (registry+https://github.com/rust-lang/crates.io-index)",
++ "pango 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "pango-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)",
++]
++
++[[package]]
++name = "gtk-sys"
++version = "0.9.2"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++dependencies = [
++ "atk-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "cairo-sys-rs 0.9.2 (registry+https://github.com/rust-lang/crates.io-index)",
++ "gdk-pixbuf-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "gdk-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "gio-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "glib-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "gobject-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "libc 0.2.68 (registry+https://github.com/rust-lang/crates.io-index)",
++ "pango-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "pkg-config 0.3.17 (registry+https://github.com/rust-lang/crates.io-index)",
++]
++
++[[package]]
++name = "human-panic"
++version = "1.0.3"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++dependencies = [
++ "backtrace 0.3.41 (registry+https://github.com/rust-lang/crates.io-index)",
++ "os_type 2.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "serde 1.0.106 (registry+https://github.com/rust-lang/crates.io-index)",
++ "serde_derive 1.0.106 (registry+https://github.com/rust-lang/crates.io-index)",
++ "termcolor 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "toml 0.5.6 (registry+https://github.com/rust-lang/crates.io-index)",
++ "uuid 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)",
++]
++
++[[package]]
++name = "inotify"
++version = "0.7.0"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++dependencies = [
++ "bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "inotify-sys 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
++ "libc 0.2.68 (registry+https://github.com/rust-lang/crates.io-index)",
++]
++
++[[package]]
++name = "inotify-sys"
++version = "0.1.3"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++dependencies = [
++ "libc 0.2.68 (registry+https://github.com/rust-lang/crates.io-index)",
++]
++
++[[package]]
++name = "iovec"
++version = "0.1.4"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++dependencies = [
++ "libc 0.2.68 (registry+https://github.com/rust-lang/crates.io-index)",
++]
++
++[[package]]
++name = "kernel32-sys"
++version = "0.2.2"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++dependencies = [
++ "winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)",
++ "winapi-build 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
++]
++
++[[package]]
++name = "lazy_static"
++version = "1.4.0"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++
++[[package]]
++name = "lazycell"
++version = "1.2.1"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++
++[[package]]
++name = "lexical-core"
++version = "0.6.7"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++dependencies = [
++ "arrayvec 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)",
++ "bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "cfg-if 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)",
++ "rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
++ "ryu 1.0.3 (registry+https://github.com/rust-lang/crates.io-index)",
++ "static_assertions 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)",
++]
++
++[[package]]
++name = "libc"
++version = "0.2.68"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++
++[[package]]
++name = "log"
++version = "0.4.8"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++dependencies = [
++ "cfg-if 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)",
++]
++
++[[package]]
++name = "memchr"
++version = "2.3.3"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++
++[[package]]
++name = "mio"
++version = "0.6.21"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++dependencies = [
++ "cfg-if 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)",
++ "fuchsia-zircon 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
++ "fuchsia-zircon-sys 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
++ "iovec 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
++ "kernel32-sys 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
++ "libc 0.2.68 (registry+https://github.com/rust-lang/crates.io-index)",
++ "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
++ "miow 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "net2 0.2.33 (registry+https://github.com/rust-lang/crates.io-index)",
++ "slab 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)",
++ "winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)",
++]
++
++[[package]]
++name = "mio-extras"
++version = "2.0.6"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++dependencies = [
++ "lazycell 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
++ "mio 0.6.21 (registry+https://github.com/rust-lang/crates.io-index)",
++ "slab 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)",
++]
++
++[[package]]
++name = "miow"
++version = "0.2.1"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++dependencies = [
++ "kernel32-sys 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
++ "net2 0.2.33 (registry+https://github.com/rust-lang/crates.io-index)",
++ "winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)",
++ "ws2_32-sys 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
++]
++
++[[package]]
++name = "net2"
++version = "0.2.33"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++dependencies = [
++ "cfg-if 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)",
++ "libc 0.2.68 (registry+https://github.com/rust-lang/crates.io-index)",
++ "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
++]
++
++[[package]]
++name = "nodrop"
++version = "0.1.14"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++
++[[package]]
++name = "nom"
++version = "5.1.1"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++dependencies = [
++ "lexical-core 0.6.7 (registry+https://github.com/rust-lang/crates.io-index)",
++ "memchr 2.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
++ "version_check 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)",
++]
++
++[[package]]
++name = "notify"
++version = "4.0.15"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++dependencies = [
++ "bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "filetime 0.2.9 (registry+https://github.com/rust-lang/crates.io-index)",
++ "fsevent 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "fsevent-sys 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "inotify 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "libc 0.2.68 (registry+https://github.com/rust-lang/crates.io-index)",
++ "mio 0.6.21 (registry+https://github.com/rust-lang/crates.io-index)",
++ "mio-extras 2.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
++ "walkdir 2.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
++]
++
++[[package]]
++name = "num-integer"
++version = "0.1.42"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++dependencies = [
++ "autocfg 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "num-traits 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)",
++]
++
++[[package]]
++name = "num-traits"
++version = "0.2.11"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++dependencies = [
++ "autocfg 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
++]
++
++[[package]]
++name = "os_type"
++version = "2.2.0"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++dependencies = [
++ "regex 1.3.6 (registry+https://github.com/rust-lang/crates.io-index)",
++]
++
++[[package]]
++name = "pango"
++version = "0.7.0"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++dependencies = [
++ "bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "glib 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)",
++ "glib-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "gobject-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "libc 0.2.68 (registry+https://github.com/rust-lang/crates.io-index)",
++ "pango-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)",
++]
++
++[[package]]
++name = "pango-sys"
++version = "0.9.1"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++dependencies = [
++ "glib-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "gobject-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "libc 0.2.68 (registry+https://github.com/rust-lang/crates.io-index)",
++ "pkg-config 0.3.17 (registry+https://github.com/rust-lang/crates.io-index)",
++]
++
++[[package]]
++name = "pkg-config"
++version = "0.3.17"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++
++[[package]]
++name = "ppv-lite86"
++version = "0.2.6"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++
++[[package]]
++name = "proc-macro2"
++version = "0.4.30"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++dependencies = [
++ "unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
++]
++
++[[package]]
++name = "proc-macro2"
++version = "1.0.10"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++dependencies = [
++ "unicode-xid 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
++]
++
++[[package]]
++name = "pulldown-cmark"
++version = "0.6.1"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++dependencies = [
++ "bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "getopts 0.2.21 (registry+https://github.com/rust-lang/crates.io-index)",
++ "memchr 2.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
++ "unicase 2.6.0 (registry+https://github.com/rust-lang/crates.io-index)",
++]
++
++[[package]]
++name = "quote"
++version = "0.6.13"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++dependencies = [
++ "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)",
++]
++
++[[package]]
++name = "quote"
++version = "1.0.3"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++dependencies = [
++ "proc-macro2 1.0.10 (registry+https://github.com/rust-lang/crates.io-index)",
++]
++
++[[package]]
++name = "rand"
++version = "0.7.3"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++dependencies = [
++ "getrandom 0.1.14 (registry+https://github.com/rust-lang/crates.io-index)",
++ "libc 0.2.68 (registry+https://github.com/rust-lang/crates.io-index)",
++ "rand_chacha 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
++ "rand_core 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "rand_hc 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
++]
++
++[[package]]
++name = "rand_chacha"
++version = "0.2.2"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++dependencies = [
++ "ppv-lite86 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)",
++ "rand_core 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)",
++]
++
++[[package]]
++name = "rand_core"
++version = "0.5.1"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++dependencies = [
++ "getrandom 0.1.14 (registry+https://github.com/rust-lang/crates.io-index)",
++]
++
++[[package]]
++name = "rand_hc"
++version = "0.2.0"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++dependencies = [
++ "rand_core 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)",
++]
++
++[[package]]
++name = "redox_syscall"
++version = "0.1.56"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++
++[[package]]
++name = "regex"
++version = "1.3.6"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++dependencies = [
++ "aho-corasick 0.7.10 (registry+https://github.com/rust-lang/crates.io-index)",
++ "memchr 2.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
++ "regex-syntax 0.6.17 (registry+https://github.com/rust-lang/crates.io-index)",
++ "thread_local 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)",
++]
++
++[[package]]
++name = "regex-syntax"
++version = "0.6.17"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++
++[[package]]
++name = "relm"
++version = "0.18.0"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++dependencies = [
++ "cairo-rs 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "glib 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)",
++ "glib-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "gobject-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "gtk 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "libc 0.2.68 (registry+https://github.com/rust-lang/crates.io-index)",
++ "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
++ "quote 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)",
++ "syn 0.15.44 (registry+https://github.com/rust-lang/crates.io-index)",
++]
++
++[[package]]
++name = "relm-attributes"
++version = "0.16.0"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++dependencies = [
++ "quote 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)",
++ "relm-gen-widget 0.16.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "syn 0.15.44 (registry+https://github.com/rust-lang/crates.io-index)",
++]
++
++[[package]]
++name = "relm-derive"
++version = "0.18.0"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++dependencies = [
++ "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)",
++ "quote 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)",
++ "syn 0.15.44 (registry+https://github.com/rust-lang/crates.io-index)",
++]
++
++[[package]]
++name = "relm-gen-widget"
++version = "0.16.0"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++dependencies = [
++ "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)",
++ "quote 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)",
++ "syn 0.15.44 (registry+https://github.com/rust-lang/crates.io-index)",
++]
++
++[[package]]
++name = "rustc-demangle"
++version = "0.1.16"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++
++[[package]]
++name = "rustc_version"
++version = "0.2.3"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++dependencies = [
++ "semver 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)",
++]
++
++[[package]]
++name = "ryu"
++version = "1.0.3"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++
++[[package]]
++name = "same-file"
++version = "1.0.6"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++dependencies = [
++ "winapi-util 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
++]
++
++[[package]]
++name = "semver"
++version = "0.9.0"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++dependencies = [
++ "semver-parser 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
++]
++
++[[package]]
++name = "semver-parser"
++version = "0.7.0"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++
++[[package]]
++name = "serde"
++version = "1.0.106"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++
++[[package]]
++name = "serde_derive"
++version = "1.0.106"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++dependencies = [
++ "proc-macro2 1.0.10 (registry+https://github.com/rust-lang/crates.io-index)",
++ "quote 1.0.3 (registry+https://github.com/rust-lang/crates.io-index)",
++ "syn 1.0.17 (registry+https://github.com/rust-lang/crates.io-index)",
++]
++
++[[package]]
++name = "slab"
++version = "0.4.2"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++
++[[package]]
++name = "static_assertions"
++version = "0.3.4"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++
++[[package]]
++name = "syn"
++version = "0.15.44"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++dependencies = [
++ "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)",
++ "quote 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)",
++ "unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
++]
++
++[[package]]
++name = "syn"
++version = "1.0.17"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++dependencies = [
++ "proc-macro2 1.0.10 (registry+https://github.com/rust-lang/crates.io-index)",
++ "quote 1.0.3 (registry+https://github.com/rust-lang/crates.io-index)",
++ "unicode-xid 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
++]
++
++[[package]]
++name = "termcolor"
++version = "1.1.0"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++dependencies = [
++ "winapi-util 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
++]
++
++[[package]]
++name = "thread_local"
++version = "1.0.1"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++dependencies = [
++ "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
++]
++
++[[package]]
++name = "time"
++version = "0.1.42"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++dependencies = [
++ "libc 0.2.68 (registry+https://github.com/rust-lang/crates.io-index)",
++ "redox_syscall 0.1.56 (registry+https://github.com/rust-lang/crates.io-index)",
++ "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
++]
++
++[[package]]
++name = "todo-txt"
++version = "1.4.0"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++dependencies = [
++ "chrono 0.4.11 (registry+https://github.com/rust-lang/crates.io-index)",
++ "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
++ "nom 5.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "rand 0.7.3 (registry+https://github.com/rust-lang/crates.io-index)",
++ "regex 1.3.6 (registry+https://github.com/rust-lang/crates.io-index)",
++]
++
++[[package]]
++name = "toml"
++version = "0.5.6"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++dependencies = [
++ "serde 1.0.106 (registry+https://github.com/rust-lang/crates.io-index)",
++]
++
++[[package]]
++name = "unicase"
++version = "2.6.0"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++dependencies = [
++ "version_check 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)",
++]
++
++[[package]]
++name = "unicode-width"
++version = "0.1.7"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++
++[[package]]
++name = "unicode-xid"
++version = "0.1.0"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++
++[[package]]
++name = "unicode-xid"
++version = "0.2.0"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++
++[[package]]
++name = "uuid"
++version = "0.8.1"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++dependencies = [
++ "rand 0.7.3 (registry+https://github.com/rust-lang/crates.io-index)",
++]
++
++[[package]]
++name = "version_check"
++version = "0.9.1"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++
++[[package]]
++name = "walkdir"
++version = "2.3.1"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++dependencies = [
++ "same-file 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
++ "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
++ "winapi-util 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
++]
++
++[[package]]
++name = "wasi"
++version = "0.9.0+wasi-snapshot-preview1"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++
++[[package]]
++name = "winapi"
++version = "0.2.8"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++
++[[package]]
++name = "winapi"
++version = "0.3.8"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++dependencies = [
++ "winapi-i686-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "winapi-x86_64-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
++]
++
++[[package]]
++name = "winapi-build"
++version = "0.1.1"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++
++[[package]]
++name = "winapi-i686-pc-windows-gnu"
++version = "0.4.0"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++
++[[package]]
++name = "winapi-util"
++version = "0.1.4"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++dependencies = [
++ "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
++]
++
++[[package]]
++name = "winapi-x86_64-pc-windows-gnu"
++version = "0.4.0"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++
++[[package]]
++name = "ws2_32-sys"
++version = "0.2.1"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++dependencies = [
++ "winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)",
++ "winapi-build 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
++]
++
++[[package]]
++name = "xdg"
++version = "2.2.0"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++
++[metadata]
++"checksum aho-corasick 0.7.10 (registry+https://github.com/rust-lang/crates.io-index)" = "8716408b8bc624ed7f65d223ddb9ac2d044c0547b6fa4b0d554f3a9540496ada"
++"checksum arrayvec 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)" = "cd9fd44efafa8690358b7408d253adf110036b88f55672a933f01d616ad9b1b9"
++"checksum atk 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "86b7499272acf036bb5820c6e346bbfb5acc5dceb104bc2c4fd7e6e33dfcde6a"
++"checksum atk-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)" = "e552c1776737a4c80110d06b36d099f47c727335f9aaa5d942a72b6863a8ec6f"
++"checksum autocfg 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "f8aac770f1885fd7e387acedd76065302551364496e46b3dd00860b2f8359b9d"
++"checksum backtrace 0.3.41 (registry+https://github.com/rust-lang/crates.io-index)" = "a4ed64ae6d9ebfd9893193c4b2532b1292ec97bd8271c9d7d0fa90cd78a34cba"
++"checksum backtrace-sys 0.1.35 (registry+https://github.com/rust-lang/crates.io-index)" = "7de8aba10a69c8e8d7622c5710229485ec32e9d55fdad160ea559c086fdcd118"
++"checksum bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693"
++"checksum cairo-rs 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)" = "e05db47de3b0f09a222fa4bba2eab957d920d4243962a86b2d77ab401e4a359c"
++"checksum cairo-sys-rs 0.9.2 (registry+https://github.com/rust-lang/crates.io-index)" = "ff65ba02cac715be836f63429ab00a767d48336efc5497c5637afb53b4f14d63"
++"checksum cc 1.0.50 (registry+https://github.com/rust-lang/crates.io-index)" = "95e28fa049fda1c330bcf9d723be7663a899c4679724b34c81e9f5a326aab8cd"
++"checksum cfg-if 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)" = "b486ce3ccf7ffd79fdeb678eac06a9e6c09fc88d33836340becb8fffe87c5e33"
++"checksum chrono 0.4.11 (registry+https://github.com/rust-lang/crates.io-index)" = "80094f509cf8b5ae86a4966a39b3ff66cd7e2a3e594accec3743ff3fabeab5b2"
++"checksum filetime 0.2.9 (registry+https://github.com/rust-lang/crates.io-index)" = "f59efc38004c988e4201d11d263b8171f49a2e7ec0bdbb71773433f271504a5e"
++"checksum fragile 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "05f8140122fa0d5dcb9fc8627cfce2b37cc1500f752636d46ea28bc26785c2f9"
++"checksum fsevent 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "5ab7d1bd1bd33cc98b0889831b72da23c0aa4df9cec7e0702f46ecea04b35db6"
++"checksum fsevent-sys 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)" = "f41b048a94555da0f42f1d632e2e19510084fb8e303b0daa2816e733fb3644a0"
++"checksum fuchsia-zircon 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "2e9763c69ebaae630ba35f74888db465e49e259ba1bc0eda7d06f4a067615d82"
++"checksum fuchsia-zircon-sys 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "3dcaa9ae7725d12cdb85b3ad99a434db70b468c09ded17e012d86b5c1010f7a7"
++"checksum gdk 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)" = "6243e995f41f3a61a31847e54cc719edce93dd9140c89dca3b9919be1cfe22d5"
++"checksum gdk-pixbuf 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "9726408ee1bbada83094326a99b9c68fea275f9dbb515de242a69e72051f4fcc"
++"checksum gdk-pixbuf-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)" = "d8991b060a9e9161bafd09bf4a202e6fd404f5b4dd1a08d53a1e84256fb34ab0"
++"checksum gdk-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)" = "6adf679e91d1bff0c06860287f80403e7db54c2d2424dce0a470023b56c88fbb"
++"checksum getopts 0.2.21 (registry+https://github.com/rust-lang/crates.io-index)" = "14dbbfd5c71d70241ecf9e6f13737f7b5ce823821063188d7e46c41d371eebd5"
++"checksum getrandom 0.1.14 (registry+https://github.com/rust-lang/crates.io-index)" = "7abc8dd8451921606d809ba32e95b6111925cd2906060d2dcc29c070220503eb"
++"checksum gio 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "6261b5d34c30c2d59f879e643704cf54cb44731f3a2038000b68790c03e360e3"
++"checksum gio-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)" = "4fad225242b9eae7ec8a063bb86974aca56885014672375e5775dc0ea3533911"
++"checksum glib 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)" = "be27232841baa43e0fd5ae003f7941925735b2f733a336dc75f07b9eff415e7b"
++"checksum glib-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)" = "95856f3802f446c05feffa5e24859fe6a183a7cb849c8449afc35c86b1e316e2"
++"checksum gobject-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)" = "31d1a804f62034eccf370006ccaef3708a71c31d561fee88564abe71177553d9"
++"checksum gtk 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "709f1074259d4685b96133f92b75c7f35b504715b0fcdc96ec95de2607296a60"
++"checksum gtk-sys 0.9.2 (registry+https://github.com/rust-lang/crates.io-index)" = "53def660c7b48b00b510c81ef2d2fbd3c570f1527081d8d7947f471513e1a4c1"
++"checksum human-panic 1.0.3 (registry+https://github.com/rust-lang/crates.io-index)" = "39f357a500abcbd7c5f967c1d45c8838585b36743823b9d43488f24850534e36"
++"checksum inotify 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "24e40d6fd5d64e2082e0c796495c8ef5ad667a96d03e5aaa0becfd9d47bcbfb8"
++"checksum inotify-sys 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)" = "e74a1aa87c59aeff6ef2cc2fa62d41bc43f54952f55652656b18a02fd5e356c0"
++"checksum iovec 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)" = "b2b3ea6ff95e175473f8ffe6a7eb7c00d054240321b84c57051175fe3c1e075e"
++"checksum kernel32-sys 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "7507624b29483431c0ba2d82aece8ca6cdba9382bff4ddd0f7490560c056098d"
++"checksum lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646"
++"checksum lazycell 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "b294d6fa9ee409a054354afc4352b0b9ef7ca222c69b8812cbea9e7d2bf3783f"
++"checksum lexical-core 0.6.7 (registry+https://github.com/rust-lang/crates.io-index)" = "f86d66d380c9c5a685aaac7a11818bdfa1f733198dfd9ec09c70b762cd12ad6f"
++"checksum libc 0.2.68 (registry+https://github.com/rust-lang/crates.io-index)" = "dea0c0405123bba743ee3f91f49b1c7cfb684eef0da0a50110f758ccf24cdff0"
++"checksum log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)" = "14b6052be84e6b71ab17edffc2eeabf5c2c3ae1fdb464aae35ac50c67a44e1f7"
++"checksum memchr 2.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "3728d817d99e5ac407411fa471ff9800a778d88a24685968b36824eaf4bee400"
++"checksum mio 0.6.21 (registry+https://github.com/rust-lang/crates.io-index)" = "302dec22bcf6bae6dfb69c647187f4b4d0fb6f535521f7bc022430ce8e12008f"
++"checksum mio-extras 2.0.6 (registry+https://github.com/rust-lang/crates.io-index)" = "52403fe290012ce777c4626790c8951324a2b9e3316b3143779c72b029742f19"
++"checksum miow 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "8c1f2f3b1cf331de6896aabf6e9d55dca90356cc9960cca7eaaf408a355ae919"
++"checksum net2 0.2.33 (registry+https://github.com/rust-lang/crates.io-index)" = "42550d9fb7b6684a6d404d9fa7250c2eb2646df731d1c06afc06dcee9e1bcf88"
++"checksum nodrop 0.1.14 (registry+https://github.com/rust-lang/crates.io-index)" = "72ef4a56884ca558e5ddb05a1d1e7e1bfd9a68d9ed024c21704cc98872dae1bb"
++"checksum nom 5.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "0b471253da97532da4b61552249c521e01e736071f71c1a4f7ebbfbf0a06aad6"
++"checksum notify 4.0.15 (registry+https://github.com/rust-lang/crates.io-index)" = "80ae4a7688d1fab81c5bf19c64fc8db920be8d519ce6336ed4e7efe024724dbd"
++"checksum num-integer 0.1.42 (registry+https://github.com/rust-lang/crates.io-index)" = "3f6ea62e9d81a77cd3ee9a2a5b9b609447857f3d358704331e4ef39eb247fcba"
++"checksum num-traits 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)" = "c62be47e61d1842b9170f0fdeec8eba98e60e90e5446449a0545e5152acd7096"
++"checksum os_type 2.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "7edc011af0ae98b7f88cf7e4a83b70a54a75d2b8cb013d6efd02e5956207e9eb"
++"checksum pango 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "393fa071b144f8ffb83ede273758983cf414ca3c0b1d2a5a9ce325b3ba3dd786"
++"checksum pango-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)" = "86b93d84907b3cf0819bff8f13598ba72843bee579d5ebc2502e4b0367b4be7d"
++"checksum pkg-config 0.3.17 (registry+https://github.com/rust-lang/crates.io-index)" = "05da548ad6865900e60eaba7f589cc0783590a92e940c26953ff81ddbab2d677"
++"checksum ppv-lite86 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)" = "74490b50b9fbe561ac330df47c08f3f33073d2d00c150f719147d7c54522fa1b"
++"checksum proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)" = "cf3d2011ab5c909338f7887f4fc896d35932e29146c12c8d01da6b22a80ba759"
++"checksum proc-macro2 1.0.10 (registry+https://github.com/rust-lang/crates.io-index)" = "df246d292ff63439fea9bc8c0a270bed0e390d5ebd4db4ba15aba81111b5abe3"
++"checksum pulldown-cmark 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)" = "1c205cc82214f3594e2d50686730314f817c67ffa80fe800cf0db78c3c2b9d9e"
++"checksum quote 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)" = "6ce23b6b870e8f94f81fb0a363d65d86675884b34a09043c81e5562f11c1f8e1"
++"checksum quote 1.0.3 (registry+https://github.com/rust-lang/crates.io-index)" = "2bdc6c187c65bca4260c9011c9e3132efe4909da44726bad24cf7572ae338d7f"
++"checksum rand 0.7.3 (registry+https://github.com/rust-lang/crates.io-index)" = "6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03"
++"checksum rand_chacha 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "f4c8ed856279c9737206bf725bf36935d8666ead7aa69b52be55af369d193402"
++"checksum rand_core 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)" = "90bde5296fc891b0cef12a6d03ddccc162ce7b2aff54160af9338f8d40df6d19"
++"checksum rand_hc 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ca3129af7b92a17112d59ad498c6f81eaf463253766b90396d39ea7a39d6613c"
++"checksum redox_syscall 0.1.56 (registry+https://github.com/rust-lang/crates.io-index)" = "2439c63f3f6139d1b57529d16bc3b8bb855230c8efcc5d3a896c8bea7c3b1e84"
++"checksum regex 1.3.6 (registry+https://github.com/rust-lang/crates.io-index)" = "7f6946991529684867e47d86474e3a6d0c0ab9b82d5821e314b1ede31fa3a4b3"
++"checksum regex-syntax 0.6.17 (registry+https://github.com/rust-lang/crates.io-index)" = "7fe5bd57d1d7414c6b5ed48563a2c855d995ff777729dcd91c369ec7fea395ae"
++"checksum relm 0.18.0 (registry+https://github.com/rust-lang/crates.io-index)" = "d4127341a75eb96dc99ba39b87a2783bb011b20fbdbafc25ed2f58216d2ff714"
++"checksum relm-attributes 0.16.0 (registry+https://github.com/rust-lang/crates.io-index)" = "4a8db24611fee7bb021f3aad7c4eaaba6d360947860b78b933a4d3ef86079b7f"
++"checksum relm-derive 0.18.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ec66397054dc1ea6c658159866b9978add6a90655aba5dd4a90c34d2e63f9d69"
++"checksum relm-gen-widget 0.16.0 (registry+https://github.com/rust-lang/crates.io-index)" = "49ad47b054bdc12c90fb6b37c81ef785ee2a4a8a92c4e150b18325052766fbb0"
++"checksum rustc-demangle 0.1.16 (registry+https://github.com/rust-lang/crates.io-index)" = "4c691c0e608126e00913e33f0ccf3727d5fc84573623b8d65b2df340b5201783"
++"checksum rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)" = "138e3e0acb6c9fb258b19b67cb8abd63c00679d2851805ea151465464fe9030a"
++"checksum ryu 1.0.3 (registry+https://github.com/rust-lang/crates.io-index)" = "535622e6be132bccd223f4bb2b8ac8d53cda3c7a6394944d3b2b33fb974f9d76"
++"checksum same-file 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)" = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502"
++"checksum semver 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)" = "1d7eb9ef2c18661902cc47e535f9bc51b78acd254da71d375c2f6720d9a40403"
++"checksum semver-parser 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3"
++"checksum serde 1.0.106 (registry+https://github.com/rust-lang/crates.io-index)" = "36df6ac6412072f67cf767ebbde4133a5b2e88e76dc6187fa7104cd16f783399"
++"checksum serde_derive 1.0.106 (registry+https://github.com/rust-lang/crates.io-index)" = "9e549e3abf4fb8621bd1609f11dfc9f5e50320802273b12f3811a67e6716ea6c"
++"checksum slab 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)" = "c111b5bd5695e56cffe5129854aa230b39c93a305372fdbb2668ca2394eea9f8"
++"checksum static_assertions 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)" = "7f3eb36b47e512f8f1c9e3d10c2c1965bc992bd9cdb024fa581e2194501c83d3"
++"checksum syn 0.15.44 (registry+https://github.com/rust-lang/crates.io-index)" = "9ca4b3b69a77cbe1ffc9e198781b7acb0c7365a883670e8f1c1bc66fba79a5c5"
++"checksum syn 1.0.17 (registry+https://github.com/rust-lang/crates.io-index)" = "0df0eb663f387145cab623dea85b09c2c5b4b0aef44e945d928e682fce71bb03"
++"checksum termcolor 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "bb6bfa289a4d7c5766392812c0a1f4c1ba45afa1ad47803c11e1f407d846d75f"
++"checksum thread_local 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)" = "d40c6d1b69745a6ec6fb1ca717914848da4b44ae29d9b3080cbee91d72a69b14"
++"checksum time 0.1.42 (registry+https://github.com/rust-lang/crates.io-index)" = "db8dcfca086c1143c9270ac42a2bbd8a7ee477b78ac8e45b19abfb0cbede4b6f"
++"checksum todo-txt 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "0d77aa2f90bd72b990bb2b8de52289b7a34f51cf035627df5e3ce361b321b417"
++"checksum toml 0.5.6 (registry+https://github.com/rust-lang/crates.io-index)" = "ffc92d160b1eef40665be3a05630d003936a3bc7da7421277846c2613e92c71a"
++"checksum unicase 2.6.0 (registry+https://github.com/rust-lang/crates.io-index)" = "50f37be617794602aabbeee0be4f259dc1778fabe05e2d67ee8f79326d5cb4f6"
++"checksum unicode-width 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)" = "caaa9d531767d1ff2150b9332433f32a24622147e5ebb1f26409d5da67afd479"
++"checksum unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "fc72304796d0818e357ead4e000d19c9c174ab23dc11093ac919054d20a6a7fc"
++"checksum unicode-xid 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "826e7639553986605ec5979c7dd957c7895e93eabed50ab2ffa7f6128a75097c"
++"checksum uuid 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)" = "9fde2f6a4bea1d6e007c4ad38c6839fa71cbb63b6dbf5b595aa38dc9b1093c11"
++"checksum version_check 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)" = "078775d0255232fb988e6fccf26ddc9d1ac274299aaedcedce21c6f72cc533ce"
++"checksum walkdir 2.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "777182bc735b6424e1a57516d35ed72cb8019d85c8c9bf536dccb3445c1a2f7d"
++"checksum wasi 0.9.0+wasi-snapshot-preview1 (registry+https://github.com/rust-lang/crates.io-index)" = "cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519"
++"checksum winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)" = "167dc9d6949a9b857f3451275e911c3f44255842c1f7a76f33c55103a909087a"
++"checksum winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)" = "8093091eeb260906a183e6ae1abdba2ef5ef2257a21801128899c3fc699229c6"
++"checksum winapi-build 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "2d315eee3b34aca4797b2da6b13ed88266e6d612562a0c46390af8299fc699bc"
++"checksum winapi-i686-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
++"checksum winapi-util 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)" = "fa515c5163a99cc82bab70fd3bfdd36d827be85de63737b40fcef2ce084a436e"
++"checksum winapi-x86_64-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
++"checksum ws2_32-sys 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "d59cefebd0c892fa2dd6de581e937301d8552cb44489cdff035c6187cb63fa5e"
++"checksum xdg 2.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "d089681aa106a86fade1b0128fb5daf07d5867a509ab036d99988dec80429a57"
diff --git a/nixpkgs/pkgs/applications/misc/effitask/default.nix b/nixpkgs/pkgs/applications/misc/effitask/default.nix
new file mode 100644
index 00000000000..f8adc7f61f6
--- /dev/null
+++ b/nixpkgs/pkgs/applications/misc/effitask/default.nix
@@ -0,0 +1,50 @@
+{ stdenv
+, rustPlatform
+, fetchFromGitHub
+, pkg-config
+, openssl
+, gtk3
+}:
+
+rustPlatform.buildRustPackage rec {
+ pname = "effitask";
+ version = "1.4.0";
+
+ src = fetchFromGitHub {
+ owner = "sanpii";
+ repo = "${pname}";
+ rev = "${version}";
+ sha256 = "09bffxdp43s8b1rpmsgqr2kyz3i4jbd2yrwbxw21fj3sf3mwb9ig";
+ };
+
+ # workaround for missing Cargo.lock file https://github.com/sanpii/effitask/issues/48
+ cargoPatches = [ ./cargo-lock.patch ];
+
+ cargoSha256 = "0dvmp23kny6rlv6c0mfyy3cmz1bi5wcm1mxps4z67lym5kxfd362";
+
+ buildInputs = [ openssl gtk3 ];
+
+ nativeBuildInputs = [ pkg-config ];
+
+ # default installPhase don't install assets
+ installPhase = ''
+ runHook preInstall
+ make install PREFIX="$out"
+ runHook postInstall
+ '';
+
+ meta = with stdenv.lib; {
+ description = "Graphical task manager, based on the todo.txt format";
+ longDescription = ''
+ To use it as todo.sh add-on, create a symlink like this:
+ mkdir ~/.todo.actions.d/
+ ln -s $(which effitask) ~/.todo.actions.d/et
+
+ Or use it as standalone program by defining some environment variables
+ like described in the projects readme.
+ '';
+ homepage = "https://github.com/sanpii/effitask";
+ maintainers = with maintainers; [ davidak ];
+ license = with licenses; [ mit ];
+ };
+}
diff --git a/nixpkgs/pkgs/applications/misc/electron-cash/default.nix b/nixpkgs/pkgs/applications/misc/electron-cash/default.nix
index 1616c082c01..a6ba3444dcd 100644
--- a/nixpkgs/pkgs/applications/misc/electron-cash/default.nix
+++ b/nixpkgs/pkgs/applications/misc/electron-cash/default.nix
@@ -1,14 +1,15 @@
-{ lib, fetchFromGitHub, python3Packages, qtbase, wrapQtAppsHook, secp256k1 }:
+{ lib, fetchFromGitHub, python3Packages, qtbase, fetchpatch, wrapQtAppsHook
+, secp256k1 }:
python3Packages.buildPythonApplication rec {
pname = "electron-cash";
- version = "4.0.14";
+ version = "4.1.0";
src = fetchFromGitHub {
owner = "Electron-Cash";
repo = "Electron-Cash";
rev = version;
- sha256 = "1dp7cj1185h6xfz6jzh0iq58zvg3wq9hl96bkgxkf5h4ygni2vm6";
+ sha256 = "1ccfm6kkmbkvykfdzrisxvr0lx9kgq4l43ixk6v3xnvhnbfwz4s2";
};
propagatedBuildInputs = with python3Packages; [
@@ -35,6 +36,15 @@ python3Packages.buildPythonApplication rec {
nativeBuildInputs = [ wrapQtAppsHook ];
+ patches = [
+ # Patch a failed test, this can be removed in next version
+ (fetchpatch {
+ url =
+ "https://github.com/Electron-Cash/Electron-Cash/commit/1a9122d59be0c351b14c174a60880c2e927e6168.patch";
+ sha256 = "0zw629ypn9jxb1y124s3dkbbf2q3wj1i97j16lzdxpjy3sk0p5hk";
+ })
+ ];
+
postPatch = ''
substituteInPlace contrib/requirements/requirements.txt \
--replace "qdarkstyle==2.6.8" "qdarkstyle<3"
@@ -43,9 +53,7 @@ python3Packages.buildPythonApplication rec {
--replace "(share_dir" "(\"share\""
'';
- checkInputs = with python3Packages; [
- pytest
- ];
+ checkInputs = with python3Packages; [ pytest ];
checkPhase = ''
unset HOME
diff --git a/nixpkgs/pkgs/applications/misc/electrum/default.nix b/nixpkgs/pkgs/applications/misc/electrum/default.nix
index d1011548b2a..ad26a912e78 100644
--- a/nixpkgs/pkgs/applications/misc/electrum/default.nix
+++ b/nixpkgs/pkgs/applications/misc/electrum/default.nix
@@ -1,7 +1,11 @@
-{ stdenv, fetchurl, fetchFromGitHub, wrapQtAppsHook, python3, python3Packages, zbar, secp256k1
-, enableQt ? !stdenv.isDarwin
-
-
+{ stdenv
+, fetchurl
+, fetchFromGitHub
+, wrapQtAppsHook
+, python3
+, zbar
+, secp256k1
+, enableQt ? true
# for updater.nix
, writeScript
, common-updater-scripts
@@ -15,7 +19,15 @@
}:
let
- version = "3.3.8";
+ version = "4.0.3";
+
+ # electrum is not compatible with dnspython 2.0.0 yet
+ # use the latest 1.x release instead
+ py = python3.override {
+ packageOverrides = self: super: {
+ dnspython = super.dnspython_1;
+ };
+ };
libsecp256k1_name =
if stdenv.isLinux then "libsecp256k1.so.0"
@@ -31,7 +43,7 @@ let
owner = "spesmilo";
repo = "electrum";
rev = version;
- sha256 = "1di8ba77kgapcys0d7h5nx1qqakv3s60c6sp8skw8p69ramsl73c";
+ sha256 = "1r40i0v7nm35m3pzbd0l5z4qphl13s31l9v5njmyvpfjirdmhjbv";
extraPostFetch = ''
mv $out ./all
@@ -40,13 +52,13 @@ let
};
in
-python3Packages.buildPythonApplication {
+py.pkgs.buildPythonApplication {
pname = "electrum";
inherit version;
src = fetchurl {
url = "https://download.electrum.org/${version}/Electrum-${version}.tar.gz";
- sha256 = "1g00cj1pmckd4xis8r032wmraiv3vd3zc803hnyxa2bnhj8z3bg2";
+ sha256 = "0q891fgzxvyzjxfczynx92hvclfs8i3nr5nr9sgbvz13hsg4s6lg";
};
postUnpack = ''
@@ -56,31 +68,28 @@ python3Packages.buildPythonApplication {
nativeBuildInputs = stdenv.lib.optionals enableQt [ wrapQtAppsHook ];
- propagatedBuildInputs = with python3Packages; [
- aiorpcx
+ propagatedBuildInputs = with py.pkgs; [
aiohttp
aiohttp-socks
+ aiorpcx
+ attrs
+ bitstring
dnspython
ecdsa
jsonrpclib-pelix
matplotlib
pbkdf2
protobuf
- pyaes
pycryptodomex
pysocks
qrcode
requests
tlslite-ng
-
# plugins
ckcc-protocol
keepkey
trezor
btchip
-
- # TODO plugins
- # amodem
] ++ stdenv.lib.optionals enableQt [ pyqt5 qdarkstyle ];
preBuild = ''
@@ -90,7 +99,6 @@ python3Packages.buildPythonApplication {
'' + (if enableQt then ''
substituteInPlace ./electrum/qrscanner.py \
--replace ${libzbar_name} ${zbar.lib}/lib/libzbar${stdenv.hostPlatform.extensions.sharedLibrary}
- sed -i 's/qdarkstyle<2.7/qdarkstyle<3.0/' contrib/requirements/requirements.txt
'' else ''
sed -i '/qdarkstyle/d' contrib/requirements/requirements.txt
'');
@@ -113,7 +121,7 @@ python3Packages.buildPythonApplication {
wrapQtApp $out/bin/electrum
'';
- checkInputs = with python3Packages; [ pytest ];
+ checkInputs = with py.pkgs; [ pytest ];
checkPhase = ''
py.test electrum/tests
diff --git a/nixpkgs/pkgs/applications/misc/electrum/ltc.nix b/nixpkgs/pkgs/applications/misc/electrum/ltc.nix
index b7c655caaaf..4bcb66f48b9 100644
--- a/nixpkgs/pkgs/applications/misc/electrum/ltc.nix
+++ b/nixpkgs/pkgs/applications/misc/electrum/ltc.nix
@@ -1,6 +1,7 @@
{ stdenv
, fetchurl
, python3Packages
+, wrapQtAppsHook
}:
python3Packages.buildPythonApplication rec {
@@ -12,7 +13,7 @@ python3Packages.buildPythonApplication rec {
sha256 = "0kxcx1xf6h9z8x0k483d6ykpnmfr30n6z3r6lgqxvbl42pq75li7";
};
- nativeBuildInputs = with python3Packages; [ pyqt5 ];
+ nativeBuildInputs = with python3Packages; [ pyqt5 wrapQtAppsHook ];
propagatedBuildInputs = with python3Packages; [
pyaes
@@ -35,6 +36,10 @@ python3Packages.buildPythonApplication rec {
sed -i '/Created: .*/d' gui/qt/icons_rc.py
'';
+ postFixup = ''
+ wrapQtApp $out/bin/electrum-ltc
+ '';
+
checkPhase = ''
$out/bin/electrum-ltc help >/dev/null
'';
@@ -54,4 +59,3 @@ python3Packages.buildPythonApplication rec {
maintainers = with maintainers; [ ];
};
}
-
diff --git a/nixpkgs/pkgs/applications/misc/et/default.nix b/nixpkgs/pkgs/applications/misc/et/default.nix
index 2cf8813aac4..9ab3fda96dc 100644
--- a/nixpkgs/pkgs/applications/misc/et/default.nix
+++ b/nixpkgs/pkgs/applications/misc/et/default.nix
@@ -5,7 +5,7 @@ stdenv.mkDerivation rec {
version = "0.1.2";
src = fetchFromGitHub {
- owner = "geistesk";
+ owner = "oxzi";
repo = "et";
rev = version;
sha256 = "0i0lgmnly8n7y4y6pb10pxgxyz8s5zk26k8z1g1578v1wan01lnq";
@@ -22,9 +22,9 @@ stdenv.mkDerivation rec {
meta = with stdenv.lib; {
description = "Minimal libnotify-based (egg) timer";
- homepage = "https://github.com/geistesk/et";
+ homepage = "https://github.com/oxzi/et";
license = licenses.gpl3;
platforms = platforms.unix;
- maintainers = with maintainers; [ geistesk ];
+ maintainers = with maintainers; [ oxzi ];
};
}
diff --git a/nixpkgs/pkgs/applications/misc/etesync-dav/default.nix b/nixpkgs/pkgs/applications/misc/etesync-dav/default.nix
index d4e015f31d7..5e3a85c3b93 100644
--- a/nixpkgs/pkgs/applications/misc/etesync-dav/default.nix
+++ b/nixpkgs/pkgs/applications/misc/etesync-dav/default.nix
@@ -1,19 +1,23 @@
-{ lib, python3Packages, radicale2 }:
+{ lib, python3Packages, radicale3 }:
python3Packages.buildPythonApplication rec {
pname = "etesync-dav";
- version = "0.17.0";
+ version = "0.20.0";
src = python3Packages.fetchPypi {
inherit pname version;
- sha256 = "0lyjv8rknwbx5b5nvq5bgw26lhkymib4cvmv3s3469mrnn2c0ksp";
+ sha256 = "1q8h89hqi4kxphn1g5nbcia0haz5k57is9rycwaabm55mj9s9fah";
};
+ postPatch = ''
+ substituteInPlace setup.py --replace "Radicale==" "Radicale>="
+ '';
+
propagatedBuildInputs = with python3Packages; [
etesync
flask
flask_wtf
- radicale2
+ radicale3
];
checkInputs = with python3Packages; [
diff --git a/nixpkgs/pkgs/applications/misc/exercism/default.nix b/nixpkgs/pkgs/applications/misc/exercism/default.nix
index d983458a7ce..b1e9f3ac35a 100644
--- a/nixpkgs/pkgs/applications/misc/exercism/default.nix
+++ b/nixpkgs/pkgs/applications/misc/exercism/default.nix
@@ -13,6 +13,8 @@ buildGoModule rec {
vendorSha256 = "0b2m9xkac60k5rbxmb03cxf530m23av14pnsjk8067l998sm4vqi";
+ doCheck = false;
+
subPackages = [ "./exercism" ];
meta = with stdenv.lib; {
@@ -21,4 +23,4 @@ buildGoModule rec {
license = licenses.mit;
maintainers = [ maintainers.rbasso ];
};
-} \ No newline at end of file
+}
diff --git a/nixpkgs/pkgs/applications/misc/fbmenugen/default.nix b/nixpkgs/pkgs/applications/misc/fbmenugen/default.nix
index fcf8191d3b7..bc40f2dad83 100644
--- a/nixpkgs/pkgs/applications/misc/fbmenugen/default.nix
+++ b/nixpkgs/pkgs/applications/misc/fbmenugen/default.nix
@@ -11,13 +11,13 @@
perlPackages.buildPerlPackage rec {
pname = "fbmenugen";
- version = "2020-05-20";
+ version = "0.85";
src = fetchFromGitHub {
owner = "trizen";
repo = pname;
- rev = "ed9a680546edbb5b05086971b6a9f42a37cb485f";
- sha256 = "1fikdl08a0s8d6k1ls1pzmw2rcwkfbbczsjfx6lr12ngd2bz222h";
+ rev = version;
+ sha256 = "1pmms3wzkm8h41a8zrkpn6gq9m9yy5wr5rrzmb84lbacprqq6q7q";
};
patches = [
diff --git a/nixpkgs/pkgs/applications/misc/fetchmail/default.nix b/nixpkgs/pkgs/applications/misc/fetchmail/default.nix
index c1104eb0a57..bed673ef8d4 100644
--- a/nixpkgs/pkgs/applications/misc/fetchmail/default.nix
+++ b/nixpkgs/pkgs/applications/misc/fetchmail/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, openssl }:
let
- version = "6.4.5";
+ version = "6.4.8";
in
stdenv.mkDerivation {
pname = "fetchmail";
@@ -9,7 +9,7 @@ stdenv.mkDerivation {
src = fetchurl {
url = "mirror://sourceforge/fetchmail/fetchmail-${version}.tar.xz";
- sha256 = "073bjh8qbvww7f5gbd6pq640qspi7dc6cjndvm0h2jcl0a90c3yk";
+ sha256 = "1g893dr3982vrqzxybmflnqfmd1q6yipd9krvxn0avhlrrp97k96";
};
buildInputs = [ openssl ];
diff --git a/nixpkgs/pkgs/applications/misc/firestarter/default.nix b/nixpkgs/pkgs/applications/misc/firestarter/default.nix
index 05c535e62c0..a03c87eb41b 100644
--- a/nixpkgs/pkgs/applications/misc/firestarter/default.nix
+++ b/nixpkgs/pkgs/applications/misc/firestarter/default.nix
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
owner = "tud-zih-energy";
repo = "FIRESTARTER";
rev = "v${version}";
- sha256 = "161mg0h1hvp6bxfjdhyfqrljvphys896mfd36254rbgzxm38ibi7";
+ sha256 = "0zqfqb7hf48z39g1qhbl1iraf8rz4d629h1q6ikizckpzfq23kd0";
};
nativeBuildInputs = [ python3 ];
@@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
homepage = "https://tu-dresden.de/zih/forschung/projekte/firestarter";
description = "Processor Stress Test Utility";
platforms = platforms.linux;
- maintainers = with maintainers; [ astro ];
+ maintainers = with maintainers; [ astro marenz ];
license = licenses.gpl3;
};
}
diff --git a/nixpkgs/pkgs/applications/misc/fitnesstrax/default.nix b/nixpkgs/pkgs/applications/misc/fitnesstrax/default.nix
index f0081c39102..e90e364aaee 100644
--- a/nixpkgs/pkgs/applications/misc/fitnesstrax/default.nix
+++ b/nixpkgs/pkgs/applications/misc/fitnesstrax/default.nix
@@ -19,6 +19,8 @@ rustPlatform.buildRustPackage rec {
nativeBuildInputs = [
wrapGAppsHook
+ glib
+ gtk3
];
buildInputs = [
diff --git a/nixpkgs/pkgs/applications/misc/fme/default.nix b/nixpkgs/pkgs/applications/misc/fme/default.nix
index cf93729eddd..34d5a45b8ea 100644
--- a/nixpkgs/pkgs/applications/misc/fme/default.nix
+++ b/nixpkgs/pkgs/applications/misc/fme/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, pkgconfig, autoconf, automake, gettext
, fluxbox, bc, gtkmm2, glibmm, libglademm, libsigcxx }:
-stdenv.mkDerivation rec{
+stdenv.mkDerivation rec {
pname = "fme";
version = "1.1.3";
diff --git a/nixpkgs/pkgs/applications/misc/font-manager/default.nix b/nixpkgs/pkgs/applications/misc/font-manager/default.nix
index 008e59eebee..b2001c21bf7 100644
--- a/nixpkgs/pkgs/applications/misc/font-manager/default.nix
+++ b/nixpkgs/pkgs/applications/misc/font-manager/default.nix
@@ -5,13 +5,13 @@
stdenv.mkDerivation rec {
pname = "font-manager";
- version = "0.7.7";
+ version = "0.7.8";
src = fetchFromGitHub {
owner = "FontManager";
repo = "master";
rev = version;
- sha256 = "1bzqvspplp1zj0n0869jqbc60wgbjhf0vdrn5bj8dfawxynh8s5f";
+ sha256 = "0s1l30y55l45rrqd9lygvp2gzrqw25rmjgnnja6s5rzs79gc668c";
};
nativeBuildInputs = [
diff --git a/nixpkgs/pkgs/applications/misc/fontpreview/default.nix b/nixpkgs/pkgs/applications/misc/fontpreview/default.nix
new file mode 100644
index 00000000000..1d4e4d3e00f
--- /dev/null
+++ b/nixpkgs/pkgs/applications/misc/fontpreview/default.nix
@@ -0,0 +1,40 @@
+{ stdenv, lib, fetchFromGitHub, makeWrapper, xdotool, fzf, imagemagick, sxiv, getopt }:
+
+stdenv.mkDerivation rec {
+ pname = "fontpreview";
+ version = "1.0.6";
+
+ src = fetchFromGitHub {
+ owner = "sdushantha";
+ repo = pname;
+ rev = version;
+ sha256 = "0g3i2k6n2yhp88rrcf0hp6ils7836db7hx73hw9qnpcbmckz0i4w";
+ };
+
+ nativeBuildInputs = [ makeWrapper ];
+
+ preInstall = "mkdir -p $out/bin";
+
+ installFlags = [ "PREFIX=$(out)" ];
+
+ postInstall = ''
+ wrapProgram $out/bin/fontpreview \
+ --prefix PATH : ${lib.makeBinPath [ xdotool fzf imagemagick sxiv getopt ]}
+ '';
+
+ meta = with stdenv.lib; {
+ homepage = "https://github.com/sdushantha/fontpreview";
+ description = "Highly customizable and minimal font previewer written in bash";
+ longDescription = ''
+ fontpreview is a commandline tool that lets you quickly search for fonts
+ that are installed on your machine and preview them. The fuzzy search
+ feature is provided by fzf and the preview is generated with imagemagick
+ and then displayed using sxiv. This tool is highly customizable, almost
+ all of the variables in this tool can be changed using the commandline
+ flags or you can configure them using environment variables.
+ '';
+ license = licenses.mit;
+ platforms = platforms.unix;
+ maintainers = [ maintainers.erictapen ];
+ };
+}
diff --git a/nixpkgs/pkgs/applications/misc/foot/default.nix b/nixpkgs/pkgs/applications/misc/foot/default.nix
new file mode 100644
index 00000000000..02909ee1f2f
--- /dev/null
+++ b/nixpkgs/pkgs/applications/misc/foot/default.nix
@@ -0,0 +1,38 @@
+{ stdenv, fetchgit
+, fcft, freetype, pixman, libxkbcommon, fontconfig, wayland
+, meson, ninja, ncurses, scdoc, tllist, wayland-protocols, pkg-config
+}:
+
+stdenv.mkDerivation rec {
+ pname = "foot";
+ version = "1.4.4";
+
+ src = fetchgit {
+ url = "https://codeberg.org/dnkl/foot.git";
+ rev = "${version}";
+ sha256 = "1cr4sz075v18clh8nlvgyxlbvfkhbsg0qrqgnclip5rwa24ry1lg";
+ };
+
+ nativeBuildInputs = [
+ meson ninja ncurses scdoc tllist wayland-protocols pkg-config
+ ];
+ buildInputs = [
+ fontconfig freetype pixman wayland libxkbcommon fcft
+ ];
+
+ # recommended build flags for foot as per INSTALL.md
+ # https://codeberg.org/dnkl/foot/src/branch/master/INSTALL.md#user-content-release-build
+ preConfigure = ''
+ export CFLAGS+="-O3 -fno-plt"
+ '';
+
+ mesonFlags = [ "--buildtype=release" "-Db_lto=true" ];
+
+ meta = with stdenv.lib; {
+ homepage = "https://codeberg.org/dnkl/foot/";
+ description = "A fast, lightweight and minimalistic Wayland terminal emulator";
+ license = licenses.mit;
+ maintainers = [ maintainers.sternenseemann ];
+ platforms = platforms.linux;
+ };
+}
diff --git a/nixpkgs/pkgs/applications/misc/formatter/default.nix b/nixpkgs/pkgs/applications/misc/formatter/default.nix
index b0224c052c4..85a70812cad 100644
--- a/nixpkgs/pkgs/applications/misc/formatter/default.nix
+++ b/nixpkgs/pkgs/applications/misc/formatter/default.nix
@@ -1,5 +1,6 @@
{ stdenv
, fetchFromGitHub
+, nix-update-script
, meson
, ninja
, vala
@@ -62,7 +63,7 @@ stdenv.mkDerivation rec {
'';
passthru = {
- updateScript = pantheon.updateScript {
+ updateScript = nix-update-script {
attrPath = pname;
};
};
diff --git a/nixpkgs/pkgs/applications/misc/fslint/default.nix b/nixpkgs/pkgs/applications/misc/fslint/default.nix
new file mode 100644
index 00000000000..f6e1071ac5e
--- /dev/null
+++ b/nixpkgs/pkgs/applications/misc/fslint/default.nix
@@ -0,0 +1,41 @@
+{ lib, stdenv, fetchFromGitHub, python2, makeWrapper }:
+
+let pythonEnv = python2.withPackages(ps: [ ps.pyGtkGlade]);
+in stdenv.mkDerivation rec {
+ pname = "fslint";
+ version = "2.46";
+
+ src = fetchFromGitHub {
+ owner = "pixelb";
+ repo = "fslint";
+ rev = version;
+ sha256 = "048pc1rsslbsrfchl2wmdd4hpa2gycglib7kdx8vqs947zcm0sfv";
+ };
+
+ buildInputs = [
+ pythonEnv makeWrapper
+ ];
+
+ prePatch = ''
+ substituteInPlace fslint-gui --replace "liblocation=os.path.dirname(os.path.abspath(sys.argv[0]))" "liblocation='$out'"
+ '';
+
+ installPhase = ''
+ runHook preInstall
+ mkdir -p $out/bin
+ cp * -R $out/
+ cp fslint-gui $out/bin/fslint
+
+ wrapProgram "$out/bin/fslint" \
+ --prefix PYTHONPATH : "${pythonEnv.interpreter}"
+ runHook postInstall
+ '';
+
+ meta = with lib; {
+ description = "A utility to find and clean various forms of lint on a filesystem.";
+ homepage = "https://www.pixelbeat.org/fslint/";
+ license = licenses.gpl2Plus;
+ maintainers = [ maintainers.dasj19 ];
+ platforms = platforms.unix;
+ };
+}
diff --git a/nixpkgs/pkgs/applications/misc/fuzzel/default.nix b/nixpkgs/pkgs/applications/misc/fuzzel/default.nix
new file mode 100644
index 00000000000..cef58b353a3
--- /dev/null
+++ b/nixpkgs/pkgs/applications/misc/fuzzel/default.nix
@@ -0,0 +1,23 @@
+{ stdenv, lib, fetchgit, pkg-config, meson, ninja, wayland, pixman, cairo, librsvg, wayland-protocols, wlroots, libxkbcommon, scdoc, git, tllist, fcft}:
+
+stdenv.mkDerivation rec {
+ pname = "fuzzel";
+ version = "1.4.1";
+
+ src = fetchgit {
+ url = "https://codeberg.org/dnkl/fuzzel";
+ rev = "${version}";
+ sha256 = "18pg46xry7q4i19mpjfz942c6vkqlrj4q18p85zldzv9gdsxnm9c";
+ };
+
+ nativeBuildInputs = [ pkg-config meson ninja scdoc git ];
+ buildInputs = [ wayland pixman cairo librsvg wayland-protocols wlroots libxkbcommon tllist fcft ];
+
+ meta = with lib; {
+ description = "Wayland-native application launcher, similar to rofi’s drun mode";
+ homepage = "https://codeberg.org/dnkl/fuzzel";
+ license = licenses.mit;
+ maintainers = with maintainers; [ fionera ];
+ platforms = with platforms; linux;
+ };
+}
diff --git a/nixpkgs/pkgs/applications/misc/gallery-dl/default.nix b/nixpkgs/pkgs/applications/misc/gallery-dl/default.nix
index 6845cbcb59d..ef634fcf72b 100644
--- a/nixpkgs/pkgs/applications/misc/gallery-dl/default.nix
+++ b/nixpkgs/pkgs/applications/misc/gallery-dl/default.nix
@@ -2,11 +2,11 @@
python3Packages.buildPythonApplication rec {
pname = "gallery_dl";
- version = "1.13.6";
+ version = "1.14.5";
src = python3Packages.fetchPypi {
inherit pname version;
- sha256 = "17hgryj8qsxcx3c96ir25q0wsh5q0s6c6fb33lqfdbrfxrjcixbk";
+ sha256 = "03xkrmwk4bvkqai9ghdm5arw9i4zhnfbabdn99lr1cv5prq7m4p3";
};
doCheck = false;
diff --git a/nixpkgs/pkgs/applications/misc/ganttproject-bin/default.nix b/nixpkgs/pkgs/applications/misc/ganttproject-bin/default.nix
index 2e8478f41d3..b36bd83e70f 100644
--- a/nixpkgs/pkgs/applications/misc/ganttproject-bin/default.nix
+++ b/nixpkgs/pkgs/applications/misc/ganttproject-bin/default.nix
@@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
desktopName = "GanttProject";
genericName = "Shedule and manage projects";
comment = meta.description;
- categories = "Office;Application;";
+ categories = "Office;";
};
javaOptions = [
diff --git a/nixpkgs/pkgs/applications/misc/gcalcli/default.nix b/nixpkgs/pkgs/applications/misc/gcalcli/default.nix
index d7d6ad5302d..20aefe2ab1d 100644
--- a/nixpkgs/pkgs/applications/misc/gcalcli/default.nix
+++ b/nixpkgs/pkgs/applications/misc/gcalcli/default.nix
@@ -5,13 +5,13 @@ with python3.pkgs;
buildPythonApplication rec {
pname = "gcalcli";
- version = "4.2.1";
+ version = "4.3.0";
src = fetchFromGitHub {
owner = "insanum";
repo = pname;
rev = "v${version}";
- sha256 = "1xwrgmy2azvr99b7df92m2imj0wy4fh53bn7lvcrnghjbnh7n0l0";
+ sha256 = "0s5fhcmz3n0dwh3vkqr4aigi59q43v03ch5jhh6v75149icwr0df";
};
postPatch = lib.optionalString stdenv.isLinux ''
diff --git a/nixpkgs/pkgs/applications/misc/gcstar/default.nix b/nixpkgs/pkgs/applications/misc/gcstar/default.nix
new file mode 100644
index 00000000000..b1ab386083e
--- /dev/null
+++ b/nixpkgs/pkgs/applications/misc/gcstar/default.nix
@@ -0,0 +1,72 @@
+{ stdenv
+, fetchFromGitLab
+, perlPackages
+, wrapGAppsHook
+}:
+
+stdenv.mkDerivation rec {
+ pname = "gcstar";
+ version = "1.7.2";
+
+ src = fetchFromGitLab {
+ owner = "Kerenoc";
+ repo = "GCstar";
+ rev = "v${version}";
+ sha256 = "1vqfff33sssvlvsva1dflggmwl00j5p64sn1669f9wrbvjkxgpv4";
+ };
+
+ nativeBuildInputs = [ wrapGAppsHook ];
+
+ buildInputs = with perlPackages; [
+ perl
+ ArchiveZip
+ DateCalc
+ DateTimeFormatStrptime
+ Glib
+ Gtk2
+ GD
+ GDGraph
+ GDText
+ HTMLParser
+ JSON
+ ImageExifTool
+ librelative
+ LWPUserAgent
+ LWPProtocolHttps
+ MP3Info
+ MP3Tag
+ NetFreeDB
+ OggVorbisHeaderPurePerl
+ Pango
+ XMLSimple
+ XMLParser
+ ];
+
+ installPhase = ''
+ runHook preInstall
+
+ cd gcstar
+ perl install --text --prefix=$out
+
+ runHook postInstall
+ '';
+
+ postFixup = ''
+ wrapProgram $out/bin/gcstar --prefix PERL5LIB : $PERL5LIB
+ '';
+
+ meta = with stdenv.lib; {
+ homepage = "https://gitlab.com/Kerenoc/GCstar";
+ description = "Manage your collections of movies, games, books, music and more";
+ longDescription = ''
+ GCstar is an application for managing your collections.
+ It supports many types of collections, including movies, books, games, comics, stamps, coins, and many more.
+ You can even create your own collection type for whatever unique thing it is that you collect!
+ Detailed information on each item can be automatically retrieved from the internet and you can store additional data, such as the location or who you've lent it to.
+ You may also search and filter your collections by many criteria.
+ '';
+ license = licenses.gpl2Plus;
+ maintainers = with maintainers; [ dasj19 ];
+ platforms = platforms.all;
+ };
+}
diff --git a/nixpkgs/pkgs/applications/misc/geoipupdate/default.nix b/nixpkgs/pkgs/applications/misc/geoipupdate/default.nix
index 2b0fc88ccf9..ee6ed27ddda 100644
--- a/nixpkgs/pkgs/applications/misc/geoipupdate/default.nix
+++ b/nixpkgs/pkgs/applications/misc/geoipupdate/default.nix
@@ -13,11 +13,12 @@ buildGoModule rec {
vendorSha256 = "0q4byhvs1c1xm4qjvs2vyf98vdv121qn0z51arcf7k4ayrys5xcx";
+ doCheck = false;
+
meta = with stdenv.lib; {
description = "Automatic GeoIP database updater";
homepage = "https://github.com/maxmind/geoipupdate";
license = with licenses; [ asl20 ];
- platforms = platforms.all;
maintainers = with maintainers; [ das_j ];
};
-} \ No newline at end of file
+}
diff --git a/nixpkgs/pkgs/applications/misc/get_iplayer/default.nix b/nixpkgs/pkgs/applications/misc/get_iplayer/default.nix
index 9c05e984720..5c31ce55add 100644
--- a/nixpkgs/pkgs/applications/misc/get_iplayer/default.nix
+++ b/nixpkgs/pkgs/applications/misc/get_iplayer/default.nix
@@ -1,4 +1,4 @@
-{stdenv, fetchFromGitHub, atomicparsley, flvstreamer, ffmpeg, makeWrapper, perl, perlPackages, rtmpdump}:
+{stdenv, fetchFromGitHub, atomicparsley, flvstreamer, ffmpeg_3, makeWrapper, perl, perlPackages, rtmpdump}:
with stdenv.lib;
@@ -26,7 +26,7 @@ perlPackages.buildPerlPackage rec {
installPhase = ''
mkdir -p $out/bin $out/share/man/man1
cp get_iplayer $out/bin
- wrapProgram $out/bin/get_iplayer --suffix PATH : ${makeBinPath [ atomicparsley ffmpeg flvstreamer rtmpdump ]} --prefix PERL5LIB : $PERL5LIB
+ wrapProgram $out/bin/get_iplayer --suffix PATH : ${makeBinPath [ atomicparsley ffmpeg_3 flvstreamer rtmpdump ]} --prefix PERL5LIB : $PERL5LIB
cp get_iplayer.1 $out/share/man/man1
'';
diff --git a/nixpkgs/pkgs/applications/misc/girara/default.nix b/nixpkgs/pkgs/applications/misc/girara/default.nix
index 45bca7d3fbf..35e9d16f9df 100644
--- a/nixpkgs/pkgs/applications/misc/girara/default.nix
+++ b/nixpkgs/pkgs/applications/misc/girara/default.nix
@@ -3,20 +3,20 @@
stdenv.mkDerivation rec {
pname = "girara";
- version = "0.3.4";
+ version = "0.3.5";
outputs = [ "out" "dev" ];
src = fetchurl {
url = "https://git.pwmt.org/pwmt/${pname}/-/archive/${version}/${pname}-${version}.tar.gz";
- sha256 = "08zdsr4zwi49facsl5596l0g1xqqv2jk3sqk841gkxwawcggim44";
+ sha256 = "1n3i960b458172mc3pkq7m9dn5qxry6fms3c3k06v27cjp5whsyf";
};
nativeBuildInputs = [ meson ninja pkgconfig gettext check dbus xvfb_run ];
buildInputs = [ libintl libiconv json_c ];
propagatedBuildInputs = [ glib gtk ];
- doCheck = true;
+ doCheck = !stdenv.isDarwin;
mesonFlags = [
"-Ddocs=disabled" # docs do not seem to be installed
diff --git a/nixpkgs/pkgs/applications/misc/gitit/default.nix b/nixpkgs/pkgs/applications/misc/gitit/default.nix
new file mode 100644
index 00000000000..a4ffd3bf88d
--- /dev/null
+++ b/nixpkgs/pkgs/applications/misc/gitit/default.nix
@@ -0,0 +1,61 @@
+{ lib, haskellPackages, haskell, removeReferencesTo
+# “Plugins” are a fancy way of saying gitit will invoke
+# GHC at *runtime*, which in turn makes it pull GHC
+# into its runtime closure. Only enable if you really need
+# that feature. But if you do you’ll want to use gitit
+# as a library anyway.
+, pluginSupport ? false
+}:
+
+# this is similar to what we do with the pandoc executable
+
+let
+ plain = haskellPackages.gitit;
+ plugins =
+ if pluginSupport
+ then plain
+ else haskell.lib.disableCabalFlag plain "plugins";
+ static = haskell.lib.justStaticExecutables plugins;
+
+in
+ (haskell.lib.overrideCabal static (drv: {
+ buildTools = (drv.buildTools or []) ++ [ removeReferencesTo ];
+ })).overrideAttrs (drv: {
+
+ # These libraries are still referenced, because they generate
+ # a `Paths_*` module for figuring out their version.
+ # The `Paths_*` module is generated by Cabal, and contains the
+ # version, but also paths to e.g. the data directories, which
+ # lead to a transitive runtime dependency on the whole GHC distribution.
+ # This should ideally be fixed in haskellPackages (or even Cabal),
+ # but a minimal gitit is important enough to patch it manually.
+ disallowedReferences = [
+ haskellPackages.pandoc-types
+ haskellPackages.HTTP
+ haskellPackages.pandoc
+ haskellPackages.happstack-server
+ haskellPackages.filestore
+ ];
+ postInstall = ''
+ remove-references-to \
+ -t ${haskellPackages.pandoc-types} \
+ $out/bin/gitit
+ remove-references-to \
+ -t ${haskellPackages.HTTP} \
+ $out/bin/gitit
+ remove-references-to \
+ -t ${haskellPackages.pandoc} \
+ $out/bin/gitit
+ remove-references-to \
+ -t ${haskellPackages.happstack-server} \
+ $out/bin/gitit
+ remove-references-to \
+ -t ${haskellPackages.filestore} \
+ $out/bin/gitit
+ '';
+
+ meta = drv.meta // {
+ maintainers = drv.meta.maintainers or []
+ ++ [ lib.maintainers.Profpatsch ];
+ };
+ })
diff --git a/nixpkgs/pkgs/applications/misc/glom/default.nix b/nixpkgs/pkgs/applications/misc/glom/default.nix
index d576d2b5b47..9af6e39cb9b 100644
--- a/nixpkgs/pkgs/applications/misc/glom/default.nix
+++ b/nixpkgs/pkgs/applications/misc/glom/default.nix
@@ -1,5 +1,5 @@
{ stdenv
-, fetchFromGitLab
+, fetchurl
, pkgconfig
, autoconf
, automake
@@ -26,7 +26,8 @@
, goocanvasmm2
, evince
, isocodes
-, gtksourceviewmm4
+, gtksourceview
+, gtksourceviewmm
, postgresql
, gobject-introspection
, yelp-tools
@@ -48,16 +49,13 @@ let
boost_python = boost.override { enablePython = true; inherit python; };
in stdenv.mkDerivation rec {
pname = "glom";
- version = "unstable-2018-12-16";
+ version = "1.32.0";
outputs = [ "out" "lib" "dev" "doc" "devdoc" ];
- src = fetchFromGitLab {
- domain = "gitlab.gnome.org";
- owner = "GNOME";
- repo = pname;
- rev = "fa5ff04f209f35bf3e97bc1c3eb1d1138d6172ce";
- sha256 = "145hnk96xa4v35i3a3mbf3fnx4nlk8cksc0qhm7nrh8cnnrbdfgn";
+ src = fetchurl {
+ url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
+ sha256 = "1wcd4kd3crwqjv0jfp73jkyyf5ws8mvykg37kqxmcb58piz21gsk";
};
nativeBuildInputs = [
@@ -93,7 +91,8 @@ in stdenv.mkDerivation rec {
evince
isocodes
python3.pkgs.pygobject3
- gtksourceviewmm4
+ gtksourceview
+ gtksourceviewmm
postgresql # for pg_config
];
diff --git a/nixpkgs/pkgs/applications/misc/gmrun/default.nix b/nixpkgs/pkgs/applications/misc/gmrun/default.nix
index eaee8fb5fb3..8ca4c606162 100644
--- a/nixpkgs/pkgs/applications/misc/gmrun/default.nix
+++ b/nixpkgs/pkgs/applications/misc/gmrun/default.nix
@@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
./gmrun-0.9.2-xdg.patch
];
- meta = {
+ meta = with stdenv.lib; {
description = "Gnome Completion-Run Utility";
longDescription = ''
A simple program which provides a "run program" window, featuring a bash-like TAB completion.
@@ -35,8 +35,8 @@ stdenv.mkDerivation rec {
Running commands in a terminal with CTRL-Enter. URL handlers.
'';
homepage = "https://sourceforge.net/projects/gmrun/";
- license = "GPL";
+ license = licenses.gpl2;
maintainers = [];
- platforms = stdenv.lib.platforms.all;
+ platforms = platforms.all;
};
}
diff --git a/nixpkgs/pkgs/applications/misc/go-jira/default.nix b/nixpkgs/pkgs/applications/misc/go-jira/default.nix
index 5fad7b9ac03..7844a6a593c 100644
--- a/nixpkgs/pkgs/applications/misc/go-jira/default.nix
+++ b/nixpkgs/pkgs/applications/misc/go-jira/default.nix
@@ -13,6 +13,8 @@ buildGoModule rec {
vendorSha256 = "18jwxnkv94lsxfv57ga519knxm077cc8chp5c992ipk58a04nv18";
+ doCheck = false;
+
meta = with stdenv.lib; {
description = "Simple command line client for Atlassian's Jira service written in Go";
homepage = "https://github.com/go-jira/jira";
diff --git a/nixpkgs/pkgs/applications/misc/golden-cheetah/default.nix b/nixpkgs/pkgs/applications/misc/golden-cheetah/default.nix
index 761d05e5f9f..3eaefd66395 100644
--- a/nixpkgs/pkgs/applications/misc/golden-cheetah/default.nix
+++ b/nixpkgs/pkgs/applications/misc/golden-cheetah/default.nix
@@ -12,7 +12,7 @@ let
desktopName = "GoldenCheetah";
genericName = "GoldenCheetah";
comment = "Performance software for cyclists, runners and triathletes";
- categories = "Application;Utility;";
+ categories = "Utility;";
};
in mkDerivation rec {
pname = "golden-cheetah";
diff --git a/nixpkgs/pkgs/applications/misc/goldendict/default.nix b/nixpkgs/pkgs/applications/misc/goldendict/default.nix
index cd8ecc18223..57a40f8d187 100644
--- a/nixpkgs/pkgs/applications/misc/goldendict/default.nix
+++ b/nixpkgs/pkgs/applications/misc/goldendict/default.nix
@@ -4,19 +4,19 @@
, withCC ? true, opencc
, withEpwing ? true, libeb
, withExtraTiff ? true, libtiff
-, withFFmpeg ? true, libao, ffmpeg
+, withFFmpeg ? true, libao, ffmpeg_3
, withMultimedia ? true
-, withZim ? true }:
+, withZim ? true, zstd }:
mkDerivation rec {
pname = "goldendict";
- version = "2020-01-09";
+ version = "2020-05-27";
src = fetchFromGitHub {
owner = "goldendict";
repo = pname;
- rev = "da197ff5cd0e7326124c9240a1853a0e8b1de439";
- sha256 = "0dlzwjh9wg4bzhhib71jycpp21qw762ww63a37dd50z1ymi61lxc";
+ rev = "ec40c1dcfde6df1dc7950443b46ae22c283b1e52";
+ sha256 = "1zmnwwnpnrqfyf7vmmh38r95q2fl4cqzbkp69bcwkr0xc80wgyz7";
};
patches = [
@@ -39,7 +39,8 @@ mkDerivation rec {
++ stdenv.lib.optional withCC opencc
++ stdenv.lib.optional withEpwing libeb
++ stdenv.lib.optional withExtraTiff libtiff
- ++ stdenv.lib.optionals withFFmpeg [ libao ffmpeg ];
+ ++ stdenv.lib.optionals withFFmpeg [ libao ffmpeg_3 ]
+ ++ stdenv.lib.optional withZim zstd;
qmakeFlags = with stdenv.lib; [
"goldendict.pro"
diff --git a/nixpkgs/pkgs/applications/misc/gollum/Gemfile.lock b/nixpkgs/pkgs/applications/misc/gollum/Gemfile.lock
index 4759cdcf573..91096ddc917 100644
--- a/nixpkgs/pkgs/applications/misc/gollum/Gemfile.lock
+++ b/nixpkgs/pkgs/applications/misc/gollum/Gemfile.lock
@@ -1,18 +1,18 @@
GEM
remote: https://rubygems.org/
specs:
- backports (3.17.0)
- concurrent-ruby (1.1.6)
+ backports (3.18.1)
+ concurrent-ruby (1.1.7)
crass (1.0.6)
execjs (2.7.0)
- ffi (1.12.2)
- gemojione (4.3.2)
+ ffi (1.13.1)
+ gemojione (4.3.3)
json
github-markup (3.0.4)
- gollum (5.0.1)
+ gollum (5.1.1)
gemojione (~> 4.1)
gollum-lib (~> 5.0)
- kramdown (~> 2.1.0)
+ kramdown (~> 2.3)
kramdown-parser-gfm (~> 1.0.0)
mustache (>= 0.99.5, < 1.0.0)
octicons (~> 8.5)
@@ -25,45 +25,46 @@ GEM
therubyrhino (~> 2.1.0)
uglifier (~> 3.2)
useragent (~> 0.16.2)
- gollum-lib (5.0.3)
+ gollum-lib (5.0.5)
gemojione (~> 4.1)
github-markup (~> 3.0)
- gollum-rugged_adapter (~> 0.99.4, >= 0.99.4)
+ gollum-rugged_adapter (~> 1.0)
loofah (~> 2.3)
nokogiri (~> 1.8)
octicons (~> 8.5)
rouge (~> 3.1)
twitter-text (= 1.14.7)
- gollum-rugged_adapter (0.99.4)
+ gollum-rugged_adapter (1.0)
mime-types (>= 1.15)
rugged (~> 0.99)
- json (2.3.0)
- kramdown (2.1.0)
+ json (2.3.1)
+ kramdown (2.3.0)
+ rexml
kramdown-parser-gfm (1.0.1)
kramdown (~> 2.0)
- loofah (2.5.0)
+ loofah (2.6.0)
crass (~> 1.0.2)
nokogiri (>= 1.5.9)
mime-types (3.3.1)
mime-types-data (~> 3.2015)
- mime-types-data (3.2019.1009)
+ mime-types-data (3.2020.0512)
mini_portile2 (2.4.0)
- multi_json (1.14.1)
+ multi_json (1.15.0)
mustache (0.99.8)
mustermann (1.1.1)
ruby2_keywords (~> 0.0.1)
- nokogiri (1.10.9)
+ nokogiri (1.10.10)
mini_portile2 (~> 2.4.0)
octicons (8.5.0)
nokogiri (>= 1.6.3.1)
- rack (2.2.2)
+ rack (2.2.3)
rack-protection (2.0.8.1)
rack
- rb-fsevent (0.10.3)
+ rb-fsevent (0.10.4)
rb-inotify (0.10.1)
ffi (~> 1.0)
rexml (3.2.4)
- rouge (3.17.0)
+ rouge (3.22.0)
rss (0.2.9)
rexml
ruby2_keywords (0.0.2)
@@ -88,7 +89,7 @@ GEM
sprockets (3.7.2)
concurrent-ruby (~> 1.0)
rack (> 1, < 3)
- sprockets-helpers (1.2.3)
+ sprockets-helpers (1.3.0)
sprockets (>= 2.2)
therubyrhino (2.1.2)
therubyrhino_jar (>= 1.7.4, < 1.7.9)
diff --git a/nixpkgs/pkgs/applications/misc/gollum/gemset.nix b/nixpkgs/pkgs/applications/misc/gollum/gemset.nix
index 3febcea2f9a..45bf0e04d07 100644
--- a/nixpkgs/pkgs/applications/misc/gollum/gemset.nix
+++ b/nixpkgs/pkgs/applications/misc/gollum/gemset.nix
@@ -4,20 +4,20 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "13ywgyyxzlgks7nb17gwqjmdqjjmhc8si3iliv8jhf51lb3s865v";
+ sha256 = "0qagwshq7zyjgm6k53hbrf4gfrwn6qz5d6rrc83cl59q37v68zsc";
type = "gem";
};
- version = "3.17.0";
+ version = "3.18.1";
};
concurrent-ruby = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "094387x4yasb797mv07cs3g6f08y56virc2rjcpb1k79rzaj3nhl";
+ sha256 = "1vnxrbhi7cq3p4y2v9iwd10v1c7l15is4var14hwnb2jip4fyjzz";
type = "gem";
};
- version = "1.1.6";
+ version = "1.1.7";
};
crass = {
groups = ["default"];
@@ -44,10 +44,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "10lfhahnnc91v63xpvk65apn61pib086zha3z5sp1xk9acfx12h4";
+ sha256 = "12lpwaw82bb0rm9f52v1498bpba8aj2l2q359mkwbxsswhpga5af";
type = "gem";
};
- version = "1.12.2";
+ version = "1.13.1";
};
gemojione = {
dependencies = ["json"];
@@ -55,10 +55,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "097mrsahv1h67kjrk1cpiqc1cbrfgvlp2rqwmzdzxrq0kx50461w";
+ sha256 = "0fwd523pgr72w3w6jwpz9i6sggvz52d7831a1s4y3lv8m50j6ima";
type = "gem";
};
- version = "4.3.2";
+ version = "4.3.3";
};
github-markup = {
groups = ["default"];
@@ -76,10 +76,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1f9p1230xmrvcb7ii2gkcvhpgcaqvvd47gy3c58nn730jkv471dr";
+ sha256 = "14i6y3ilv9l7cqvkawl75js26cfj1pd8cphhmq9lic95ajvdf371";
type = "gem";
};
- version = "5.0.1";
+ version = "5.1.1";
};
gollum-lib = {
dependencies = ["gemojione" "github-markup" "gollum-rugged_adapter" "loofah" "nokogiri" "octicons" "rouge" "twitter-text"];
@@ -87,10 +87,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0r59fyf7i4rlp6wj9ilnqd9pmgpkafv0yl4jmrxa6hr2p4cmnf1g";
+ sha256 = "18f3g5px9zznyh6ppqlnjdp1ia8awgrix9lhbfh64rpgxg0b9xlr";
type = "gem";
};
- version = "5.0.3";
+ version = "5.0.5";
};
gollum-rugged_adapter = {
dependencies = ["mime-types" "rugged"];
@@ -98,30 +98,31 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0016yfac3b3sy34k9wrqg422mjm8cpd1jd1m4gdn4x2d4jxhxkzq";
+ sha256 = "0ln12976vm1ks74yyrssdx576b1z0hs8r82fivr366knv5hlcrdm";
type = "gem";
};
- version = "0.99.4";
+ version = "1.0";
};
json = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0nrmw2r4nfxlfgprfgki3hjifgrcrs3l5zvm3ca3gb4743yr25mn";
+ sha256 = "158fawfwmv2sq4whqqaksfykkiad2xxrrj0nmpnc6vnlzi1bp7iz";
type = "gem";
};
- version = "2.3.0";
+ version = "2.3.1";
};
kramdown = {
+ dependencies = ["rexml"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1dl840bvx8d9nq6lg3mxqyvbiqnr6lk3jfsm6r8zhz7p5srmd688";
+ sha256 = "1vmw752c26ny2jwl0npn0gbyqwgz4hdmlpxnsld9qi9xhk5b1qh7";
type = "gem";
};
- version = "2.1.0";
+ version = "2.3.0";
};
kramdown-parser-gfm = {
dependencies = ["kramdown"];
@@ -140,10 +141,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0jk9fgn5ayzbqvzqm11gbkqvas77zdbpkvynlylyiwynclgrn040";
+ sha256 = "1s9hq8bpn6g5vqr3nzyirn3agn7x8agan6151zvq5vmkf6rvmyb2";
type = "gem";
};
- version = "2.5.0";
+ version = "2.6.0";
};
mime-types = {
dependencies = ["mime-types-data"];
@@ -161,10 +162,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "18x61fc36951vw7f74gq8cyybdpxvyg5d0azvqhrs82ddw3v16xh";
+ sha256 = "1z75svngyhsglx0y2f9rnil2j08f9ab54b3l95bpgz67zq2if753";
type = "gem";
};
- version = "3.2019.1009";
+ version = "3.2020.0512";
};
mini_portile2 = {
groups = ["default"];
@@ -181,10 +182,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0xy54mjf7xg41l8qrg1bqri75agdqmxap9z466fjismc1rn2jwfr";
+ sha256 = "0pb1g1y3dsiahavspyzkdy39j4q377009f6ix0bh1ag4nqw43l0z";
type = "gem";
};
- version = "1.14.1";
+ version = "1.15.0";
};
mustache = {
groups = ["default"];
@@ -213,10 +214,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "12j76d0bp608932xkzmfi638c7aqah57l437q8494znzbj610qnm";
+ sha256 = "0xmf60nj5kg9vaj5bysy308687sgmkasgx06vbbnf94p52ih7si2";
type = "gem";
};
- version = "1.10.9";
+ version = "1.10.10";
};
octicons = {
dependencies = ["nokogiri"];
@@ -234,10 +235,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "10mp9s48ssnw004aksq90gvhdvwczh8j6q82q2kqiqq92jd1zxbp";
+ sha256 = "0i5vs0dph9i5jn8dfc6aqd6njcafmb20rwqngrf759c9cvmyff16";
type = "gem";
};
- version = "2.2.2";
+ version = "2.2.3";
};
rack-protection = {
dependencies = ["rack"];
@@ -255,10 +256,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1lm1k7wpz69jx7jrc92w3ggczkjyjbfziq5mg62vjnxmzs383xx8";
+ sha256 = "1k9bsj7ni0g2fd7scyyy1sk9dy2pg9akniahab0iznvjmhn54h87";
type = "gem";
};
- version = "0.10.3";
+ version = "0.10.4";
};
rb-inotify = {
dependencies = ["ffi"];
@@ -286,10 +287,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0xl7k5paf66p57sphm4nfa4k86yf93lhdzzr0cv0l4divq12g2pr";
+ sha256 = "1wcz7i009wdbymlfsamagqi18m6ih8j60bii0k18f21g70r72i0m";
type = "gem";
};
- version = "3.17.0";
+ version = "3.22.0";
};
rss = {
dependencies = ["rexml"];
@@ -383,10 +384,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1hy67dwz76n5db00d9n3qy59ici96c2g25c9xpmp2nh8ilvha338";
+ sha256 = "14iq8v16l31bfq7pikfmgcv5x6pkc5lbdmwwg6zlzcy1bibcliar";
type = "gem";
};
- version = "1.2.3";
+ version = "1.3.0";
};
therubyrhino = {
dependencies = ["therubyrhino_jar"];
diff --git a/nixpkgs/pkgs/applications/misc/gomatrix/default.nix b/nixpkgs/pkgs/applications/misc/gomatrix/default.nix
index 0cf6c966093..c903f1ba1bb 100644
--- a/nixpkgs/pkgs/applications/misc/gomatrix/default.nix
+++ b/nixpkgs/pkgs/applications/misc/gomatrix/default.nix
@@ -13,10 +13,12 @@ buildGoModule rec {
vendorSha256 = "1yw0gph4zfg8w4343882l6b9lggwyak2zz8ic1l1m2m44p3aq169";
+ doCheck = false;
+
meta = with lib; {
description = ''Displays "The Matrix" in a terminal'';
license = licenses.bsd2;
maintainers = with maintainers; [ skykanin ];
homepage = "https://github.com/GeertJohan/gomatrix";
};
-} \ No newline at end of file
+}
diff --git a/nixpkgs/pkgs/applications/misc/googleearth/default.nix b/nixpkgs/pkgs/applications/misc/googleearth/default.nix
index dff69130c18..db388106345 100644
--- a/nixpkgs/pkgs/applications/misc/googleearth/default.nix
+++ b/nixpkgs/pkgs/applications/misc/googleearth/default.nix
@@ -1,6 +1,6 @@
{ stdenv, fetchurl, glibc, libGLU, libGL, freetype, glib, libSM, libICE, libXi, libXv
, libXrender, libXrandr, libXfixes, libXcursor, libXinerama, libXext, libX11
-, zlib, fontconfig, dpkg, libproxy, libxml2, gstreamer, gst_all_1, dbus }:
+, zlib, fontconfig, dpkg, libproxy, libxml2, gst_all_1, dbus }:
let
arch =
@@ -33,7 +33,6 @@ let
fontconfig
libproxy
libxml2
- gstreamer
dbus
gst_all_1.gstreamer
gst_all_1.gst-plugins-base
@@ -80,7 +79,7 @@ stdenv.mkDerivation rec {
for a in $out/opt/google/earth/free/*.so* ; do
patchelf --set-rpath "${fullPath}:\$ORIGIN" $a
done
-
+
# Add desktop config file and icons
mkdir -p $out/share/{applications,icons/hicolor/{16x16,22x22,24x24,32x32,48x48,64x64,128x128,256x256}/apps,pixmaps}
ln -s $out/opt/google/earth/free/google-earth.desktop $out/share/applications/google-earth.desktop
diff --git a/nixpkgs/pkgs/applications/misc/googler/default.nix b/nixpkgs/pkgs/applications/misc/googler/default.nix
index fba36f5e8ac..de93dc6f43e 100644
--- a/nixpkgs/pkgs/applications/misc/googler/default.nix
+++ b/nixpkgs/pkgs/applications/misc/googler/default.nix
@@ -1,25 +1,33 @@
-{ stdenv, fetchFromGitHub, python }:
+{ stdenv, fetchFromGitHub, python, installShellFiles }:
stdenv.mkDerivation rec {
pname = "googler";
- version = "4.1";
+ version = "4.2";
src = fetchFromGitHub {
owner = "jarun";
repo = pname;
rev = "v${version}";
- sha256 = "04d7n2l159s7c9xzvyvbnbii1k3zdbajagpx09x1l692cwjbvpxw";
+ sha256 = "0c480wzc7q4pks1f6mnayr580c73jhzshliz4hgznzc7zwcdf41w";
};
- propagatedBuildInputs = [ python ];
+ buildInputs = [ python ];
+
+ nativeBuildInputs = [ installShellFiles ];
makeFlags = [ "PREFIX=$(out)" ];
+ postInstall = ''
+ installShellCompletion --bash --name googler.bash auto-completion/bash/googler-completion.bash
+ installShellCompletion --fish auto-completion/fish/googler.fish
+ installShellCompletion --zsh auto-completion/zsh/_googler
+ '';
+
meta = with stdenv.lib; {
homepage = "https://github.com/jarun/googler";
description = "Google Search, Google Site Search, Google News from the terminal";
license = licenses.gpl3;
maintainers = with maintainers; [ koral filalex77 ];
- platforms = platforms.unix;
+ platforms = python.meta.platforms;
};
}
diff --git a/nixpkgs/pkgs/applications/misc/gopacked/default.nix b/nixpkgs/pkgs/applications/misc/gopacked/default.nix
index 418fe96a897..57f6be40ab0 100644
--- a/nixpkgs/pkgs/applications/misc/gopacked/default.nix
+++ b/nixpkgs/pkgs/applications/misc/gopacked/default.nix
@@ -13,6 +13,8 @@ buildGoModule rec {
vendorSha256 = "0fklr3lxh8g7gda65wf2wdkqv15869h7m1bwbzbiv8pasrf5b352";
+ doCheck = false;
+
meta = with lib; {
description = "A simple text-based Minecraft modpack manager";
license = licenses.agpl3;
diff --git a/nixpkgs/pkgs/applications/misc/gosmore/default.nix b/nixpkgs/pkgs/applications/misc/gosmore/default.nix
index 350cb56695f..4da6c6d07cc 100644
--- a/nixpkgs/pkgs/applications/misc/gosmore/default.nix
+++ b/nixpkgs/pkgs/applications/misc/gosmore/default.nix
@@ -25,7 +25,7 @@ stdenv.mkDerivation {
patches = [ ./pointer_int_comparison.patch ];
patchFlags = [ "-p1" "--binary" ]; # patch has dos style eol
-
+
meta = with stdenv.lib; {
description = "Open Street Map viewer";
homepage = "https://sourceforge.net/projects/gosmore/";
@@ -33,5 +33,6 @@ stdenv.mkDerivation {
raskin
];
platforms = platforms.linux;
+ license = licenses.bsd2;
};
}
diff --git a/nixpkgs/pkgs/applications/misc/gpsbabel/default.nix b/nixpkgs/pkgs/applications/misc/gpsbabel/default.nix
index ef4c732ef52..1915b2dae17 100644
--- a/nixpkgs/pkgs/applications/misc/gpsbabel/default.nix
+++ b/nixpkgs/pkgs/applications/misc/gpsbabel/default.nix
@@ -1,4 +1,4 @@
-{ lib, stdenv, fetchFromGitHub, fetchpatch, zlib, which, IOKit, qtbase }:
+{ lib, stdenv, fetchFromGitHub, fetchpatch, zlib, which, IOKit, qtbase, libusb-compat-0_1 }:
stdenv.mkDerivation rec {
pname = "gpsbabel";
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
})
];
- buildInputs = [ zlib qtbase which ]
+ buildInputs = [ zlib qtbase which libusb-compat-0_1 ]
++ lib.optionals stdenv.isDarwin [ IOKit ];
/* FIXME: Building the documentation, with "make doc", requires this:
diff --git a/nixpkgs/pkgs/applications/misc/gpxsee/default.nix b/nixpkgs/pkgs/applications/misc/gpxsee/default.nix
index b3dbecb56b1..9ee3b96a5bb 100644
--- a/nixpkgs/pkgs/applications/misc/gpxsee/default.nix
+++ b/nixpkgs/pkgs/applications/misc/gpxsee/default.nix
@@ -2,13 +2,13 @@
mkDerivation rec {
pname = "gpxsee";
- version = "7.30";
+ version = "7.31";
src = fetchFromGitHub {
owner = "tumic0";
repo = "GPXSee";
rev = version;
- sha256 = "09gajwqc30r9a2sn972qdx3gx0gki9n0zafq986hn6zsr3z43mfs";
+ sha256 = "0y60h66p8ydkinxk9x4sp4cm6gq66nc9jcavy135vmycsiq9gphn";
};
patches = [
diff --git a/nixpkgs/pkgs/applications/misc/hamster/default.nix b/nixpkgs/pkgs/applications/misc/hamster/default.nix
new file mode 100644
index 00000000000..57b36e00436
--- /dev/null
+++ b/nixpkgs/pkgs/applications/misc/hamster/default.nix
@@ -0,0 +1,62 @@
+{ stdenv, fetchFromGitHub, python3Packages, intltool, glib, itstool
+, wrapGAppsHook, gobject-introspection, pango, gdk-pixbuf, atk, wafHook }:
+
+python3Packages.buildPythonApplication rec {
+ pname = "hamster";
+ version = "3.0.2";
+
+ format = "other";
+
+ src = fetchFromGitHub {
+ owner = "projecthamster";
+ repo = pname;
+ rev = "v${version}";
+ sha256 = "09ikiwc2izjvwqbbyp8knn190x5y4anwslkmb9k2h3r3jwrg2vd2";
+ };
+
+ nativeBuildInputs = [
+ python3Packages.setuptools
+ wrapGAppsHook
+ intltool
+ itstool
+ wafHook
+ glib
+ gobject-introspection
+ ];
+
+ buildInputs = [
+ pango
+ gdk-pixbuf
+ atk
+ ];
+
+ propagatedBuildInputs = with python3Packages; [
+ pygobject3
+ pycairo
+ pyxdg
+ dbus-python
+ ];
+
+ # Setup hooks have trouble with strict deps.
+ # https://github.com/NixOS/nixpkgs/issues/56943
+ strictDeps = false;
+
+ dontWrapGApps = true;
+
+ # Arguments to be passed to `makeWrapper`, only used by buildPython*
+ preFixup = ''
+ makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
+ '';
+
+ postFixup = ''
+ wrapPythonProgramsIn $out/libexec "$out $pythonPath"
+ '';
+
+ meta = with stdenv.lib; {
+ description = "Time tracking application";
+ homepage = "http://projecthamster.org/";
+ license = licenses.gpl3Plus;
+ platforms = platforms.all;
+ maintainers = [ maintainers.fabianhauser ];
+ };
+}
diff --git a/nixpkgs/pkgs/applications/misc/havoc/default.nix b/nixpkgs/pkgs/applications/misc/havoc/default.nix
index fc4cc680ca4..a6d5278fc3c 100644
--- a/nixpkgs/pkgs/applications/misc/havoc/default.nix
+++ b/nixpkgs/pkgs/applications/misc/havoc/default.nix
@@ -4,13 +4,13 @@
stdenv.mkDerivation rec {
pname = "havoc";
- version = "2019-12-08";
+ version = "0.3.1";
src = fetchFromGitHub {
owner = "ii8";
repo = pname;
- rev = "507446c92ed7bf8380a58c5ba2b14aba5cdf412c";
- sha256 = "13nfnan1gmy4cqxmqv0rc8a4mcb1g62v73d56hy7z2psv4am7a09";
+ rev = version;
+ sha256 = "1g05r9j6srwz1krqvzckx80jn8fm48rkb4xp68953gy9yp2skg3k";
};
nativeBuildInputs = [ pkgconfig ];
diff --git a/nixpkgs/pkgs/applications/misc/heimer/default.nix b/nixpkgs/pkgs/applications/misc/heimer/default.nix
index f301122a92d..1626fc440e9 100644
--- a/nixpkgs/pkgs/applications/misc/heimer/default.nix
+++ b/nixpkgs/pkgs/applications/misc/heimer/default.nix
@@ -2,13 +2,13 @@
mkDerivation rec {
pname = "heimer";
- version = "1.15.1";
+ version = "1.18.0";
src = fetchFromGitHub {
owner = "juzzlin";
repo = pname;
rev = version;
- sha256 = "13a9yfq7m8jhirb31i0mmigqb135r585zwqddknl090d88164fic";
+ sha256 = "16p18svfcp201gd624wzmf0gpdvywybxp8539igin6s70k6rpc97";
};
nativeBuildInputs = [ cmake ];
@@ -19,5 +19,6 @@ mkDerivation rec {
homepage = "https://github.com/juzzlin/Heimer";
license = licenses.gpl3;
maintainers = with maintainers; [ dtzWill ];
+ platforms = platforms.linux;
};
}
diff --git a/nixpkgs/pkgs/applications/misc/hovercraft/default.nix b/nixpkgs/pkgs/applications/misc/hovercraft/default.nix
index edb8114e4a4..5a03cfe23ba 100644
--- a/nixpkgs/pkgs/applications/misc/hovercraft/default.nix
+++ b/nixpkgs/pkgs/applications/misc/hovercraft/default.nix
@@ -13,14 +13,14 @@
buildPythonApplication rec {
pname = "hovercraft";
- version = "2.6";
+ version = "2.7";
disabled = ! isPy3k;
src = fetchFromGitHub {
owner = "regebro";
repo = "hovercraft";
rev = version;
- sha256 = "150sn6kvqi2s89di1akl5i0g81fasji2ipr12zq5s4dcnhw4r5wp";
+ sha256 = "0k0gjlqjz424rymcfdjpj6a71ppblfls5f8y2hd800d1as4im8az";
};
checkInputs = [ manuel ];
diff --git a/nixpkgs/pkgs/applications/misc/hstr/default.nix b/nixpkgs/pkgs/applications/misc/hstr/default.nix
index b1e740fb760..81f931b11f8 100644
--- a/nixpkgs/pkgs/applications/misc/hstr/default.nix
+++ b/nixpkgs/pkgs/applications/misc/hstr/default.nix
@@ -15,15 +15,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ autoreconfHook pkgconfig ];
buildInputs = [ readline ncurses gettext ];
- configurePhase = ''
- autoreconf -fvi
- ./configure
- '';
-
- installPhase = ''
- mkdir -p $out/bin/
- mv src/hstr $out/bin/
- '';
+ configureFlags = [ "--prefix=$(out)" ];
meta = {
homepage = "https://github.com/dvorka/hstr";
diff --git a/nixpkgs/pkgs/applications/misc/html5validator/default.nix b/nixpkgs/pkgs/applications/misc/html5validator/default.nix
new file mode 100644
index 00000000000..657996d1da9
--- /dev/null
+++ b/nixpkgs/pkgs/applications/misc/html5validator/default.nix
@@ -0,0 +1,25 @@
+{ buildPythonApplication, fetchFromGitHub, nose, openjdk, lib }:
+
+buildPythonApplication rec {
+ pname = "html5validator";
+ version = "0.3.3";
+
+ src = fetchFromGitHub {
+ owner = "svenkreiss";
+ repo = "html5validator";
+ rev = "v${version}";
+ sha256 = "130acqi0dsy3midg7hwslykzry6crr4ln6ia0f0avyywkz4bplsv";
+ };
+
+ propagatedBuildInputs = [ openjdk ];
+
+ checkInputs = [ nose ];
+ checkPhase = "PATH=$PATH:$out/bin nosetests";
+
+ meta = with lib; {
+ homepage = "https://github.com/svenkreiss/html5validator";
+ description = "Command line tool that tests files for HTML5 validity";
+ license = licenses.mit;
+ maintainers = [ maintainers.phunehehe ];
+ };
+}
diff --git a/nixpkgs/pkgs/applications/misc/hugo/default.nix b/nixpkgs/pkgs/applications/misc/hugo/default.nix
index ba01f88cc58..a04c2bddaf9 100644
--- a/nixpkgs/pkgs/applications/misc/hugo/default.nix
+++ b/nixpkgs/pkgs/applications/misc/hugo/default.nix
@@ -1,33 +1,21 @@
-{ stdenv, buildGoModule, fetchFromGitHub, libsass }:
+{ stdenv, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "hugo";
- version = "0.72.0";
-
- buildInputs = [ libsass ];
+ version = "0.74.3";
src = fetchFromGitHub {
owner = "gohugoio";
repo = pname;
rev = "v${version}";
- sha256 = "05parzx0wm51z4qkvh4k096ykgiyr9i5xy55c0g99j4y96drcybb";
+ sha256 = "0rikr4yrjvmrv8smvr8jdbcjqwf61y369wn875iywrj63pyr74r9";
};
- golibsass = fetchFromGitHub {
- owner = "bep";
- repo = "golibsass";
- rev = "8a04397f0baba474190a9f58019ff499ec43057a";
- sha256 = "0xk3m2ynbydzx87dz573ihwc4ryq0r545vz937szz175ivgfrhh3";
- };
+ vendorSha256 = "17xn6bdy942g6nx5xky41ixmd5kaz68chj3rb02ibpyraamx04nm";
- overrideModAttrs = (_: {
- postBuild = ''
- rm -rf vendor/github.com/bep/golibsass/
- cp -r --reflink=auto ${golibsass} vendor/github.com/bep/golibsass
- '';
- });
+ doCheck = false;
- vendorSha256 = "07dkmrldsxw59v6r4avj1gr4hsaxybhb14qv61hc777qix2kq9v1";
+ runVend = true;
buildFlags = [ "-tags" "extended" ];
diff --git a/nixpkgs/pkgs/applications/misc/imag/default.nix b/nixpkgs/pkgs/applications/misc/imag/default.nix
new file mode 100644
index 00000000000..bb6956aaa59
--- /dev/null
+++ b/nixpkgs/pkgs/applications/misc/imag/default.nix
@@ -0,0 +1,63 @@
+{ stdenv
+, rustPlatform
+, fetchFromGitHub
+, llvmPackages
+, openssl
+, pkg-config
+, installShellFiles
+, Security
+, gitMinimal
+, utillinuxMinimal
+}:
+
+rustPlatform.buildRustPackage rec {
+ pname = "imag";
+ version = "0.10.1";
+
+ src = fetchFromGitHub {
+ owner = "matthiasbeyer";
+ repo = pname;
+ rev = "v${version}";
+ sha256 = "0f9915f083z5qqcxyavj0w6m973c8m1x7kfb89pah5agryy5mkaq";
+ };
+
+ nativeBuildInputs = [ installShellFiles pkg-config ];
+ buildInputs = [ openssl ]
+ ++ stdenv.lib.optional stdenv.isDarwin Security;
+ checkInputs = [ gitMinimal utillinuxMinimal ];
+
+ LIBCLANG_PATH = "${llvmPackages.libclang}/lib";
+
+ cargoSha256 = "0n8cw70qh8g4hfwfaxwwxbrrx5hm2z037z8kdhvdpqkxljl9189x";
+
+ checkPhase = ''
+ export HOME=$TMPDIR
+ git config --global user.email "nobody@example.com"
+ git config --global user.name "Nobody"
+
+ # UI tests uses executables directly, so we need to build them before
+ # launching the tests
+ cargo build
+ '' + (
+ # CLI uses the presence of a controlling TTY to check if arguments are
+ # passed in stdin, or in the command-line, so we use script to create
+ # a PTY for us.
+ if !stdenv.isDarwin then ''
+ script -qfec "cargo test --workspace"
+ '' else ''
+ script -q "cargo test --workspace"
+ ''
+ );
+
+ postInstall = ''
+ installShellCompletion target/imag.{bash,fish} --zsh target/_imag
+ '';
+
+ meta = with stdenv.lib; {
+ description = "Commandline personal information management suite";
+ homepage = "https://imag-pim.org/";
+ license = licenses.lgpl21;
+ maintainers = with maintainers; [ filalex77 minijackson ];
+ platforms = platforms.unix;
+ };
+}
diff --git a/nixpkgs/pkgs/applications/misc/img2pdf/default.nix b/nixpkgs/pkgs/applications/misc/img2pdf/default.nix
deleted file mode 100644
index b9c06d5122c..00000000000
--- a/nixpkgs/pkgs/applications/misc/img2pdf/default.nix
+++ /dev/null
@@ -1,25 +0,0 @@
-{ stdenv, python3Packages }:
-
-with python3Packages;
-
-buildPythonApplication rec {
- pname = "img2pdf";
- version = "0.3.6";
-
- src = fetchPypi {
- inherit pname version;
- sha256 = "1yx0ljbg7phpix507wq584qvspp2jgax7flpp1148pxpc2d51mcc";
- };
-
- propagatedBuildInputs = [
- pillow
- ];
-
- meta = with stdenv.lib; {
- description = "Convert images to PDF via direct JPEG inclusion";
- homepage = "https://gitlab.mister-muffin.de/josch/img2pdf";
- license = licenses.lgpl2;
- platforms = platforms.unix;
- maintainers = [ maintainers.veprbl ];
- };
-}
diff --git a/nixpkgs/pkgs/applications/misc/inkcut/default.nix b/nixpkgs/pkgs/applications/misc/inkcut/default.nix
new file mode 100644
index 00000000000..6be6e842bde
--- /dev/null
+++ b/nixpkgs/pkgs/applications/misc/inkcut/default.nix
@@ -0,0 +1,54 @@
+{ lib, python3Packages, fetchFromGitHub, wrapQtAppsHook }:
+
+with python3Packages;
+
+buildPythonApplication rec {
+ pname = "inkcut";
+ version = "2.1.1";
+
+ src = fetchFromGitHub {
+ owner = pname;
+ repo = pname;
+ rev = "v${version}";
+ sha256 = "1c0mfdfy9iq4l683f3aa7cm7x2w9px83dyigc7655wvaq3bxi2rp";
+ };
+
+ nativeBuildInputs = [ wrapQtAppsHook ];
+
+ propagatedBuildInputs = [
+ enamlx
+ twisted
+ lxml
+ qreactor
+ jsonpickle
+ pyserial
+ pycups
+ qtconsole
+ pyqt5
+ ];
+
+ # QtApplication.instance() does not work during tests?
+ doCheck = false;
+
+ pythonImportsCheck = [
+ "inkcut"
+ "inkcut.cli"
+ "inkcut.console"
+ "inkcut.core"
+ "inkcut.device"
+ "inkcut.job"
+ "inkcut.joystick"
+ "inkcut.monitor"
+ "inkcut.preview"
+ ];
+
+ dontWrapQtApps = true;
+ makeWrapperArgs = [ "\${qtWrapperArgs[@]}" ];
+
+ meta = with lib; {
+ homepage = "https://www.codelv.com/projects/inkcut/";
+ description = "Control 2D plotters, cutters, engravers, and CNC machines";
+ license = licenses.gpl3;
+ maintainers = with maintainers; [ raboof ];
+ };
+}
diff --git a/nixpkgs/pkgs/applications/misc/jekyll/basic/Gemfile.lock b/nixpkgs/pkgs/applications/misc/jekyll/basic/Gemfile.lock
index 8731ed26838..ffc7c0e2aeb 100644
--- a/nixpkgs/pkgs/applications/misc/jekyll/basic/Gemfile.lock
+++ b/nixpkgs/pkgs/applications/misc/jekyll/basic/Gemfile.lock
@@ -1,7 +1,7 @@
GEM
remote: https://rubygems.org/
specs:
- activesupport (6.0.3.1)
+ activesupport (6.0.3.2)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 0.7, < 2)
minitest (~> 5.1)
@@ -10,21 +10,21 @@ GEM
addressable (2.7.0)
public_suffix (>= 2.0.2, < 5.0)
colorator (1.1.0)
- concurrent-ruby (1.1.6)
+ concurrent-ruby (1.1.7)
em-websocket (0.5.1)
eventmachine (>= 0.12.9)
http_parser.rb (~> 0.6.0)
eventmachine (1.2.7)
- ffi (1.12.2)
+ ffi (1.13.1)
forwardable-extended (2.6.0)
gemoji (3.0.1)
- html-pipeline (2.12.3)
+ html-pipeline (2.14.0)
activesupport (>= 2)
nokogiri (>= 1.4)
http_parser.rb (0.6.0)
- i18n (1.8.2)
+ i18n (1.8.5)
concurrent-ruby (~> 1.0)
- jekyll (4.1.0)
+ jekyll (4.1.1)
addressable (~> 2.4)
colorator (~> 1.0)
em-websocket (~> 0.5)
@@ -56,7 +56,7 @@ GEM
gemoji (~> 3.0)
html-pipeline (~> 2.2)
jekyll (>= 3.0, < 5.0)
- kramdown (2.2.1)
+ kramdown (2.3.0)
rexml
kramdown-parser-gfm (1.1.0)
kramdown (~> 2.0)
@@ -67,7 +67,7 @@ GEM
mercenary (0.4.0)
mini_portile2 (2.4.0)
minitest (5.14.1)
- nokogiri (1.10.9)
+ nokogiri (1.10.10)
mini_portile2 (~> 2.4.0)
pathutil (0.16.2)
forwardable-extended (~> 2.6)
@@ -76,9 +76,9 @@ GEM
rb-inotify (0.10.1)
ffi (~> 1.0)
rexml (3.2.4)
- rouge (3.19.0)
+ rouge (3.22.0)
safe_yaml (1.0.5)
- sassc (2.3.0)
+ sassc (2.4.0)
ffi (~> 1.9)
terminal-table (1.8.0)
unicode-display_width (~> 1.1, >= 1.1.1)
@@ -86,7 +86,7 @@ GEM
tzinfo (1.2.7)
thread_safe (~> 0.1)
unicode-display_width (1.7.0)
- zeitwerk (2.3.0)
+ zeitwerk (2.4.0)
PLATFORMS
ruby
diff --git a/nixpkgs/pkgs/applications/misc/jekyll/basic/gemset.nix b/nixpkgs/pkgs/applications/misc/jekyll/basic/gemset.nix
index 8c1773f19dc..b14b27f3756 100644
--- a/nixpkgs/pkgs/applications/misc/jekyll/basic/gemset.nix
+++ b/nixpkgs/pkgs/applications/misc/jekyll/basic/gemset.nix
@@ -5,10 +5,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1l29n9n38c9lpy5smh26r7fy7jp2bpjqlzhxgsr79cv7xpwlrbhs";
+ sha256 = "02sh4q8izyfdnh7z2nj5mn5sklfvqgx9rrag5j3l51y8aqkrg2yk";
type = "gem";
};
- version = "6.0.3.1";
+ version = "6.0.3.2";
};
addressable = {
dependencies = ["public_suffix"];
@@ -36,10 +36,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "094387x4yasb797mv07cs3g6f08y56virc2rjcpb1k79rzaj3nhl";
+ sha256 = "1vnxrbhi7cq3p4y2v9iwd10v1c7l15is4var14hwnb2jip4fyjzz";
type = "gem";
};
- version = "1.1.6";
+ version = "1.1.7";
};
em-websocket = {
dependencies = ["eventmachine" "http_parser.rb"];
@@ -67,10 +67,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "10lfhahnnc91v63xpvk65apn61pib086zha3z5sp1xk9acfx12h4";
+ sha256 = "12lpwaw82bb0rm9f52v1498bpba8aj2l2q359mkwbxsswhpga5af";
type = "gem";
};
- version = "1.12.2";
+ version = "1.13.1";
};
forwardable-extended = {
groups = ["default"];
@@ -98,10 +98,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1x5i330yks7pb1jxcbm9n6gslkgaqhyvl13d0cqxmxzkcajvb7z4";
+ sha256 = "080sn9z1a64gv04p318jz10y6lv6qd3avip08rrcmq9k4ihai0f1";
type = "gem";
};
- version = "2.12.3";
+ version = "2.14.0";
};
"http_parser.rb" = {
groups = ["default"];
@@ -119,10 +119,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0jwrd1l4mxz06iyx6053lr6hz2zy7ah2k3ranfzisvych5q19kwm";
+ sha256 = "153sx77p16vawrs4qpkv7qlzf9v5fks4g7xqcj1dwk40i6g7rfzk";
type = "gem";
};
- version = "1.8.2";
+ version = "1.8.5";
};
jekyll = {
dependencies = ["addressable" "colorator" "em-websocket" "i18n" "jekyll-sass-converter" "jekyll-watch" "kramdown" "kramdown-parser-gfm" "liquid" "mercenary" "pathutil" "rouge" "safe_yaml" "terminal-table"];
@@ -130,10 +130,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0v01g9cwn4v7rnpsl9yvscjzvah3p4xwh03zp37zxkvw5kv004n8";
+ sha256 = "192k1ggw99slpqpxb4xamcvcm2pdahgnmygl746hmkrar0i3xa5r";
type = "gem";
};
- version = "4.1.0";
+ version = "4.1.1";
};
jekyll-avatar = {
dependencies = ["jekyll"];
@@ -218,10 +218,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "059mk8lmddp2a2aa6s4pp7x2yyqbqg5crx5jkn32dzlnqi2j5cn6";
+ sha256 = "1vmw752c26ny2jwl0npn0gbyqwgz4hdmlpxnsld9qi9xhk5b1qh7";
type = "gem";
};
- version = "2.2.1";
+ version = "2.3.0";
};
kramdown-parser-gfm = {
dependencies = ["kramdown"];
@@ -291,10 +291,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "12j76d0bp608932xkzmfi638c7aqah57l437q8494znzbj610qnm";
+ sha256 = "0xmf60nj5kg9vaj5bysy308687sgmkasgx06vbbnf94p52ih7si2";
type = "gem";
};
- version = "1.10.9";
+ version = "1.10.10";
};
pathutil = {
dependencies = ["forwardable-extended"];
@@ -353,10 +353,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "102rc07d78k5bkl0s9nd1gw6wz0w0zcvg4g5sl7z9xxi4r793c35";
+ sha256 = "1wcz7i009wdbymlfsamagqi18m6ih8j60bii0k18f21g70r72i0m";
type = "gem";
};
- version = "3.19.0";
+ version = "3.22.0";
};
safe_yaml = {
groups = ["default"];
@@ -374,10 +374,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1qzfnvb8khvc6w2sn3k91mndc2w50xxx5c84jkr6xdxlmaq1a3kg";
+ sha256 = "0gpqv48xhl8mb8qqhcifcp0pixn206a7imc07g48armklfqa4q2c";
type = "gem";
};
- version = "2.3.0";
+ version = "2.4.0";
};
terminal-table = {
dependencies = ["unicode-display_width"];
@@ -426,9 +426,9 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1akpm3pwvyiack2zk6giv9yn3cqb8pw6g40p4394pdc3xmy3s4k0";
+ sha256 = "0jvn50k76kl14fpymk4hdsf9sk00jl84yxzl783xhnw4dicp0m0k";
type = "gem";
};
- version = "2.3.0";
+ version = "2.4.0";
};
} \ No newline at end of file
diff --git a/nixpkgs/pkgs/applications/misc/jekyll/full/Gemfile.lock b/nixpkgs/pkgs/applications/misc/jekyll/full/Gemfile.lock
index 8b771bc1c0f..d7955072065 100644
--- a/nixpkgs/pkgs/applications/misc/jekyll/full/Gemfile.lock
+++ b/nixpkgs/pkgs/applications/misc/jekyll/full/Gemfile.lock
@@ -1,7 +1,7 @@
GEM
remote: https://rubygems.org/
specs:
- activesupport (6.0.3.1)
+ activesupport (6.0.3.2)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 0.7, < 2)
minitest (~> 5.1)
@@ -11,13 +11,13 @@ GEM
public_suffix (>= 2.0.2, < 5.0)
classifier-reborn (2.2.0)
fast-stemmer (~> 1.0)
- coderay (1.1.2)
+ coderay (1.1.3)
coffee-script (2.4.1)
coffee-script-source
execjs
coffee-script-source (1.12.2)
colorator (1.1.0)
- concurrent-ruby (1.1.6)
+ concurrent-ruby (1.1.7)
em-websocket (0.5.1)
eventmachine (>= 0.12.9)
http_parser.rb (~> 0.6.0)
@@ -26,16 +26,16 @@ GEM
faraday (1.0.1)
multipart-post (>= 1.2, < 3)
fast-stemmer (1.0.2)
- ffi (1.12.2)
+ ffi (1.13.1)
forwardable-extended (2.6.0)
gemoji (3.0.1)
- html-pipeline (2.12.3)
+ html-pipeline (2.14.0)
activesupport (>= 2)
nokogiri (>= 1.4)
http_parser.rb (0.6.0)
- i18n (1.8.2)
+ i18n (1.8.5)
concurrent-ruby (~> 1.0)
- jekyll (4.1.0)
+ jekyll (4.1.1)
addressable (~> 2.4)
colorator (~> 1.0)
em-websocket (~> 0.5)
@@ -55,7 +55,7 @@ GEM
jekyll-coffeescript (2.0.0)
coffee-script (~> 2.2)
coffee-script-source (~> 1.12)
- jekyll-feed (0.13.0)
+ jekyll-feed (0.15.0)
jekyll (>= 3.7, < 5.0)
jekyll-gist (1.5.0)
octokit (~> 4.2)
@@ -77,7 +77,7 @@ GEM
gemoji (~> 3.0)
html-pipeline (~> 2.2)
jekyll (>= 3.0, < 5.0)
- kramdown (2.2.1)
+ kramdown (2.3.0)
rexml
kramdown-parser-gfm (1.1.0)
kramdown (~> 2.0)
@@ -97,7 +97,7 @@ GEM
mini_portile2 (2.4.0)
minitest (5.14.1)
multipart-post (2.1.1)
- nokogiri (1.10.9)
+ nokogiri (1.10.10)
mini_portile2 (~> 2.4.0)
octokit (4.18.0)
faraday (>= 0.9)
@@ -110,9 +110,9 @@ GEM
ffi (~> 1.0)
rdoc (6.2.1)
rexml (3.2.4)
- rouge (3.19.0)
+ rouge (3.22.0)
safe_yaml (1.0.5)
- sassc (2.3.0)
+ sassc (2.4.0)
ffi (~> 1.9)
sawyer (0.8.2)
addressable (>= 2.3.5)
@@ -125,7 +125,7 @@ GEM
thread_safe (~> 0.1)
unicode-display_width (1.7.0)
yajl-ruby (1.4.1)
- zeitwerk (2.3.0)
+ zeitwerk (2.4.0)
PLATFORMS
ruby
diff --git a/nixpkgs/pkgs/applications/misc/jekyll/full/gemset.nix b/nixpkgs/pkgs/applications/misc/jekyll/full/gemset.nix
index 5f54a4f7382..aa0bc9bcdcc 100644
--- a/nixpkgs/pkgs/applications/misc/jekyll/full/gemset.nix
+++ b/nixpkgs/pkgs/applications/misc/jekyll/full/gemset.nix
@@ -5,10 +5,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1l29n9n38c9lpy5smh26r7fy7jp2bpjqlzhxgsr79cv7xpwlrbhs";
+ sha256 = "02sh4q8izyfdnh7z2nj5mn5sklfvqgx9rrag5j3l51y8aqkrg2yk";
type = "gem";
};
- version = "6.0.3.1";
+ version = "6.0.3.2";
};
addressable = {
dependencies = ["public_suffix"];
@@ -49,10 +49,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "15vav4bhcc2x3jmi3izb11l4d9f3xv8hp2fszb7iqmpsccv1pz4y";
+ sha256 = "0jvxqxzply1lwp7ysn94zjhh57vc14mcshw1ygw14ib8lhc00lyw";
type = "gem";
};
- version = "1.1.2";
+ version = "1.1.3";
};
coffee-script = {
dependencies = ["coffee-script-source" "execjs"];
@@ -90,10 +90,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "094387x4yasb797mv07cs3g6f08y56virc2rjcpb1k79rzaj3nhl";
+ sha256 = "1vnxrbhi7cq3p4y2v9iwd10v1c7l15is4var14hwnb2jip4fyjzz";
type = "gem";
};
- version = "1.1.6";
+ version = "1.1.7";
};
em-websocket = {
dependencies = ["eventmachine" "http_parser.rb"];
@@ -164,10 +164,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "10lfhahnnc91v63xpvk65apn61pib086zha3z5sp1xk9acfx12h4";
+ sha256 = "12lpwaw82bb0rm9f52v1498bpba8aj2l2q359mkwbxsswhpga5af";
type = "gem";
};
- version = "1.12.2";
+ version = "1.13.1";
};
forwardable-extended = {
groups = ["default"];
@@ -195,10 +195,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1x5i330yks7pb1jxcbm9n6gslkgaqhyvl13d0cqxmxzkcajvb7z4";
+ sha256 = "080sn9z1a64gv04p318jz10y6lv6qd3avip08rrcmq9k4ihai0f1";
type = "gem";
};
- version = "2.12.3";
+ version = "2.14.0";
};
"http_parser.rb" = {
groups = ["default"];
@@ -216,10 +216,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0jwrd1l4mxz06iyx6053lr6hz2zy7ah2k3ranfzisvych5q19kwm";
+ sha256 = "153sx77p16vawrs4qpkv7qlzf9v5fks4g7xqcj1dwk40i6g7rfzk";
type = "gem";
};
- version = "1.8.2";
+ version = "1.8.5";
};
jekyll = {
dependencies = ["addressable" "colorator" "em-websocket" "i18n" "jekyll-sass-converter" "jekyll-watch" "kramdown" "kramdown-parser-gfm" "liquid" "mercenary" "pathutil" "rouge" "safe_yaml" "terminal-table"];
@@ -227,10 +227,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0v01g9cwn4v7rnpsl9yvscjzvah3p4xwh03zp37zxkvw5kv004n8";
+ sha256 = "192k1ggw99slpqpxb4xamcvcm2pdahgnmygl746hmkrar0i3xa5r";
type = "gem";
};
- version = "4.1.0";
+ version = "4.1.1";
};
jekyll-avatar = {
dependencies = ["jekyll"];
@@ -260,10 +260,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1lx8nvkhd8l1wm3b6s506rycwbmpbzbsbjl65p21asjz6vbwf1ir";
+ sha256 = "1mgc1ik2cq2g8g7z9ql2i6ydzy771m2i4qrd1q77x8cf2sprlb0z";
type = "gem";
};
- version = "0.13.0";
+ version = "0.15.0";
};
jekyll-gist = {
dependencies = ["octokit"];
@@ -369,10 +369,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "059mk8lmddp2a2aa6s4pp7x2yyqbqg5crx5jkn32dzlnqi2j5cn6";
+ sha256 = "1vmw752c26ny2jwl0npn0gbyqwgz4hdmlpxnsld9qi9xhk5b1qh7";
type = "gem";
};
- version = "2.2.1";
+ version = "2.3.0";
};
kramdown-parser-gfm = {
dependencies = ["kramdown"];
@@ -519,10 +519,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "12j76d0bp608932xkzmfi638c7aqah57l437q8494znzbj610qnm";
+ sha256 = "0xmf60nj5kg9vaj5bysy308687sgmkasgx06vbbnf94p52ih7si2";
type = "gem";
};
- version = "1.10.9";
+ version = "1.10.10";
};
octokit = {
dependencies = ["faraday" "sawyer"];
@@ -602,10 +602,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "102rc07d78k5bkl0s9nd1gw6wz0w0zcvg4g5sl7z9xxi4r793c35";
+ sha256 = "1wcz7i009wdbymlfsamagqi18m6ih8j60bii0k18f21g70r72i0m";
type = "gem";
};
- version = "3.19.0";
+ version = "3.22.0";
};
safe_yaml = {
groups = ["default"];
@@ -623,10 +623,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1qzfnvb8khvc6w2sn3k91mndc2w50xxx5c84jkr6xdxlmaq1a3kg";
+ sha256 = "0gpqv48xhl8mb8qqhcifcp0pixn206a7imc07g48armklfqa4q2c";
type = "gem";
};
- version = "2.3.0";
+ version = "2.4.0";
};
sawyer = {
dependencies = ["addressable" "faraday"];
@@ -718,9 +718,9 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1akpm3pwvyiack2zk6giv9yn3cqb8pw6g40p4394pdc3xmy3s4k0";
+ sha256 = "0jvn50k76kl14fpymk4hdsf9sk00jl84yxzl783xhnw4dicp0m0k";
type = "gem";
};
- version = "2.3.0";
+ version = "2.4.0";
};
} \ No newline at end of file
diff --git a/nixpkgs/pkgs/applications/misc/joplin-desktop/default.nix b/nixpkgs/pkgs/applications/misc/joplin-desktop/default.nix
index 6515b3132d2..7b99f829224 100644
--- a/nixpkgs/pkgs/applications/misc/joplin-desktop/default.nix
+++ b/nixpkgs/pkgs/applications/misc/joplin-desktop/default.nix
@@ -2,20 +2,19 @@
let
pname = "joplin-desktop";
- version = "1.0.216";
- desktopItem = makeDesktopItem {
- name = "Joplin";
- exec = "joplin-desktop";
- type = "Application";
- desktopName = "Joplin";
- };
-in appimageTools.wrapType2 rec {
+ version = "1.0.245";
name = "${pname}-${version}";
+
src = fetchurl {
url = "https://github.com/laurent22/joplin/releases/download/v${version}/Joplin-${version}.AppImage";
- sha256 = "17rb7h98h9i2p5kw5gznx5swpz6yxqdxwc9x5cgbkc31vk10iszn";
+ sha256 = "1xybzjixqmp95b2a97kbbygn0jwndws9115cd7mbw8czl7nshdq6";
};
+ appimageContents = appimageTools.extractType2 {
+ inherit name src;
+ };
+in appimageTools.wrapType2 rec {
+ inherit name src;
profile = ''
export LC_ALL=C.UTF-8
@@ -25,9 +24,12 @@ in appimageTools.wrapType2 rec {
multiPkgs = null; # no 32bit needed
extraPkgs = appimageTools.defaultFhsEnvArgs.multiPkgs;
extraInstallCommands = ''
- mkdir -p $out/share/applications
- ln -s ${desktopItem}/share/applications/* $out/share/applications
mv $out/bin/{${name},${pname}}
+ install -m 444 -D ${appimageContents}/joplin.desktop $out/share/applications/joplin.desktop
+ install -m 444 -D ${appimageContents}/joplin.png \
+ $out/share/pixmaps/joplin.png
+ substituteInPlace $out/share/applications/joplin.desktop \
+ --replace 'Exec=AppRun' 'Exec=${pname}'
'';
diff --git a/nixpkgs/pkgs/applications/misc/josm/default.nix b/nixpkgs/pkgs/applications/misc/josm/default.nix
index f68de80b701..ab8448f503d 100644
--- a/nixpkgs/pkgs/applications/misc/josm/default.nix
+++ b/nixpkgs/pkgs/applications/misc/josm/default.nix
@@ -1,20 +1,20 @@
{ stdenv, fetchurl, fetchsvn, makeWrapper, unzip, jre, libXxf86vm }:
let
pname = "josm";
- version = "16239";
+ version = "16812";
srcs = {
jar = fetchurl {
url = "https://josm.openstreetmap.de/download/josm-snapshot-${version}.jar";
- sha256 = "041n81mnd587043f8wwjv8ckbx0hlsqf3pc7hzbns1y89xdghms1";
+ sha256 = "1ld0c87mhifbdnlrr7a9jmgn3s5xklzbpwcl1m6j1lc18ajs1awq";
};
macosx = fetchurl {
url = "https://josm.openstreetmap.de/download/macosx/josm-macosx-${version}.zip";
- sha256 = "1nlw1rvwdfp1hhsxyjli8pylm0hb7k62sa0nqvgyiw54dz78n00c";
+ sha256 = "0vhawcgzh06k2dfqav28n3sv1ij1ziz6bgi4k7m0diix6ia7hlar";
};
pkg = fetchsvn {
url = "https://josm.openstreetmap.de/svn/trunk/native/linux/tested";
rev = version;
- sha256 = "1qqk4bal84wnb66jym6qrdi10ypzvdzihd4jk5rnyfl3wm5qafbi";
+ sha256 = "0ybjca6dhnbwl3xqwrc91c444fzs1zrlnz7qr3l79s1vll9r4qd1";
};
};
in
diff --git a/nixpkgs/pkgs/applications/misc/k2pdfopt/0001-Fix-CMakeLists.patch b/nixpkgs/pkgs/applications/misc/k2pdfopt/0001-Fix-CMakeLists.patch
new file mode 100644
index 00000000000..8f9271ac996
--- /dev/null
+++ b/nixpkgs/pkgs/applications/misc/k2pdfopt/0001-Fix-CMakeLists.patch
@@ -0,0 +1,49 @@
+From 2629af4ed00d7ca65359178203d80fb146901cdb Mon Sep 17 00:00:00 2001
+From: Daniel Fullmer <danielrf12@gmail.com>
+Date: Fri, 3 Jul 2020 21:00:45 -0700
+Subject: [PATCH 1/2] Fix CMakeLists
+
+---
+ CMakeLists.txt | 12 ++++++++----
+ 1 file changed, 8 insertions(+), 4 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index e218279..4341de9 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -57,6 +57,7 @@ endif(JPEG_FOUND)
+ include(FindJasper)
+ if(JASPER_FOUND)
+ set(HAVE_JASPER_LIB 1)
++ set(K2PDFOPT_LIB ${K2PDFOPT_LIB} ${JASPER_LIBRARY})
+ endif(JASPER_FOUND)
+
+ # paths from willuslib/wgs.c
+@@ -71,9 +72,12 @@ else()
+ message(STATUS "Could NOT find ghostscript executable")
+ endif(GHOSTSCRIPT_EXECUTABLE)
+
+-# willus.h
+-# HAVE_GSL_LIB
+-
++pkg_check_modules(GSL gsl)
++if(GSL_FOUND)
++ set(HAVE_GSL_LIB 1)
++ include_directories(SYSTEM ${GSL_INCLUDEDIR})
++ set(K2PDFOPT_LIB ${K2PDFOPT_LIB} ${GSL_LDFLAGS})
++endif(GSL_FOUND)
+
+ # libfreetype6 (>= 2.3.9), libjbig2dec0, libjpeg8 (>= 8c), libx11-6, libxext6, zlib1g (>= 1:1.2.0)
+ # MUPDF_STATIC_LDFLAGS misses mupdf-js-none, and doubles libs ...
+@@ -85,7 +89,7 @@ if(MUPDF_FOUND)
+ include_directories(SYSTEM ${MUPDF_INCLUDEDIR})
+ message(STATUS "mupdf libraries: ${MUPDF_LDFLAGS}")
+ set(K2PDFOPT_LIB ${K2PDFOPT_LIB} ${MUPDF_LDFLAGS}
+- -lmupdf-js-none -lopenjpeg -ljbig2dec -ljpeg -lfreetype
++
+ )
+ endif(MUPDF_FOUND)
+
+--
+2.27.0
+
diff --git a/nixpkgs/pkgs/applications/misc/k2pdfopt/default.nix b/nixpkgs/pkgs/applications/misc/k2pdfopt/default.nix
index 8899654cc4c..75e467d4cdf 100644
--- a/nixpkgs/pkgs/applications/misc/k2pdfopt/default.nix
+++ b/nixpkgs/pkgs/applications/misc/k2pdfopt/default.nix
@@ -1,9 +1,8 @@
-{ stdenv, fetchzip, fetchurl, fetchpatch, cmake, pkgconfig
-, zlib, libpng
+{ stdenv, runCommand, fetchzip, fetchurl, fetchpatch, fetchFromGitHub
+, cmake, pkgconfig, zlib, libpng, makeWrapper
, enableGSL ? true, gsl
, enableGhostScript ? true, ghostscript
, enableMuPDF ? true, mupdf
-, enableJPEG2K ? false, jasper ? null # disabled by default, jasper has unfixed CVE
, enableDJVU ? true, djvulibre
, enableGOCR ? false, gocr # Disabled by default due to crashes
, enableTesseract ? true, leptonica, tesseract4
@@ -11,44 +10,132 @@
with stdenv.lib;
-stdenv.mkDerivation rec {
- pname = "k2pdfopt";
- version = "2.51a";
+# k2pdfopt is a pain to package. It requires modified versions of mupdf,
+# leptonica, and tesseract. Instead of shipping patches for these upstream
+# packages, k2pdfopt includes just the modified source files for these
+# packages. The individual files from the {mupdf,leptonica,tesseract}_mod/
+# directories are intended to replace the corresponding source files in the
+# upstream packages, for a particular version of that upstream package.
+#
+# There are a few ways we could approach packaging these modified versions of
+# mupdf, leptonica, and mupdf:
+# 1) Override the upstream source with a new derivation that involves copying
+# the modified source files from k2pdfopt and replacing the corresponding
+# source files in the upstream packages. Since the files are intended for a
+# particular version of the upstream package, this would not allow us to easily
+# use updates to those packages in nixpkgs.
+# 2) Manually produce patches which can be applied against the upstream
+# project, and have the same effect as replacing those files. This is what I
+# believe k2pdfopt should do this for us anyway. The benefit of creating and
+# applying patches in this way is that minor updates (esp. security fixes) to
+# upstream packages might still allow these patches to apply successfully.
+# 3) Automatically produce these patches inside a nix derivation. This is the
+# approach taken here, using the "mkPatch" provided below. This has the
+# benefit of easier review and should hopefully be simpler to update in the
+# future.
+
+let
+ # Create a patch against src based on changes applied in patchCommands
+ mkPatch = { name, src, patchCommands }: runCommand "${name}-k2pdfopt.patch" { inherit src; } ''
+ source $stdenv/setup
+ unpackPhase
- src = (fetchzip {
- url = "http://www.willus.com/k2pdfopt/src/k2pdfopt_v2.51_src.zip";
- sha256 = "133l7xkvi67s6sfk8cfh7rmavbsf7ib5fyksk1ci6b6sch3z2sw9";
- });
+ orig=$sourceRoot
+ new=$sourceRoot-modded
+ cp -r $orig/. $new/
- # Note: the v2.51a zip contains only files to be replaced in the v2.50 zip.
- v251a_src = (fetchzip {
- url = "http://www.willus.com/k2pdfopt/src/k2pdfopt_v2.51a_src.zip";
- sha256 = "0vvwblii7kgdwfxw8dzk6jbmz4dv94d7rkv18i60y8wkayj6yhl6";
- });
+ pushd $new >/dev/null
+ ${patchCommands}
+ popd >/dev/null
- postUnpack = ''
- cp -r ${v251a_src}/* $sourceRoot
+ diff -Naur $orig $new > $out || true
'';
- patches = [ ./k2pdfopt.patch ./k2pdfopt-mupdf-1.16.1.patch ];
+ pname = "k2pdfopt";
+ version = "2.53";
+ k2pdfopt_src = fetchzip {
+ url = "http://www.willus.com/${pname}/src/${pname}_v${version}_src.zip";
+ sha256 = "1fna8bg3pascjfc3hmc6xn0xi2yh7f1qp0d344mw9hqanbnykyy8";
+ };
+in stdenv.mkDerivation rec {
+ inherit pname version;
+ src = k2pdfopt_src;
+
+ patches = [
+ ./0001-Fix-CMakeLists.patch
+ ];
+
+ postPatch = ''
+ substituteInPlace willuslib/bmpdjvu.c \
+ --replace "<djvu.h>" "<libdjvu/ddjvuapi.h>"
+ '';
- nativeBuildInputs = [ cmake pkgconfig ];
+ nativeBuildInputs = [ cmake pkgconfig makeWrapper ];
buildInputs =
let
- # The patches below were constructed by taking the files from k2pdfopt in
- # the {mupdf,leptonica,tesseract}_mod/ directories, replacing the
- # corresponding files in the respective source trees, resolving any errors
- # with more recent versions of these depencencies, and running diff.
- mupdf_modded = mupdf.overrideAttrs (attrs: {
- patches = attrs.patches ++ [ ./mupdf.patch ]; # Last verified with mupdf 1.16.1
+ # We use specific versions of these sources below to match the versions
+ # used in the k2pdfopt source. Note that this does _not_ need to match the
+ # version used elsewhere in nixpkgs, since it is only used to create the
+ # patch that can then be applied to the version in nixpkgs.
+ mupdf_patch = mkPatch {
+ name = "mupdf";
+ src = fetchurl {
+ url = "https://mupdf.com/downloads/archive/mupdf-1.17.0-source.tar.gz";
+ sha256 = "13nl9nrcx2awz9l83mlv2psi1lmn3hdnfwxvwgwiwbxlkjl3zqq0";
+ };
+ patchCommands = ''
+ cp ${k2pdfopt_src}/mupdf_mod/{filter-basic,font,stext-device,string}.c ./source/fitz/
+ cp ${k2pdfopt_src}/mupdf_mod/pdf-* ./source/pdf/
+ '';
+ };
+ mupdf_modded = mupdf.overrideAttrs ({ patches ? [], ... }: {
+ patches = patches ++ [ mupdf_patch ];
+ # This function is missing in font.c, see font-win32.c
+ postPatch = ''
+ echo "void pdf_install_load_system_font_funcs(fz_context *ctx) {}" >> source/fitz/font.c
+ '';
});
- leptonica_modded = leptonica.overrideAttrs (attrs: {
- patches = [ ./leptonica.patch ]; # Last verified with leptonica 1.78.0
+
+ leptonica_patch = mkPatch {
+ name = "leptonica";
+ src = fetchurl {
+ url = "http://www.leptonica.org/source/leptonica-1.79.0.tar.gz";
+ sha256 = "1n004gv1dj3pq1fcnfdclvvx5nang80336aa67nvs3nnqp4ncn84";
+ };
+ patchCommands = "cp -r ${k2pdfopt_src}/leptonica_mod/. ./src/";
+ };
+ leptonica_modded = leptonica.overrideAttrs ({ patches ? [], ... }: {
+ patches = patches ++ [ leptonica_patch ];
});
+
+ tesseract_patch = mkPatch {
+ name = "tesseract";
+ src = fetchFromGitHub {
+ owner = "tesseract-ocr";
+ repo = "tesseract";
+ rev = "4.1.1";
+ sha256 = "1ca27zbjpx35nxh9fha410z3jskwyj06i5hqiqdc08s2d7kdivwn";
+ };
+ patchCommands = ''
+ cp ${k2pdfopt_src}/tesseract_mod/{baseapi,tesscapi,tesseract}.* src/api/
+ cp ${k2pdfopt_src}/tesseract_mod/{tesscapi,tessedit,tesseract}.* src/ccmain/
+ cp ${k2pdfopt_src}/tesseract_mod/dotproduct{avx,fma,sse}.* src/arch/
+ cp ${k2pdfopt_src}/tesseract_mod/{intsimdmatrixsse,simddetect}.* src/arch/
+ cp ${k2pdfopt_src}/tesseract_mod/{errcode,genericvector,mainblk,params,serialis,tessdatamanager,tess_version,tprintf,unicharset}.* src/ccutil/
+ cp ${k2pdfopt_src}/tesseract_mod/{input,lstmrecognizer}.* src/lstm/
+ cp ${k2pdfopt_src}/tesseract_mod/openclwrapper.* src/opencl/
+ '';
+ };
tesseract_modded = tesseract4.override {
- tesseractBase = tesseract4.tesseractBase.overrideAttrs (_: {
- patches = [ ./tesseract.patch ]; # Last verified with tesseract 1.4
+ tesseractBase = tesseract4.tesseractBase.overrideAttrs ({ patches ? [], ... }: {
+ patches = patches ++ [ tesseract_patch ];
+ # Additional compilation fixes
+ postPatch = ''
+ echo libtesseract_api_la_SOURCES += tesscapi.cpp >> src/api/Makefile.am
+ substituteInPlace src/api/tesseract.h \
+ --replace "#include <leptonica.h>" "//#include <leptonica.h>"
+ '';
});
};
in
@@ -56,7 +143,6 @@ stdenv.mkDerivation rec {
optional enableGSL gsl ++
optional enableGhostScript ghostscript ++
optional enableMuPDF mupdf_modded ++
- optional enableJPEG2K jasper ++
optional enableDJVU djvulibre ++
optional enableGOCR gocr ++
optionals enableTesseract [ leptonica_modded tesseract_modded ];
@@ -71,6 +157,10 @@ stdenv.mkDerivation rec {
install -D -m 755 k2pdfopt $out/bin/k2pdfopt
'';
+ preFixup = optionalString enableTesseract ''
+ wrapProgram $out/bin/k2pdfopt --set-default TESSDATA_PREFIX ${tesseract4}/share/tessdata
+ '';
+
meta = with stdenv.lib; {
description = "Optimizes PDF/DJVU files for mobile e-readers (e.g. the Kindle) and smartphones";
homepage = "http://www.willus.com/k2pdfopt";
diff --git a/nixpkgs/pkgs/applications/misc/k2pdfopt/k2pdfopt-mupdf-1.16.1.patch b/nixpkgs/pkgs/applications/misc/k2pdfopt/k2pdfopt-mupdf-1.16.1.patch
deleted file mode 100644
index 3a9eca30e75..00000000000
--- a/nixpkgs/pkgs/applications/misc/k2pdfopt/k2pdfopt-mupdf-1.16.1.patch
+++ /dev/null
@@ -1,151 +0,0 @@
-diff --git a/willuslib/wmupdf.c b/willuslib/wmupdf.c
-index 81627ef..f14a96c 100644
---- a/willuslib/wmupdf.c
-+++ b/willuslib/wmupdf.c
-@@ -189,8 +189,6 @@ int wmupdf_remake_pdf(char *infile,char *outfile,WPDFPAGEINFO *pageinfo,int use_
- pdf_write_opts.do_compress=1;
- pdf_write_opts.do_linear=0;
- pdf_write_opts.do_garbage=1; /* 2 and 3 don't work for this. */
-- pdf_write_opts.continue_on_error=0;
-- pdf_write_opts.errors=NULL;
- write_failed=0;
- wpdfpageinfo_sort(pageinfo);
- xref=NULL;
-@@ -1687,8 +1685,8 @@ WPDFOUTLINE *wpdfoutline_read_from_pdf_file(char *filename)
- /* Sumatra version of MuPDF v1.4 -- use locally installed fonts */
- pdf_install_load_system_font_funcs(ctx);
- fz_try(ctx) { doc=fz_open_document(ctx,filename); }
-- fz_catch(ctx)
-- {
-+ fz_catch(ctx)
-+ {
- fz_drop_context(ctx);
- return(NULL);
- }
-@@ -1890,5 +1888,5 @@ static pdf_obj *pdf_new_string_utf8(fz_context *ctx,char *string)
- willus_mem_free((double **)&utfbuf,funcname);
- return(pdfobj);
- }
--
-+
- #endif /* HAVE_MUPDF_LIB */
-diff --git a/willuslib/wmupdfinfo.c b/willuslib/wmupdfinfo.c
-index 5c7f38c..9b9e6fd 100644
---- a/willuslib/wmupdfinfo.c
-+++ b/willuslib/wmupdfinfo.c
-@@ -237,23 +237,22 @@ static void showglobalinfo(fz_context *ctx, globals *glo,char *filename)
- pdf_obj *robj;
-
- robj=pdf_resolve_indirect(ctx,obj);
-- n=pdf_sprint_obj(ctx,NULL,0,robj,1);
-- buf=malloc(n+2);
-+ buf=pdf_sprint_obj(ctx,NULL,0,&n,robj,1,0);
- if (buf==NULL)
- {
- fz_write_printf(ctx,out,"Info object (%d %d R):\n",pdf_to_num(ctx,obj),pdf_to_gen(ctx,obj));
-- pdf_print_obj(ctx,out,robj,1);
-+ pdf_print_obj(ctx,out,robj,1,0);
- }
- else
- {
-- pdf_sprint_obj(ctx,buf,n+2,robj,1);
-+ pdf_sprint_obj(ctx,buf,n+2,&n,robj,1,0);
- display_pdf_field(ctx,out,buf,"Title","TITLE");
- display_pdf_field(ctx,out,buf,"CreationDate","CREATED");
- display_pdf_field(ctx,out,buf,"ModDate","LAST MODIFIED");
- display_pdf_field(ctx,out,buf,"Producer","PDF PRODUCER");
- display_pdf_field(ctx,out,buf,"Creator","CREATOR");
- display_file_size(ctx,out,filename);
-- free(buf);
-+ fz_free(ctx,buf);
- }
- }
- if (glo->dims==1)
-@@ -275,7 +274,7 @@ static void showglobalinfo(fz_context *ctx, globals *glo,char *filename)
- if (obj)
- {
- fz_write_printf(ctx,out, "\nEncryption object (%d %d R):\n", pdf_to_num(ctx,obj), pdf_to_gen(ctx,obj));
-- pdf_print_obj(ctx,out, pdf_resolve_indirect(ctx,obj), 1);
-+ pdf_print_obj(ctx,out, pdf_resolve_indirect(ctx,obj), 1, 0);
- }
- }
-
-@@ -396,7 +395,7 @@ gatherdimensions(fz_context *ctx, globals *glo, int page, pdf_obj *pageref, pdf_
- if (j < glo->dims)
- return;
-
-- glo->dim = fz_resize_array(ctx, glo->dim, glo->dims+1, sizeof(struct info));
-+ glo->dim = fz_realloc_array(ctx, glo->dim, glo->dims+1, struct info);
- glo->dims++;
-
- glo->dim[glo->dims - 1].page = page;
-@@ -441,7 +440,7 @@ gatherfonts(fz_context *ctx, globals *glo, int page, pdf_obj *pageref, pdf_obj *
- if (k < glo->fonts)
- continue;
-
-- glo->font = fz_resize_array(ctx, glo->font, glo->fonts+1, sizeof(struct info));
-+ glo->font = fz_realloc_array(ctx, glo->font, glo->fonts+1, struct info);
- glo->fonts++;
-
- glo->font[glo->fonts - 1].page = page;
-@@ -510,7 +509,7 @@ gatherimages(fz_context *ctx, globals *glo, int page, pdf_obj *pageref, pdf_obj
- if (k < glo->images)
- continue;
-
-- glo->image = fz_resize_array(ctx, glo->image, glo->images+1, sizeof(struct info));
-+ glo->image = fz_realloc_array(ctx, glo->image, glo->images+1, struct info);
- glo->images++;
-
- glo->image[glo->images - 1].page = page;
-@@ -568,7 +567,7 @@ gatherforms(fz_context *ctx, globals *glo, int page, pdf_obj *pageref, pdf_obj *
- if (k < glo->forms)
- continue;
-
-- glo->form = fz_resize_array(ctx, glo->form, glo->forms+1, sizeof(struct info));
-+ glo->form = fz_realloc_array(ctx, glo->form, glo->forms+1, struct info);
- glo->forms++;
-
- glo->form[glo->forms - 1].page = page;
-@@ -613,7 +612,7 @@ gatherpsobjs(fz_context *ctx, globals *glo, int page, pdf_obj *pageref, pdf_obj
- if (k < glo->psobjs)
- continue;
-
-- glo->psobj = fz_resize_array(ctx, glo->psobj, glo->psobjs+1, sizeof(struct info));
-+ glo->psobj = fz_realloc_array(ctx, glo->psobj, glo->psobjs+1, struct info);
- glo->psobjs++;
-
- glo->psobj[glo->psobjs - 1].page = page;
-@@ -656,7 +655,7 @@ gathershadings(fz_context *ctx, globals *glo, int page, pdf_obj *pageref, pdf_ob
- if (k < glo->shadings)
- continue;
-
-- glo->shading = fz_resize_array(ctx, glo->shading, glo->shadings+1, sizeof(struct info));
-+ glo->shading = fz_realloc_array(ctx, glo->shading, glo->shadings+1, struct info);
- glo->shadings++;
-
- glo->shading[glo->shadings - 1].page = page;
-@@ -724,7 +723,7 @@ gatherpatterns(fz_context *ctx, globals *glo, int page, pdf_obj *pageref, pdf_ob
- if (k < glo->patterns)
- continue;
-
-- glo->pattern = fz_resize_array(ctx, glo->pattern, glo->patterns+1, sizeof(struct info));
-+ glo->pattern = fz_realloc_array(ctx, glo->pattern, glo->patterns+1, struct info);
- glo->patterns++;
-
- glo->pattern[glo->patterns - 1].page = page;
-@@ -1216,7 +1215,7 @@ void wmupdfinfo_get(char *filename,int *pagelist,char **buf)
- if (fout==NULL)
- return;
- */
--
-+
- ctx = fz_new_context(NULL, NULL, FZ_STORE_UNLIMITED);
- if (!ctx)
- {
-@@ -1307,5 +1306,5 @@ static void date_convert(char *dst,char *src)
- else if (src[i]!='\0')
- sprintf(&dst[strlen(dst)]," %s",&src[i]);
- }
--
-+
- #endif /* HAVE_MUPDF_LIB */
diff --git a/nixpkgs/pkgs/applications/misc/k2pdfopt/k2pdfopt.patch b/nixpkgs/pkgs/applications/misc/k2pdfopt/k2pdfopt.patch
deleted file mode 100644
index cf7e4896b80..00000000000
--- a/nixpkgs/pkgs/applications/misc/k2pdfopt/k2pdfopt.patch
+++ /dev/null
@@ -1,99 +0,0 @@
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 4a2378b..502c477 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -52,6 +52,7 @@ endif(JPEG_FOUND)
- include(FindJasper)
- if(JASPER_FOUND)
- set(HAVE_JASPER_LIB 1)
-+ set(K2PDFOPT_LIB ${K2PDFOPT_LIB} ${JASPER_LIBRARY})
- endif(JASPER_FOUND)
-
- # paths from willuslib/wgs.c
-@@ -66,8 +67,12 @@ else()
- message(STATUS "Could NOT find ghostscript executable")
- endif(GHOSTSCRIPT_EXECUTABLE)
-
--# willus.h
--# HAVE_GSL_LIB
-+pkg_check_modules(GSL gsl)
-+if(GSL_FOUND)
-+ set(HAVE_GSL_LIB 1)
-+ include_directories(SYSTEM ${GSL_INCLUDEDIR})
-+ set(K2PDFOPT_LIB ${K2PDFOPT_LIB} ${GSL_LDFLAGS})
-+endif(GSL_FOUND)
-
-
- # libfreetype6 (>= 2.3.9), libjbig2dec0, libjpeg8 (>= 8c), libx11-6, libxext6, zlib1g (>= 1:1.2.0)
-@@ -80,7 +85,7 @@ if(MUPDF_FOUND)
- include_directories(SYSTEM ${MUPDF_INCLUDEDIR})
- message(STATUS "mupdf libraries: ${MUPDF_LDFLAGS}")
- set(K2PDFOPT_LIB ${K2PDFOPT_LIB} ${MUPDF_LDFLAGS}
-- -lmupdf-js-none -lopenjpeg -ljbig2dec -ljpeg -lfreetype
-+
- )
- endif(MUPDF_FOUND)
-
-@@ -91,9 +96,25 @@ if(DJVU_FOUND)
- set(K2PDFOPT_LIB ${K2PDFOPT_LIB} ${DJVU_LDFLAGS})
- endif(DJVU_FOUND)
-
--# HAVE_GOCR_LIB
--# HAVE_LEPTONICA_LIB
--# HAVE_TESSERACT_LIB
-+find_library(GOCR_LIB NAMES Pgm2asc)
-+if(GOCR_LIB)
-+ set(HAVE_GOCR_LIB 1)
-+ set(K2PDFOPT_LIB ${K2PDFOPT_LIB} ${GOCR_LIB})
-+endif(GOCR_LIB)
-+
-+pkg_check_modules(LEPTONICA lept)
-+if(LEPTONICA_FOUND)
-+ set(HAVE_LEPTONICA_LIB 1)
-+ include_directories(SYSTEM ${LEPTONICA_INCLUDEDIR})
-+ set(K2PDFOPT_LIB ${K2PDFOPT_LIB} ${LEPTONICA_LDFLAGS})
-+endif(LEPTONICA_FOUND)
-+
-+pkg_check_modules(TESSERACT tesseract)
-+if(TESSERACT_FOUND)
-+ set(HAVE_TESSERACT_LIB 1)
-+ include_directories(SYSTEM ${TESSERACT_INCLUDEDIR})
-+ set(K2PDFOPT_LIB ${K2PDFOPT_LIB} ${TESSERACT_LDFLAGS})
-+endif(TESSERACT_FOUND)
-
- # ---- Describe project
-
-diff --git a/willuslib/CMakeLists.txt b/willuslib/CMakeLists.txt
-index 463bbc9..8043db5 100644
---- a/willuslib/CMakeLists.txt
-+++ b/willuslib/CMakeLists.txt
-@@ -6,7 +6,7 @@ include_directories(..)
- set(WILLUSLIB_SRC
- ansi.c array.c bmp.c bmpdjvu.c bmpmupdf.c dtcompress.c filelist.c
- fontdata.c fontrender.c gslpolyfit.c linux.c math.c mem.c ocr.c
-- ocrjocr.c ocrtess.c pdfwrite.c point2d.c render.c strbuf.c string.c
-+ ocrgocr.c ocrtess.c pdfwrite.c point2d.c render.c strbuf.c string.c
- token.c wfile.c wgs.c wgui.c willusversion.c win.c winbmp.c
- wincomdlg.c winmbox.c winshell.c wmupdf.c wmupdfinfo.c wpdf.c wsys.c
- wzfile.c wleptonica.c
-diff --git a/willuslib/ocrgocr.c b/willuslib/ocrgocr.c
-index 6027e9a..fbe10f0 100644
---- a/willuslib/ocrgocr.c
-+++ b/willuslib/ocrgocr.c
-@@ -29,6 +29,8 @@
- #ifdef HAVE_GOCR_LIB
- #include <gocr.h>
-
-+job_t *OCR_JOB;
-+
- /*
- ** bmp8 must be grayscale
- ** (x1,y1) and (x2,y2) from top left of bitmap
-@@ -63,6 +65,7 @@ void gocr_single_word_from_bmp8(char *text,int maxlen,WILLUSBITMAP *bmp8,
- h=y2-y1+1;
- dh=h+bw*2;
- job=&_job;
-+ OCR_JOB=job;
- job_init(job);
- job_init_image(job);
- // willus_mem_alloc_warn((void **)&job->src.p.p,w*h,funcname,10);
diff --git a/nixpkgs/pkgs/applications/misc/k2pdfopt/leptonica.patch b/nixpkgs/pkgs/applications/misc/k2pdfopt/leptonica.patch
deleted file mode 100644
index dfab99fd013..00000000000
--- a/nixpkgs/pkgs/applications/misc/k2pdfopt/leptonica.patch
+++ /dev/null
@@ -1,254 +0,0 @@
-From 8c11a20925686855023df90ed477957c7d7fe91e Mon Sep 17 00:00:00 2001
-From: Daniel Fullmer <danielrf12@gmail.com>
-Date: Fri, 13 Sep 2019 15:54:21 -0400
-Subject: [PATCH] Willus mod for k2pdfopt
-
----
- src/allheaders.h | 4 ++
- src/dewarp2.c | 106 ++++++++++++++++++++++++++++++++++++++++++-----
- src/leptwin.c | 6 ++-
- 3 files changed, 104 insertions(+), 12 deletions(-)
-
-diff --git a/src/allheaders.h b/src/allheaders.h
-index e68eff1..b3cc729 100644
---- a/src/allheaders.h
-+++ b/src/allheaders.h
-@@ -669,6 +669,10 @@ LEPT_DLL extern L_DEWARPA * dewarpaReadMem ( const l_uint8 *data, size_t size );
- LEPT_DLL extern l_ok dewarpaWrite ( const char *filename, L_DEWARPA *dewa );
- LEPT_DLL extern l_ok dewarpaWriteStream ( FILE *fp, L_DEWARPA *dewa );
- LEPT_DLL extern l_ok dewarpaWriteMem ( l_uint8 **pdata, size_t *psize, L_DEWARPA *dewa );
-+/* WILLUS MOD */
-+ LEPT_DLL extern l_int32 dewarpBuildPageModel_ex ( L_DEWARP *dew, const char *debugfile,l_int32 fit_order );
-+ LEPT_DLL extern l_int32 dewarpFindVertDisparity_ex ( L_DEWARP *dew, PTAA *ptaa, l_int32 rotflag,l_int32 fit_order );
-+ LEPT_DLL extern l_int32 dewarpBuildLineModel_ex ( L_DEWARP *dew, l_int32 opensize, const char *debugfile,l_int32 fit_order );
- LEPT_DLL extern l_ok dewarpBuildPageModel ( L_DEWARP *dew, const char *debugfile );
- LEPT_DLL extern l_ok dewarpFindVertDisparity ( L_DEWARP *dew, PTAA *ptaa, l_int32 rotflag );
- LEPT_DLL extern l_ok dewarpFindHorizDisparity ( L_DEWARP *dew, PTAA *ptaa );
-diff --git a/src/dewarp2.c b/src/dewarp2.c
-index 220eec1..2e29500 100644
---- a/src/dewarp2.c
-+++ b/src/dewarp2.c
-@@ -144,9 +144,17 @@ static const l_float32 L_ALLOWED_W_FRACT = 0.05; /* no bigger */
- * longest textlines.
- * </pre>
- */
-+/* WILLUS MOD */
- l_ok
--dewarpBuildPageModel(L_DEWARP *dew,
-- const char *debugfile)
-+dewarpBuildPageModel(L_DEWARP *dew,const char *debugfile)
-+{
-+return(dewarpBuildPageModel_ex(dew,debugfile,2));
-+}
-+
-+l_ok
-+dewarpBuildPageModel_ex(L_DEWARP *dew,
-+ const char *debugfile,
-+ l_int32 fit_order)
- {
- l_int32 linecount, topline, botline, ret;
- PIX *pixs, *pix1, *pix2, *pix3;
-@@ -225,7 +233,7 @@ PTAA *ptaa1, *ptaa2;
- /* Get the sampled vertical disparity from the textline centers.
- * The disparity array will push pixels vertically so that each
- * textline is flat and centered at the y-position of the mid-point. */
-- if (dewarpFindVertDisparity(dew, ptaa2, 0) != 0) {
-+ if (dewarpFindVertDisparity_ex(dew, ptaa2, 0, fit_order) != 0) {
- L_WARNING("vertical disparity not built\n", procName);
- ptaaDestroy(&ptaa2);
- return 1;
-@@ -290,13 +298,24 @@ PTAA *ptaa1, *ptaa2;
- * a pdf. Non-pix debug output goes to /tmp.
- * </pre>
- */
-+/* WILLUS MOD */
- l_ok
- dewarpFindVertDisparity(L_DEWARP *dew,
- PTAA *ptaa,
- l_int32 rotflag)
- {
-+return(dewarpFindVertDisparity_ex(dew,ptaa,rotflag,2));
-+}
-+/* WILLUS MOD -- add cubic and quartic fits and ..._ex functions */
-+l_int32
-+dewarpFindVertDisparity_ex(L_DEWARP *dew,
-+ PTAA *ptaa,
-+ l_int32 rotflag,
-+ l_int32 fit_order)
-+{
- l_int32 i, j, nlines, npts, nx, ny, sampling;
--l_float32 c0, c1, c2, x, y, midy, val, medval, meddev, minval, maxval;
-+/* WILLUS MOD */
-+l_float32 c0, c1, c2, c3, c4, x, y, midy, val, medval, meddev, minval, maxval;
- l_float32 *famidys;
- NUMA *nax, *nafit, *nacurve0, *nacurve1, *nacurves;
- NUMA *namidy, *namidys, *namidysi;
-@@ -304,11 +323,22 @@ PIX *pix1, *pix2, *pixcirc, *pixdb;
- PTA *pta, *ptad, *ptacirc;
- PTAA *ptaa0, *ptaa1, *ptaa2, *ptaa3, *ptaa4, *ptaa5, *ptaat;
- FPIX *fpix;
-+/* WILLUS MOD */
-+l_int32 fit_order1,fit_order2;
-
- PROCNAME("dewarpFindVertDisparity");
-
- if (!dew)
- return ERROR_INT("dew not defined", procName, 1);
-+/* WILLUS MOD */
-+ if (fit_order < 10)
-+ fit_order1 = fit_order2 = fit_order;
-+ else
-+ {
-+ fit_order1=fit_order % 10;
-+ fit_order2=fit_order / 10;
-+ fit_order2=fit_order2 % 10;
-+ }
- dew->vsuccess = 0;
- if (!ptaa)
- return ERROR_INT("ptaa not defined", procName, 1);
-@@ -331,12 +361,32 @@ FPIX *fpix;
- pixdb = (rotflag) ? pixRotateOrth(dew->pixs, 1) : pixClone(dew->pixs);
- for (i = 0; i < nlines; i++) { /* for each line */
- pta = ptaaGetPta(ptaa, i, L_CLONE);
-- ptaGetQuadraticLSF(pta, &c2, &c1, &c0, NULL);
-- numaAddNumber(nacurve0, c2);
-+/* WILLUS MOD */
-+if (fit_order1>3)
-+ {
-+ ptaGetQuarticLSF(pta, &c4, &c3, &c2, &c1, &c0, NULL);
-+ numaAddNumber(nacurve0, c4);
-+ }
-+else if (fit_order1==3)
-+ {
-+ ptaGetCubicLSF(pta, &c3, &c2, &c1, &c0, NULL);
-+ numaAddNumber(nacurve0, c3);
-+ }
-+else
-+ {
-+ ptaGetQuadraticLSF(pta, &c2, &c1, &c0, NULL);
-+ numaAddNumber(nacurve0, c2);
-+ }
- ptad = ptaCreate(nx);
- for (j = 0; j < nx; j++) { /* uniformly sampled in x */
- x = j * sampling;
-- applyQuadraticFit(c2, c1, c0, x, &y);
-+/* WILLUS MOD */
-+if (fit_order1>3)
-+ applyQuarticFit(c4, c3, c2, c1, c0, x, &y);
-+else if (fit_order1==3)
-+ applyCubicFit(c3, c2, c1, c0, x, &y);
-+else
-+ applyQuadraticFit(c2, c1, c0, x, &y);
- ptaAddPt(ptad, x, y);
- }
- ptaaAddPta(ptaa0, ptad, L_INSERT);
-@@ -350,7 +400,13 @@ FPIX *fpix;
- for (i = 0; i < nlines; i++) {
- pta = ptaaGetPta(ptaa, i, L_CLONE);
- ptaGetArrays(pta, &nax, NULL);
-- ptaGetQuadraticLSF(pta, NULL, NULL, NULL, &nafit);
-+/* WILLUS MOD */
-+if (fit_order1>3)
-+ptaGetQuarticLSF(pta, NULL, NULL, NULL, NULL, NULL, &nafit);
-+else if (fit_order1==3)
-+ptaGetCubicLSF(pta, NULL, NULL, NULL, NULL, &nafit);
-+else
-+ptaGetQuadraticLSF(pta, NULL, NULL, NULL, &nafit);
- ptad = ptaCreateFromNuma(nax, nafit);
- ptaaAddPta(ptaat, ptad, L_INSERT);
- ptaDestroy(&pta);
-@@ -494,11 +550,24 @@ FPIX *fpix;
- ptaa5 = ptaaCreate(nx); /* uniformly sampled across full height of image */
- for (j = 0; j < nx; j++) { /* for each column */
- pta = ptaaGetPta(ptaa4, j, L_CLONE);
-- ptaGetQuadraticLSF(pta, &c2, &c1, &c0, NULL);
-+/* WILLUS MOD */
-+/* Order higher than 2 can cause a little craziness here. */
-+if (fit_order2>3)
-+ ptaGetQuarticLSF(pta, &c4, &c3, &c2, &c1, &c0, NULL);
-+else if (fit_order2==3)
-+ ptaGetCubicLSF(pta, &c3, &c2, &c1, &c0, NULL);
-+else
-+ ptaGetQuadraticLSF(pta, &c2, &c1, &c0, NULL);
- ptad = ptaCreate(ny);
- for (i = 0; i < ny; i++) { /* uniformly sampled in y */
- y = i * sampling;
-- applyQuadraticFit(c2, c1, c0, y, &val);
-+/* WILLUS MOD */
-+if (fit_order2>3)
-+ applyQuarticFit(c4, c3, c2, c1, c0, y, &val);
-+else if (fit_order2==3)
-+ applyCubicFit(c3, c2, c1, c0, y, &val);
-+else
-+ applyQuadraticFit(c2, c1, c0, y, &val);
- ptaAddPt(ptad, y, val);
- }
- ptaaAddPta(ptaa5, ptad, L_INSERT);
-@@ -1602,11 +1671,21 @@ FPIX *fpix;
- * See notes there.
- * </pre>
- */
-+/* WILLUS MOD */
- l_ok
- dewarpBuildLineModel(L_DEWARP *dew,
- l_int32 opensize,
- const char *debugfile)
- {
-+return(dewarpBuildLineModel_ex(dew,opensize,debugfile,2));
-+}
-+
-+l_int32
-+dewarpBuildLineModel_ex(L_DEWARP *dew,
-+ l_int32 opensize,
-+ const char *debugfile,
-+ l_int32 fit_order)
-+{
- char buf[64];
- l_int32 i, j, bx, by, ret, nlines;
- BOXA *boxa;
-@@ -1695,6 +1774,8 @@ PTAA *ptaa1, *ptaa2;
-
- /* Remove all lines that are not at least 0.75 times the length
- * of the longest line. */
-+/* WILLUS MOD */
-+/*
- ptaa2 = dewarpRemoveShortLines(pix, ptaa1, 0.75, DEBUG_SHORT_LINES);
- if (debugfile) {
- pix1 = pixConvertTo32(pix);
-@@ -1704,6 +1785,8 @@ PTAA *ptaa1, *ptaa2;
- pixDestroy(&pix1);
- pixDestroy(&pix2);
- }
-+*/
-+ptaa2=ptaa1;
- ptaaDestroy(&ptaa1);
- nlines = ptaaGetCount(ptaa2);
- if (nlines < dew->minlines) {
-@@ -1717,7 +1800,8 @@ PTAA *ptaa1, *ptaa2;
- * centers. The disparity array will push pixels vertically
- * so that each line is flat and centered at the y-position
- * of the mid-point. */
-- ret = dewarpFindVertDisparity(dew, ptaa2, 1 - i);
-+/* WILLUS MOD */
-+ ret = dewarpFindVertDisparity_ex(dew, ptaa2, 1 - i, fit_order);
-
- /* If i == 0, move the result to the horizontal disparity,
- * rotating it back by -90 degrees. */
-diff --git a/src/leptwin.c b/src/leptwin.c
-index 72643a0..573d33e 100644
---- a/src/leptwin.c
-+++ b/src/leptwin.c
-@@ -364,5 +364,9 @@ PIXCMAP *cmap;
-
- return hBitmap;
- }
--
-+#else
-+/* willus mod: Avoid weird issue with OS/X library archiver when there are no symbols */
-+int leptwin_my_empty_func(void);
-+int leptwin_my_empty_func(void)
-+{return(0);}
- #endif /* _WIN32 */
---
-2.22.0
-
diff --git a/nixpkgs/pkgs/applications/misc/k2pdfopt/mupdf.patch b/nixpkgs/pkgs/applications/misc/k2pdfopt/mupdf.patch
deleted file mode 100644
index 0c59a1d2016..00000000000
--- a/nixpkgs/pkgs/applications/misc/k2pdfopt/mupdf.patch
+++ /dev/null
@@ -1,1060 +0,0 @@
-From d8927c969e3387ca2669a616c0ba53bce918a031 Mon Sep 17 00:00:00 2001
-From: Daniel Fullmer <danielrf12@gmail.com>
-Date: Fri, 13 Sep 2019 15:11:45 -0400
-Subject: [PATCH] Willus mod for k2pdfopt
-
----
- source/fitz/filter-basic.c | 3 +
- source/fitz/font-win32.c | 866 +++++++++++++++++++++++++++++++++++++
- source/fitz/font.c | 3 +
- source/fitz/stext-device.c | 5 +
- source/fitz/string.c | 5 +
- source/pdf/pdf-annot.c | 14 +-
- source/pdf/pdf-link.c | 3 +
- source/pdf/pdf-parse.c | 5 +
- source/pdf/pdf-xref.c | 9 +
- 9 files changed, 912 insertions(+), 1 deletion(-)
- create mode 100644 source/fitz/font-win32.c
-
-diff --git a/source/fitz/filter-basic.c b/source/fitz/filter-basic.c
-index 0713a62e7..b8ef4d292 100644
---- a/source/fitz/filter-basic.c
-+++ b/source/fitz/filter-basic.c
-@@ -259,7 +259,10 @@ look_for_endstream:
- if (!state->warned)
- {
- state->warned = 1;
-+/* willus mod -- no warning */
-+/*
- fz_warn(ctx, "PDF stream Length incorrect");
-+*/
- }
- return *stm->rp++;
- }
-diff --git a/source/fitz/font-win32.c b/source/fitz/font-win32.c
-new file mode 100644
-index 000000000..45de8cfd3
---- /dev/null
-+++ b/source/fitz/font-win32.c
-@@ -0,0 +1,866 @@
-+/*
-+** Routines to access MS Windows system fonts.
-+** From sumatra PDF distro.
-+** Modified for MuPDF v1.9a by willus.com
-+*/
-+#include "mupdf/pdf.h"
-+
-+/*
-+ Which fonts are embedded is based on a few preprocessor definitions.
-+
-+ The base 14 fonts are always embedded.
-+ For CJK font substitution we embed DroidSansFallback.
-+
-+ Set NOCJK to skip all CJK support (this also omits embedding the CJK CMaps)
-+ Set NOCJKFONT to skip the embedded CJK font.
-+ Set NOCJKFULL to embed a smaller CJK font without CJK Extension A support.
-+*/
-+
-+#ifdef NOCJK
-+#define NOCJKFONT
-+#endif
-+
-+/* SumatraPDF: also load fonts included with Windows */
-+#ifdef _WIN32
-+
-+#ifndef UNICODE
-+#define UNICODE
-+#endif
-+#ifndef _UNICODE
-+#define _UNICODE
-+#endif
-+
-+#include <windows.h>
-+
-+// TODO: Use more of FreeType for TTF parsing (for performance reasons,
-+// the fonts can't be parsed completely, though)
-+#include <ft2build.h>
-+#include FT_TRUETYPE_IDS_H
-+#include FT_TRUETYPE_TAGS_H
-+
-+#define TTC_VERSION1 0x00010000
-+#define TTC_VERSION2 0x00020000
-+
-+#define MAX_FACENAME 128
-+
-+// Note: the font face must be the first field so that the structure
-+// can be treated like a simple string for searching
-+typedef struct pdf_fontmapMS_s
-+{
-+ char fontface[MAX_FACENAME];
-+ char fontpath[MAX_PATH];
-+ int index;
-+} pdf_fontmapMS;
-+
-+typedef struct pdf_fontlistMS_s
-+{
-+ pdf_fontmapMS *fontmap;
-+ int len;
-+ int cap;
-+} pdf_fontlistMS;
-+
-+typedef struct _tagTT_OFFSET_TABLE
-+{
-+ ULONG uVersion;
-+ USHORT uNumOfTables;
-+ USHORT uSearchRange;
-+ USHORT uEntrySelector;
-+ USHORT uRangeShift;
-+} TT_OFFSET_TABLE;
-+
-+typedef struct _tagTT_TABLE_DIRECTORY
-+{
-+ ULONG uTag; //table name
-+ ULONG uCheckSum; //Check sum
-+ ULONG uOffset; //Offset from beginning of file
-+ ULONG uLength; //length of the table in bytes
-+} TT_TABLE_DIRECTORY;
-+
-+typedef struct _tagTT_NAME_TABLE_HEADER
-+{
-+ USHORT uFSelector; //format selector. Always 0
-+ USHORT uNRCount; //Name Records count
-+ USHORT uStorageOffset; //Offset for strings storage, from start of the table
-+} TT_NAME_TABLE_HEADER;
-+
-+typedef struct _tagTT_NAME_RECORD
-+{
-+ USHORT uPlatformID;
-+ USHORT uEncodingID;
-+ USHORT uLanguageID;
-+ USHORT uNameID;
-+ USHORT uStringLength;
-+ USHORT uStringOffset; //from start of storage area
-+} TT_NAME_RECORD;
-+
-+typedef struct _tagFONT_COLLECTION
-+{
-+ ULONG Tag;
-+ ULONG Version;
-+ ULONG NumFonts;
-+} FONT_COLLECTION;
-+
-+static struct {
-+ char *name;
-+ char *pattern;
-+} baseSubstitutes[] = {
-+ { "Courier", "CourierNewPSMT" },
-+ { "Courier-Bold", "CourierNewPS-BoldMT" },
-+ { "Courier-Oblique", "CourierNewPS-ItalicMT" },
-+ { "Courier-BoldOblique", "CourierNewPS-BoldItalicMT" },
-+ { "Helvetica", "ArialMT" },
-+ { "Helvetica-Bold", "Arial-BoldMT" },
-+ { "Helvetica-Oblique", "Arial-ItalicMT" },
-+ { "Helvetica-BoldOblique", "Arial-BoldItalicMT" },
-+ { "Times-Roman", "TimesNewRomanPSMT" },
-+ { "Times-Bold", "TimesNewRomanPS-BoldMT" },
-+ { "Times-Italic", "TimesNewRomanPS-ItalicMT" },
-+ { "Times-BoldItalic", "TimesNewRomanPS-BoldItalicMT" },
-+ { "Symbol", "SymbolMT" },
-+};
-+static const char *base_font_names[][10] =
-+{
-+ { "Courier", "CourierNew", "CourierNewPSMT", NULL },
-+ { "Courier-Bold", "CourierNew,Bold", "Courier,Bold",
-+ "CourierNewPS-BoldMT", "CourierNew-Bold", NULL },
-+ { "Courier-Oblique", "CourierNew,Italic", "Courier,Italic",
-+ "CourierNewPS-ItalicMT", "CourierNew-Italic", NULL },
-+ { "Courier-BoldOblique", "CourierNew,BoldItalic", "Courier,BoldItalic",
-+ "CourierNewPS-BoldItalicMT", "CourierNew-BoldItalic", NULL },
-+ { "Helvetica", "ArialMT", "Arial", NULL },
-+ { "Helvetica-Bold", "Arial-BoldMT", "Arial,Bold", "Arial-Bold",
-+ "Helvetica,Bold", NULL },
-+ { "Helvetica-Oblique", "Arial-ItalicMT", "Arial,Italic", "Arial-Italic",
-+ "Helvetica,Italic", "Helvetica-Italic", NULL },
-+ { "Helvetica-BoldOblique", "Arial-BoldItalicMT",
-+ "Arial,BoldItalic", "Arial-BoldItalic",
-+ "Helvetica,BoldItalic", "Helvetica-BoldItalic", NULL },
-+ { "Times-Roman", "TimesNewRomanPSMT", "TimesNewRoman",
-+ "TimesNewRomanPS", NULL },
-+ { "Times-Bold", "TimesNewRomanPS-BoldMT", "TimesNewRoman,Bold",
-+ "TimesNewRomanPS-Bold", "TimesNewRoman-Bold", NULL },
-+ { "Times-Italic", "TimesNewRomanPS-ItalicMT", "TimesNewRoman,Italic",
-+ "TimesNewRomanPS-Italic", "TimesNewRoman-Italic", NULL },
-+ { "Times-BoldItalic", "TimesNewRomanPS-BoldItalicMT",
-+ "TimesNewRoman,BoldItalic", "TimesNewRomanPS-BoldItalic",
-+ "TimesNewRoman-BoldItalic", NULL },
-+ { "Symbol", "Symbol,Italic", "Symbol,Bold", "Symbol,BoldItalic",
-+ "SymbolMT", "SymbolMT,Italic", "SymbolMT,Bold", "SymbolMT,BoldItalic", NULL },
-+ { "ZapfDingbats", NULL }
-+};
-+
-+static pdf_fontlistMS fontlistMS =
-+{
-+ NULL,
-+ 0,
-+ 0,
-+};
-+static int strcmp_ignore_space(const char *a, const char *b);
-+static const char *clean_font_name(const char *fontname);
-+static const char *pdf_clean_base14_name(const char *fontname);
-+
-+static inline USHORT BEtoHs(USHORT x)
-+{
-+ BYTE *data = (BYTE *)&x;
-+ return (data[0] << 8) | data[1];
-+}
-+
-+static inline ULONG BEtoHl(ULONG x)
-+{
-+ BYTE *data = (BYTE *)&x;
-+ return (data[0] << 24) | (data[1] << 16) | (data[2] << 8) | data[3];
-+}
-+
-+static int strcmp_ignore_space(const char *a, const char *b)
-+{
-+ while (1)
-+ {
-+ while (*a == ' ')
-+ a++;
-+ while (*b == ' ')
-+ b++;
-+ if (*a != *b)
-+ return 1;
-+ if (*a == 0)
-+ return *a != *b;
-+ if (*b == 0)
-+ return *a != *b;
-+ a++;
-+ b++;
-+ }
-+}
-+
-+/* A little bit more sophisticated name matching so that e.g. "EurostileExtended"
-+ matches "EurostileExtended-Roman" or "Tahoma-Bold,Bold" matches "Tahoma-Bold" */
-+static int
-+lookup_compare(const void *elem1, const void *elem2)
-+{
-+ const char *val1 = elem1;
-+ const char *val2 = elem2;
-+ int len1 = strlen(val1);
-+ int len2 = strlen(val2);
-+
-+ if (len1 != len2)
-+ {
-+ const char *rest = len1 > len2 ? val1 + len2 : val2 + len1;
-+ if (',' == *rest || !_stricmp(rest, "-roman"))
-+ return _strnicmp(val1, val2, fz_mini(len1, len2));
-+ }
-+
-+ return _stricmp(val1, val2);
-+}
-+
-+static void
-+remove_spaces(char *srcDest)
-+{
-+ char *dest;
-+
-+ for (dest = srcDest; *srcDest; srcDest++)
-+ if (*srcDest != ' ')
-+ *dest++ = *srcDest;
-+ *dest = '\0';
-+}
-+
-+static int
-+str_ends_with(const char *str, const char *end)
-+{
-+ size_t len1 = strlen(str);
-+ size_t len2 = strlen(end);
-+
-+ return len1 >= len2 && !strcmp(str + len1 - len2, end);
-+}
-+
-+static pdf_fontmapMS *
-+pdf_find_windows_font_path(const char *fontname)
-+{
-+ return bsearch(fontname, fontlistMS.fontmap, fontlistMS.len, sizeof(pdf_fontmapMS), lookup_compare);
-+}
-+
-+/* source and dest can be same */
-+static void
-+decode_unicode_BE(fz_context *ctx, char *source, int sourcelen, char *dest, int destlen)
-+{
-+ WCHAR *tmp;
-+ int converted, i;
-+
-+ if (sourcelen % 2 != 0)
-+ fz_throw(ctx, FZ_ERROR_GENERIC, "fonterror : invalid unicode string");
-+
-+ tmp = fz_malloc_array(ctx, sourcelen / 2 + 1, sizeof(WCHAR));
-+ for (i = 0; i < sourcelen / 2; i++)
-+ tmp[i] = BEtoHs(((WCHAR *)source)[i]);
-+ tmp[sourcelen / 2] = '\0';
-+
-+ converted = WideCharToMultiByte(CP_UTF8, 0, tmp, -1, dest, destlen, NULL, NULL);
-+ fz_free(ctx, tmp);
-+ if (!converted)
-+ fz_throw(ctx, FZ_ERROR_GENERIC, "fonterror : invalid unicode string");
-+}
-+
-+static void
-+decode_platform_string(fz_context *ctx, int platform, int enctype, char *source, int sourcelen, char *dest, int destlen)
-+{
-+ switch (platform)
-+ {
-+ case TT_PLATFORM_APPLE_UNICODE:
-+ switch (enctype)
-+ {
-+ case TT_APPLE_ID_DEFAULT:
-+ case TT_APPLE_ID_UNICODE_2_0:
-+ decode_unicode_BE(ctx, source, sourcelen, dest, destlen);
-+ return;
-+ }
-+ fz_throw(ctx, FZ_ERROR_GENERIC, "fonterror : unsupported encoding (%d/%d)", platform, enctype);
-+ case TT_PLATFORM_MACINTOSH:
-+ switch (enctype)
-+ {
-+ case TT_MAC_ID_ROMAN:
-+ if (sourcelen + 1 > destlen)
-+ fz_throw(ctx, FZ_ERROR_GENERIC, "fonterror : overlong fontname: %s", source);
-+ // TODO: Convert to UTF-8 from what encoding?
-+ memcpy(dest, source, sourcelen);
-+ dest[sourcelen] = 0;
-+ return;
-+ }
-+ fz_throw(ctx, FZ_ERROR_GENERIC, "fonterror : unsupported encoding (%d/%d)", platform, enctype);
-+ case TT_PLATFORM_MICROSOFT:
-+ switch (enctype)
-+ {
-+ case TT_MS_ID_SYMBOL_CS:
-+ case TT_MS_ID_UNICODE_CS:
-+ case TT_MS_ID_UCS_4:
-+ decode_unicode_BE(ctx, source, sourcelen, dest, destlen);
-+ return;
-+ }
-+ fz_throw(ctx, FZ_ERROR_GENERIC, "fonterror : unsupported encoding (%d/%d)", platform, enctype);
-+ default:
-+ fz_throw(ctx, FZ_ERROR_GENERIC, "fonterror : unsupported encoding (%d/%d)", platform, enctype);
-+ }
-+}
-+
-+static void
-+grow_system_font_list(fz_context *ctx, pdf_fontlistMS *fl)
-+{
-+ int newcap;
-+ pdf_fontmapMS *newitems;
-+
-+ if (fl->cap == 0)
-+ newcap = 1024;
-+ else
-+ newcap = fl->cap * 2;
-+
-+ // use realloc/free for the fontmap, since the list can
-+ // remain in memory even with all fz_contexts destroyed
-+ newitems = realloc(fl->fontmap, newcap * sizeof(pdf_fontmapMS));
-+ if (!newitems)
-+ fz_throw(ctx, FZ_ERROR_GENERIC, "OOM in grow_system_font_list");
-+ memset(newitems + fl->cap, 0, sizeof(pdf_fontmapMS) * (newcap - fl->cap));
-+
-+ fl->fontmap = newitems;
-+ fl->cap = newcap;
-+}
-+
-+static void
-+append_mapping(fz_context *ctx, pdf_fontlistMS *fl, const char *facename, const char *path, int index)
-+{
-+ if (fl->len == fl->cap)
-+ grow_system_font_list(ctx, fl);
-+
-+ if (fl->len >= fl->cap)
-+ fz_throw(ctx, FZ_ERROR_GENERIC, "fonterror : fontlist overflow");
-+
-+ fz_strlcpy(fl->fontmap[fl->len].fontface, facename, sizeof(fl->fontmap[0].fontface));
-+ fz_strlcpy(fl->fontmap[fl->len].fontpath, path, sizeof(fl->fontmap[0].fontpath));
-+ fl->fontmap[fl->len].index = index;
-+
-+ ++fl->len;
-+}
-+
-+static void
-+safe_read(fz_context *ctx, fz_stream *file, int offset, char *buf, int size)
-+{
-+ int n;
-+ fz_seek(ctx, file, offset, 0);
-+ n = fz_read(ctx, file, (unsigned char *)buf, size);
-+ if (n != size)
-+ fz_throw(ctx, FZ_ERROR_GENERIC, "safe_read: read %d, expected %d", n, size);
-+}
-+
-+static void
-+read_ttf_string(fz_context *ctx, fz_stream *file, int offset, TT_NAME_RECORD *ttRecordBE, char *buf, int size)
-+{
-+ char szTemp[MAX_FACENAME * 2];
-+ // ignore empty and overlong strings
-+ int stringLength = BEtoHs(ttRecordBE->uStringLength);
-+ if (stringLength == 0 || stringLength >= sizeof(szTemp))
-+ return;
-+
-+ safe_read(ctx, file, offset + BEtoHs(ttRecordBE->uStringOffset), szTemp, stringLength);
-+ decode_platform_string(ctx, BEtoHs(ttRecordBE->uPlatformID),
-+ BEtoHs(ttRecordBE->uEncodingID), szTemp, stringLength, buf, size);
-+}
-+
-+static void
-+makeFakePSName(char szName[MAX_FACENAME], const char *szStyle)
-+{
-+ // append the font's subfamily, unless it's a Regular font
-+ if (*szStyle && _stricmp(szStyle, "Regular") != 0)
-+ {
-+ fz_strlcat(szName, "-", MAX_FACENAME);
-+ fz_strlcat(szName, szStyle, MAX_FACENAME);
-+ }
-+ remove_spaces(szName);
-+}
-+
-+static void
-+parseTTF(fz_context *ctx, fz_stream *file, int offset, int index, const char *path)
-+{
-+ TT_OFFSET_TABLE ttOffsetTableBE;
-+ TT_TABLE_DIRECTORY tblDirBE;
-+ TT_NAME_TABLE_HEADER ttNTHeaderBE;
-+ TT_NAME_RECORD ttRecordBE;
-+
-+ char szPSName[MAX_FACENAME] = { 0 };
-+ char szTTName[MAX_FACENAME] = { 0 };
-+ char szStyle[MAX_FACENAME] = { 0 };
-+ char szCJKName[MAX_FACENAME] = { 0 };
-+ int i, count, tblOffset;
-+
-+ safe_read(ctx, file, offset, (char *)&ttOffsetTableBE, sizeof(TT_OFFSET_TABLE));
-+
-+ // check if this is a TrueType font of version 1.0 or an OpenType font
-+ if (BEtoHl(ttOffsetTableBE.uVersion) != TTC_VERSION1 &&
-+ BEtoHl(ttOffsetTableBE.uVersion) != TTAG_OTTO)
-+ {
-+ fz_throw(ctx, FZ_ERROR_GENERIC, "fonterror : invalid font version %x", (unsigned int)BEtoHl(ttOffsetTableBE.uVersion));
-+ }
-+
-+ // determine the name table's offset by iterating through the offset table
-+ count = BEtoHs(ttOffsetTableBE.uNumOfTables);
-+ for (i = 0; i < count; i++)
-+ {
-+ int entryOffset = offset + sizeof(TT_OFFSET_TABLE) + i * sizeof(TT_TABLE_DIRECTORY);
-+ safe_read(ctx, file, entryOffset, (char *)&tblDirBE, sizeof(TT_TABLE_DIRECTORY));
-+ if (!BEtoHl(tblDirBE.uTag) || BEtoHl(tblDirBE.uTag) == TTAG_name)
-+ break;
-+ }
-+ if (count == i || !BEtoHl(tblDirBE.uTag))
-+ fz_throw(ctx, FZ_ERROR_GENERIC, "fonterror : nameless font");
-+ tblOffset = BEtoHl(tblDirBE.uOffset);
-+
-+ // read the 'name' table for record count and offsets
-+ safe_read(ctx, file, tblOffset, (char *)&ttNTHeaderBE, sizeof(TT_NAME_TABLE_HEADER));
-+ offset = tblOffset + sizeof(TT_NAME_TABLE_HEADER);
-+ tblOffset += BEtoHs(ttNTHeaderBE.uStorageOffset);
-+
-+ // read through the strings for PostScript name and font family
-+ count = BEtoHs(ttNTHeaderBE.uNRCount);
-+ for (i = 0; i < count; i++)
-+ {
-+ short langId, nameId;
-+ BOOL isCJKName;
-+
-+ safe_read(ctx, file, offset + i * sizeof(TT_NAME_RECORD), (char *)&ttRecordBE, sizeof(TT_NAME_RECORD));
-+
-+ langId = BEtoHs(ttRecordBE.uLanguageID);
-+ nameId = BEtoHs(ttRecordBE.uNameID);
-+ isCJKName = TT_NAME_ID_FONT_FAMILY == nameId && LANG_CHINESE == PRIMARYLANGID(langId);
-+
-+ // ignore non-English strings (except for Chinese font names)
-+ if (langId && langId != TT_MS_LANGID_ENGLISH_UNITED_STATES && !isCJKName)
-+ continue;
-+ // ignore names other than font (sub)family and PostScript name
-+ fz_try(ctx)
-+ {
-+ if (isCJKName)
-+ read_ttf_string(ctx, file, tblOffset, &ttRecordBE, szCJKName, sizeof(szCJKName));
-+ else if (TT_NAME_ID_FONT_FAMILY == nameId)
-+ read_ttf_string(ctx, file, tblOffset, &ttRecordBE, szTTName, sizeof(szTTName));
-+ else if (TT_NAME_ID_FONT_SUBFAMILY == nameId)
-+ read_ttf_string(ctx, file, tblOffset, &ttRecordBE, szStyle, sizeof(szStyle));
-+ else if (TT_NAME_ID_PS_NAME == nameId)
-+ read_ttf_string(ctx, file, tblOffset, &ttRecordBE, szPSName, sizeof(szPSName));
-+ }
-+ fz_catch(ctx)
-+ {
-+ fz_warn(ctx, "ignoring face name decoding fonterror");
-+ }
-+ }
-+
-+ // try to prevent non-Arial fonts from accidentally substituting Arial
-+ if (!strcmp(szPSName, "ArialMT"))
-+ {
-+ // cf. https://code.google.com/p/sumatrapdf/issues/detail?id=2471
-+ if (strcmp(szTTName, "Arial") != 0)
-+ szPSName[0] = '\0';
-+ // TODO: is there a better way to distinguish Arial Caps from Arial proper?
-+ // cf. http://code.google.com/p/sumatrapdf/issues/detail?id=1290
-+ else if (strstr(path, "caps") || strstr(path, "Caps"))
-+ fz_throw(ctx, FZ_ERROR_GENERIC, "ignore %s, as it can't be distinguished from Arial,Regular", path);
-+ }
-+
-+ if (szPSName[0])
-+ append_mapping(ctx, &fontlistMS, szPSName, path, index);
-+ if (szTTName[0])
-+ {
-+ // derive a PostScript-like name and add it, if it's different from the font's
-+ // included PostScript name; cf. http://code.google.com/p/sumatrapdf/issues/detail?id=376
-+ makeFakePSName(szTTName, szStyle);
-+ // compare the two names before adding this one
-+ if (lookup_compare(szTTName, szPSName))
-+ append_mapping(ctx, &fontlistMS, szTTName, path, index);
-+ }
-+ if (szCJKName[0])
-+ {
-+ makeFakePSName(szCJKName, szStyle);
-+ if (lookup_compare(szCJKName, szPSName) && lookup_compare(szCJKName, szTTName))
-+ append_mapping(ctx, &fontlistMS, szCJKName, path, index);
-+ }
-+}
-+
-+static void
-+parseTTFs(fz_context *ctx, const char *path)
-+{
-+ fz_stream *file = fz_open_file(ctx, path);
-+ /* "fonterror : %s not found", path */
-+ fz_try(ctx)
-+ {
-+ parseTTF(ctx, file, 0, 0, path);
-+ }
-+ fz_always(ctx)
-+ {
-+ fz_drop_stream(ctx,file);
-+ }
-+ fz_catch(ctx)
-+ {
-+ fz_rethrow(ctx);
-+ }
-+}
-+
-+static void
-+parseTTCs(fz_context *ctx, const char *path)
-+{
-+ FONT_COLLECTION fontcollectionBE;
-+ ULONG i, numFonts, *offsettableBE = NULL;
-+
-+ fz_stream *file = fz_open_file(ctx, path);
-+ /* "fonterror : %s not found", path */
-+
-+ fz_var(offsettableBE);
-+
-+ fz_try(ctx)
-+ {
-+ safe_read(ctx, file, 0, (char *)&fontcollectionBE, sizeof(FONT_COLLECTION));
-+ if (BEtoHl(fontcollectionBE.Tag) != TTAG_ttcf)
-+ fz_throw(ctx, FZ_ERROR_GENERIC, "fonterror : wrong format %x", (unsigned int)BEtoHl(fontcollectionBE.Tag));
-+ if (BEtoHl(fontcollectionBE.Version) != TTC_VERSION1 &&
-+ BEtoHl(fontcollectionBE.Version) != TTC_VERSION2)
-+ {
-+ fz_throw(ctx, FZ_ERROR_GENERIC, "fonterror : invalid version %x", (unsigned int)BEtoHl(fontcollectionBE.Version));
-+ }
-+
-+ numFonts = BEtoHl(fontcollectionBE.NumFonts);
-+ offsettableBE = fz_malloc_array(ctx, numFonts, sizeof(ULONG));
-+
-+ safe_read(ctx, file, sizeof(FONT_COLLECTION), (char *)offsettableBE, numFonts * sizeof(ULONG));
-+ for (i = 0; i < numFonts; i++)
-+ parseTTF(ctx, file, BEtoHl(offsettableBE[i]), i, path);
-+ }
-+ fz_always(ctx)
-+ {
-+ fz_free(ctx, offsettableBE);
-+ fz_drop_stream(ctx,file);
-+ }
-+ fz_catch(ctx)
-+ {
-+ fz_rethrow(ctx);
-+ }
-+}
-+
-+static void
-+extend_system_font_list(fz_context *ctx, const WCHAR *path)
-+{
-+ WCHAR szPath[MAX_PATH], *lpFileName;
-+ WIN32_FIND_DATA FileData;
-+ HANDLE hList;
-+
-+ GetFullPathName(path, nelem(szPath), szPath, &lpFileName);
-+
-+ hList = FindFirstFile(szPath, &FileData);
-+ if (hList == INVALID_HANDLE_VALUE)
-+ {
-+ // Don't complain about missing directories
-+ if (GetLastError() == ERROR_FILE_NOT_FOUND)
-+ return;
-+ fz_throw(ctx, FZ_ERROR_GENERIC, "extend_system_font_list: unknown error %d", (int)GetLastError());
-+ }
-+ do
-+ {
-+ if (!(FileData.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY))
-+ {
-+ char szPathUtf8[MAX_PATH], *fileExt;
-+ int res;
-+ lstrcpyn(lpFileName, FileData.cFileName, szPath + MAX_PATH - lpFileName);
-+ res = WideCharToMultiByte(CP_UTF8, 0, szPath, -1, szPathUtf8, sizeof(szPathUtf8), NULL, NULL);
-+ if (!res)
-+ {
-+ fz_warn(ctx, "WideCharToMultiByte failed for %S", szPath);
-+ continue;
-+ }
-+ fileExt = szPathUtf8 + strlen(szPathUtf8) - 4;
-+ fz_try(ctx)
-+ {
-+ if (!_stricmp(fileExt, ".ttc"))
-+ parseTTCs(ctx, szPathUtf8);
-+ else if (!_stricmp(fileExt, ".ttf") || !_stricmp(fileExt, ".otf"))
-+ parseTTFs(ctx, szPathUtf8);
-+ }
-+ fz_catch(ctx)
-+ {
-+ // ignore errors occurring while parsing a given font file
-+ }
-+ }
-+ } while (FindNextFile(hList, &FileData));
-+ FindClose(hList);
-+}
-+
-+static void
-+destroy_system_font_list(void)
-+{
-+ free(fontlistMS.fontmap);
-+ memset(&fontlistMS, 0, sizeof(fontlistMS));
-+}
-+
-+static void
-+create_system_font_list(fz_context *ctx)
-+{
-+ WCHAR szFontDir[MAX_PATH];
-+ UINT cch;
-+
-+ cch = GetWindowsDirectory(szFontDir, nelem(szFontDir) - 12);
-+ if (0 < cch && cch < nelem(szFontDir) - 12)
-+ {
-+ /* willus.com edit--Win XP default MSVCRT.DLL doesn't have wcscat_s */
-+#ifdef _WIN64
-+ wcscat_s(szFontDir, MAX_PATH, L"\\Fonts\\*.?t?");
-+#else
-+ wcscat(szFontDir,L"\\Fonts\\*.?t?");
-+#endif
-+ extend_system_font_list(ctx, szFontDir);
-+ }
-+
-+ if (fontlistMS.len == 0)
-+ fz_warn(ctx, "couldn't find any usable system fonts");
-+
-+#ifdef NOCJKFONT
-+ {
-+ // If no CJK fallback font is builtin but one has been shipped separately (in the same
-+ // directory as the main executable), add it to the list of loadable system fonts
-+ WCHAR szFile[MAX_PATH], *lpFileName;
-+ GetModuleFileName(0, szFontDir, MAX_PATH);
-+ GetFullPathName(szFontDir, MAX_PATH, szFile, &lpFileName);
-+ lstrcpyn(lpFileName, L"DroidSansFallback.ttf", szFile + MAX_PATH - lpFileName);
-+ extend_system_font_list(ctx, szFile);
-+ }
-+#endif
-+
-+ // sort the font list, so that it can be searched binarily
-+ qsort(fontlistMS.fontmap, fontlistMS.len, sizeof(pdf_fontmapMS), _stricmp);
-+
-+#ifdef DEBUG
-+ // allow to overwrite system fonts for debugging purposes
-+ // (either pass a full path or a search pattern such as "fonts\*.ttf")
-+ cch = GetEnvironmentVariable(L"MUPDF_FONTS_PATTERN", szFontDir, nelem(szFontDir));
-+ if (0 < cch && cch < nelem(szFontDir))
-+ {
-+ int i, prev_len = fontlistMS.len;
-+ extend_system_font_list(ctx, szFontDir);
-+ for (i = prev_len; i < fontlistMS.len; i++)
-+ {
-+ pdf_fontmapMS *entry = bsearch(fontlistMS.fontmap[i].fontface, fontlistMS.fontmap, prev_len, sizeof(pdf_fontmapMS), lookup_compare);
-+ if (entry)
-+ *entry = fontlistMS.fontmap[i];
-+ }
-+ qsort(fontlistMS.fontmap, fontlistMS.len, sizeof(pdf_fontmapMS), _stricmp);
-+ }
-+#endif
-+
-+ // make sure to clean up after ourselves
-+ atexit(destroy_system_font_list);
-+}
-+
-+static fz_font *
-+pdf_load_windows_font_by_name(fz_context *ctx, const char *orig_name)
-+{
-+ pdf_fontmapMS *found = NULL;
-+ char *comma, *fontname;
-+ fz_font *font;
-+
-+ /* WILLUS MOD--not multi-threaded for k2pdfopt */
-+ /* fz_synchronize_begin(); */
-+ if (fontlistMS.len == 0)
-+ {
-+ fz_try(ctx)
-+ {
-+ create_system_font_list(ctx);
-+ }
-+ fz_catch(ctx) { }
-+ }
-+ /* WILLUS MOD--not multi-threaded for k2pdfopt */
-+ /* fz_synchronize_end(); */
-+ if (fontlistMS.len == 0)
-+ fz_throw(ctx, FZ_ERROR_GENERIC, "fonterror: couldn't find any fonts");
-+
-+ // work on a normalized copy of the font name
-+ fontname = fz_strdup(ctx, orig_name);
-+ remove_spaces(fontname);
-+
-+ // first, try to find the exact font name (including appended style information)
-+ comma = strchr(fontname, ',');
-+ if (comma)
-+ {
-+ *comma = '-';
-+ found = pdf_find_windows_font_path(fontname);
-+ *comma = ',';
-+ }
-+ // second, substitute the font name with a known PostScript name
-+ else
-+ {
-+ int i;
-+ for (i = 0; i < nelem(baseSubstitutes) && !found; i++)
-+ if (!strcmp(fontname, baseSubstitutes[i].name))
-+ found = pdf_find_windows_font_path(baseSubstitutes[i].pattern);
-+ }
-+ // third, search for the font name without additional style information
-+ if (!found)
-+ found = pdf_find_windows_font_path(fontname);
-+ // fourth, try to separate style from basename for prestyled fonts (e.g. "ArialBold")
-+ if (!found && !comma && (str_ends_with(fontname, "Bold") || str_ends_with(fontname, "Italic")))
-+ {
-+ int styleLen = str_ends_with(fontname, "Bold") ? 4 : str_ends_with(fontname, "BoldItalic") ? 10 : 6;
-+ fontname = fz_resize_array(ctx, fontname, strlen(fontname) + 2, sizeof(char));
-+ comma = fontname + strlen(fontname) - styleLen;
-+ memmove(comma + 1, comma, styleLen + 1);
-+ *comma = '-';
-+ found = pdf_find_windows_font_path(fontname);
-+ *comma = ',';
-+ if (!found)
-+ found = pdf_find_windows_font_path(fontname);
-+ }
-+ // fifth, try to convert the font name from the common Chinese codepage 936
-+ if (!found && fontname[0] < 0)
-+ {
-+ WCHAR cjkNameW[MAX_FACENAME];
-+ char cjkName[MAX_FACENAME];
-+ if (MultiByteToWideChar(936, MB_ERR_INVALID_CHARS, fontname, -1, cjkNameW, nelem(cjkNameW)) &&
-+ WideCharToMultiByte(CP_UTF8, 0, cjkNameW, -1, cjkName, nelem(cjkName), NULL, NULL))
-+ {
-+ comma = strchr(cjkName, ',');
-+ if (comma)
-+ {
-+ *comma = '-';
-+ found = pdf_find_windows_font_path(cjkName);
-+ *comma = ',';
-+ }
-+ if (!found)
-+ found = pdf_find_windows_font_path(cjkName);
-+ }
-+ }
-+
-+ fz_free(ctx, fontname);
-+ if (!found)
-+ fz_throw(ctx, FZ_ERROR_GENERIC, "couldn't find system font '%s'", orig_name);
-+
-+ /*
-+ fz_warn(ctx, "loading non-embedded font '%s' from '%s'", orig_name, found->fontpath);
-+ */
-+
-+ font = fz_new_font_from_file(ctx, orig_name, found->fontpath, found->index,
-+ strcmp(found->fontface, "DroidSansFallback") != 0);
-+ /* willus mod for MuPDF v1.10, 10-21-2016 */
-+ {
-+ fz_font_flags_t *flags;
-+ flags=fz_font_flags(font);
-+ if (flags!=NULL)
-+ flags->ft_substitute = 1;
-+ }
-+ return font;
-+}
-+
-+static fz_font *
-+pdf_load_windows_font(fz_context *ctx, const char *fontname, int bold, int italic, int needs_exact_metrics)
-+{
-+ if (needs_exact_metrics)
-+ {
-+ const char *clean_name;
-+ /* WILLUS: Declare pdf_clean_base14_name() */
-+ extern const char *pdf_clean_base14_name(const char *fontname);
-+
-+ /* TODO: the metrics for Times-Roman and Courier don't match
-+ those of Windows' Times New Roman and Courier New; for
-+ some reason, Poppler doesn't seem to have this problem */
-+ int len;
-+ if (fz_lookup_builtin_font(ctx,fontname, bold, italic, &len))
-+ return NULL;
-+
-+ /* cf. http://code.google.com/p/sumatrapdf/issues/detail?id=2173 */
-+ clean_name = pdf_clean_base14_name(fontname);
-+ if (clean_name != fontname && !strncmp(clean_name, "Times-", 6))
-+ return NULL;
-+ }
-+
-+ // TODO: unset font->ft_substitute for base14/needs_exact_metrics?
-+ return pdf_load_windows_font_by_name(ctx, fontname);
-+}
-+
-+static const char *clean_font_name(const char *fontname)
-+{
-+ int i, k;
-+ for (i = 0; i < nelem(base_font_names); i++)
-+ for (k = 0; base_font_names[i][k]; k++)
-+ if (!strcmp_ignore_space(base_font_names[i][k], fontname))
-+ return base_font_names[i][0];
-+ return fontname;
-+}
-+
-+
-+/* SumatraPDF: expose clean_font_name */
-+static const char * pdf_clean_base14_name(const char *fontname)
-+{
-+ return clean_font_name(fontname);
-+}
-+
-+static fz_font *
-+pdf_load_windows_cjk_font(fz_context *ctx, const char *fontname, int ros, int serif)
-+{
-+ fz_font *font;
-+
-+ font=NULL; /* WILLUS: Avoid compiler warning */
-+ /* try to find a matching system font before falling back to an approximate one */
-+ fz_try(ctx)
-+ {
-+ font = pdf_load_windows_font_by_name(ctx, fontname);
-+ }
-+ fz_catch(ctx)
-+ {
-+ font = NULL;
-+ }
-+ if (font)
-+ return font;
-+
-+ /* try to fall back to a reasonable system font */
-+ fz_try(ctx)
-+ {
-+ if (serif)
-+ {
-+ switch (ros)
-+ {
-+ case FZ_ADOBE_CNS: font = pdf_load_windows_font_by_name(ctx, "MingLiU"); break;
-+ case FZ_ADOBE_GB: font = pdf_load_windows_font_by_name(ctx, "SimSun"); break;
-+ case FZ_ADOBE_JAPAN: font = pdf_load_windows_font_by_name(ctx, "MS-Mincho"); break;
-+ case FZ_ADOBE_KOREA: font = pdf_load_windows_font_by_name(ctx, "Batang"); break;
-+ default: fz_throw(ctx, FZ_ERROR_GENERIC, "invalid serif ros");
-+ }
-+ }
-+ else
-+ {
-+ switch (ros)
-+ {
-+ case FZ_ADOBE_CNS: font = pdf_load_windows_font_by_name(ctx, "DFKaiShu-SB-Estd-BF"); break;
-+ case FZ_ADOBE_GB:
-+ fz_try(ctx)
-+ {
-+ font = pdf_load_windows_font_by_name(ctx, "KaiTi");
-+ }
-+ fz_catch(ctx)
-+ {
-+ font = pdf_load_windows_font_by_name(ctx, "KaiTi_GB2312");
-+ }
-+ break;
-+ case FZ_ADOBE_JAPAN: font = pdf_load_windows_font_by_name(ctx, "MS-Gothic"); break;
-+ case FZ_ADOBE_KOREA: font = pdf_load_windows_font_by_name(ctx, "Gulim"); break;
-+ default: fz_throw(ctx, FZ_ERROR_GENERIC, "invalid sans-serif ros");
-+ }
-+ }
-+ }
-+ fz_catch(ctx)
-+ {
-+#ifdef NOCJKFONT
-+ /* If no CJK fallback font is builtin, maybe one has been shipped separately */
-+ font = pdf_load_windows_font_by_name(ctx, "DroidSansFallback");
-+#else
-+ fz_rethrow(ctx);
-+#endif
-+ }
-+
-+ return font;
-+}
-+
-+#endif
-+
-+void pdf_install_load_system_font_funcs(fz_context *ctx)
-+{
-+#ifdef _WIN32
-+ fz_install_load_system_font_funcs(ctx, pdf_load_windows_font, pdf_load_windows_cjk_font, NULL);
-+#endif
-+}
-diff --git a/source/fitz/font.c b/source/fitz/font.c
-index 00c6e8f99..1448b4a56 100644
---- a/source/fitz/font.c
-+++ b/source/fitz/font.c
-@@ -4,8 +4,11 @@
- #include "draw-imp.h"
-
- #include <ft2build.h>
-+/* willus mod -- remove hb includes */
-+/*
- #include "hb.h"
- #include "hb-ft.h"
-+*/
-
- #include <assert.h>
-
-diff --git a/source/fitz/stext-device.c b/source/fitz/stext-device.c
-index 2df90305e..b1f99e056 100644
---- a/source/fitz/stext-device.c
-+++ b/source/fitz/stext-device.c
-@@ -825,6 +825,11 @@ fz_new_stext_device(fz_context *ctx, fz_stext_page *page, const fz_stext_options
- dev->lastchar = ' ';
- dev->curdir = 1;
- dev->lasttext = NULL;
-+ /* willus mod -- seems like this should be here, but not sure. */
-+ if (opts)
-+ dev->flags = opts->flags;
-+ else
-+ dev->flags = 0;
-
- return (fz_device*)dev;
- }
-diff --git a/source/fitz/string.c b/source/fitz/string.c
-index f8eedb682..7a767983d 100644
---- a/source/fitz/string.c
-+++ b/source/fitz/string.c
-@@ -560,6 +560,10 @@ fz_utflen(const char *s)
- */
- float fz_atof(const char *s)
- {
-+/* willus mod: atof(s), #if-#else-#endif */
-+#if (!defined(__SSE__))
-+ return(atof(s));
-+#else
- float result;
-
- if (s == NULL)
-@@ -572,6 +576,7 @@ float fz_atof(const char *s)
- return 1;
- result = fz_clamp(result, -FLT_MAX, FLT_MAX);
- return result;
-+#endif
- }
-
- /*
-diff --git a/source/pdf/pdf-annot.c b/source/pdf/pdf-annot.c
-index 4dfdf36fe..acff7d12a 100644
---- a/source/pdf/pdf-annot.c
-+++ b/source/pdf/pdf-annot.c
-@@ -5,8 +5,20 @@
- #include <string.h>
- #include <time.h>
-
-+/* willus mod--don't use _mkgmtime--not available in Win XP */
- #ifdef _WIN32
--#define timegm _mkgmtime
-+static time_t timegm(struct tm *date);
-+static time_t timegm(struct tm *date)
-+
-+ {
-+ time_t t,z;
-+ struct tm gmz;
-+
-+ z=(time_t)0;
-+ gmz=(*gmtime(&z));
-+ t=mktime(date)-mktime(&gmz);
-+ return(t);
-+ }
- #endif
-
- #define isdigit(c) (c >= '0' && c <= '9')
-diff --git a/source/pdf/pdf-link.c b/source/pdf/pdf-link.c
-index 37444b471..613cc05b9 100644
---- a/source/pdf/pdf-link.c
-+++ b/source/pdf/pdf-link.c
-@@ -345,6 +345,9 @@ pdf_resolve_link(fz_context *ctx, pdf_document *doc, const char *uri, float *xp,
- }
- return page;
- }
-+/* willus mod -- be quiet */
-+/*
- fz_warn(ctx, "unknown link uri '%s'", uri);
-+*/
- return -1;
- }
-diff --git a/source/pdf/pdf-parse.c b/source/pdf/pdf-parse.c
-index 04a772204..9dd0cd898 100644
---- a/source/pdf/pdf-parse.c
-+++ b/source/pdf/pdf-parse.c
-@@ -663,9 +663,14 @@ pdf_parse_ind_obj(fz_context *ctx, pdf_document *doc,
- if (c == '\r')
- {
- c = fz_peek_byte(ctx, file);
-+/* willus mod -- no warning */
-+/*
- if (c != '\n')
- fz_warn(ctx, "line feed missing after stream begin marker (%d %d R)", num, gen);
- else
-+*/
-+if (c=='\n')
-+/* willus mod -- end */
- fz_read_byte(ctx, file);
- }
- stm_ofs = fz_tell(ctx, file);
-diff --git a/source/pdf/pdf-xref.c b/source/pdf/pdf-xref.c
-index 8f888059b..08de7bfba 100644
---- a/source/pdf/pdf-xref.c
-+++ b/source/pdf/pdf-xref.c
-@@ -710,8 +710,11 @@ pdf_xref_size_from_old_trailer(fz_context *ctx, pdf_document *doc, pdf_lexbuf *b
- if (!s)
- fz_throw(ctx, FZ_ERROR_GENERIC, "xref subsection length missing");
- len = fz_atoi(fz_strsep(&s, " "));
-+/* willus mod -- no warning */
-+/*
- if (len < 0)
- fz_throw(ctx, FZ_ERROR_GENERIC, "xref subsection length must be positive");
-+*/
-
- /* broken pdfs where the section is not on a separate line */
- if (s && *s != '\0')
-@@ -1378,7 +1381,10 @@ pdf_init_document(fz_context *ctx, pdf_document *doc)
- {
- pdf_drop_xref_sections(ctx, doc);
- fz_rethrow_if(ctx, FZ_ERROR_TRYLATER);
-+/* willus mod -- be quiet */
-+/*
- fz_warn(ctx, "trying to repair broken xref");
-+*/
- repaired = 1;
- }
-
-@@ -1506,7 +1512,10 @@ pdf_drop_document_imp(fz_context *ctx, pdf_document *doc)
- /* Swallow error, but continue dropping */
- }
-
-+/* willu smod -- no pdf_drop_js */
-+/*
- pdf_drop_js(ctx, doc->js);
-+*/
-
- pdf_drop_xref_sections(ctx, doc);
- fz_free(ctx, doc->xref_index);
---
-2.22.0
-
diff --git a/nixpkgs/pkgs/applications/misc/k2pdfopt/tesseract.patch b/nixpkgs/pkgs/applications/misc/k2pdfopt/tesseract.patch
deleted file mode 100644
index adfee9ae282..00000000000
--- a/nixpkgs/pkgs/applications/misc/k2pdfopt/tesseract.patch
+++ /dev/null
@@ -1,675 +0,0 @@
-From 39aa8502eee7bb669a29d1a9b3bfe5c9595ad960 Mon Sep 17 00:00:00 2001
-From: Daniel Fullmer <danielrf12@gmail.com>
-Date: Fri, 13 Sep 2019 13:45:05 -0400
-Subject: [PATCH] Willus mod changes from k2pdfopt
-
----
- src/api/Makefile.am | 1 +
- src/api/baseapi.cpp | 87 +++++++++++
- src/api/baseapi.h | 3 +
- src/api/tesscapi.cpp | 311 +++++++++++++++++++++++++++++++++++++
- src/api/tesseract.h | 29 ++++
- src/ccmain/tessedit.cpp | 5 +-
- src/ccutil/ccutil.h | 7 +
- src/ccutil/genericvector.h | 21 ++-
- src/ccutil/mainblk.cpp | 17 +-
- src/ccutil/params.cpp | 3 +-
- src/ccutil/serialis.cpp | 3 +
- src/ccutil/serialis.h | 2 +
- src/lstm/input.cpp | 3 +
- 13 files changed, 488 insertions(+), 4 deletions(-)
- create mode 100644 src/api/tesscapi.cpp
- create mode 100644 src/api/tesseract.h
-
-diff --git a/src/api/Makefile.am b/src/api/Makefile.am
-index d9b76eb6..cd2dc30f 100644
---- a/src/api/Makefile.am
-+++ b/src/api/Makefile.am
-@@ -39,6 +39,7 @@ libtesseract_api_la_SOURCES += lstmboxrenderer.cpp
- libtesseract_api_la_SOURCES += pdfrenderer.cpp
- libtesseract_api_la_SOURCES += wordstrboxrenderer.cpp
- libtesseract_api_la_SOURCES += renderer.cpp
-+libtesseract_api_la_SOURCES += tesscapi.cpp
-
- lib_LTLIBRARIES += libtesseract.la
- libtesseract_la_LDFLAGS = $(LEPTONICA_LIBS) $(OPENCL_LDFLAGS) $(libarchive_LIBS)
-diff --git a/src/api/baseapi.cpp b/src/api/baseapi.cpp
-index 9245d07c..ea964ee6 100644
---- a/src/api/baseapi.cpp
-+++ b/src/api/baseapi.cpp
-@@ -215,6 +215,14 @@ TessBaseAPI::TessBaseAPI()
- // Use the current locale if building debug code.
- std::locale::global(std::locale(""));
- #endif
-+ const char *locale;
-+ locale = std::setlocale(LC_ALL, nullptr);
-+/* willus mod Remove assertions--taken care of in tesscapi.cpp */
-+// ASSERT_HOST(!strcmp(locale, "C"));
-+ locale = std::setlocale(LC_CTYPE, nullptr);
-+// ASSERT_HOST(!strcmp(locale, "C"));
-+ locale = std::setlocale(LC_NUMERIC, nullptr);
-+// ASSERT_HOST(!strcmp(locale, "C"));
- }
-
- TessBaseAPI::~TessBaseAPI() {
-@@ -1333,6 +1341,85 @@ static void AddBoxToTSV(const PageIterator* it, PageIteratorLevel level,
- text->add_str_int("\t", bottom - top);
- }
-
-+/* willus mod */
-+int TessBaseAPI::GetOCRWords(int **x00,int **y00,int **x11,int **y11,int **ybaseline0,
-+ char **utf8words)
-+
-+ {
-+ int iword,nwords,totlen,it8;
-+ int *x0,*y0,*x1,*y1,*ybaseline;
-+ char *tutf8;
-+
-+ ResultIterator *res_it = GetIterator();
-+ /* Count words */
-+ iword=0;
-+ totlen=0;
-+ while (!res_it->Empty(RIL_BLOCK))
-+ {
-+ if (res_it->Empty(RIL_WORD))
-+ {
-+ res_it->Next(RIL_WORD);
-+ continue;
-+ }
-+ iword++;
-+ STRING textstr=std::unique_ptr<const char[]>(res_it->GetUTF8Text(RIL_WORD)).get();
-+ totlen+=strlen(textstr.string())+1;
-+ res_it->Next(RIL_WORD);
-+ }
-+ nwords=iword;
-+/*
-+printf("\nnwords=%d, totlen=%d\n",nwords,totlen);
-+*/
-+ x0=(*x00)=(int *)malloc(sizeof(int)*5*nwords);
-+ y0=(*y00)=&x0[nwords];
-+ x1=(*x11)=&y0[nwords];
-+ y1=(*y11)=&x1[nwords];
-+ ybaseline=(*ybaseline0)=&y1[nwords];
-+ tutf8=(*utf8words)=(char *)malloc(totlen);
-+ iword=0;
-+ it8=0;
-+ res_it->Begin();
-+ while (!res_it->Empty(RIL_BLOCK))
-+ {
-+ if (res_it->Empty(RIL_WORD))
-+ {
-+ res_it->Next(RIL_WORD);
-+ continue;
-+ }
-+ STRING textstr=std::unique_ptr<const char[]>(res_it->GetUTF8Text(RIL_WORD)).get();
-+ strcpy(&tutf8[it8],textstr.string());
-+ it8 += strlen(&tutf8[it8])+1;
-+ /*
-+ STRING textstr("");
-+ textstr += std::unique_ptr<const char[]>(res_it->GetUTF8Text(RIL_WORD)).get();
-+ */
-+/*
-+printf("Word %d: '%s'\n",iword,textstr.string());
-+*/
-+ int left, top, right, bottom;
-+ int u1,v1,u2,v2;
-+ res_it->BoundingBox(RIL_WORD, &left, &top, &right, &bottom);
-+ res_it->Baseline(RIL_WORD, &u1, &v1, &u2, &v2);
-+ x0[iword]=left;
-+ x1[iword]=right;
-+ y0[iword]=top;
-+ y1[iword]=bottom;
-+ ybaseline[iword]=(v1+v2)/2;
-+ iword++;
-+/*
-+printf("BB: (%d,%d)-(%d,%d) BL: (%d,%d)-(%d,%d)\n",left,bottom,right,top,x1,y1,x2,y2);
-+*/
-+ res_it->Next(RIL_WORD);
-+ }
-+/*
-+printf("iword=%d\n",iword);
-+*/
-+ return(iword);
-+ }
-+
-+/* willus mod */
-+int GetOCRWords(int **x0,int **y0,int **x1,int **y1,int **ybaseline,char **utf8words);
-+
- /**
- * Make a TSV-formatted string from the internal data structures.
- * page_number is 0-based but will appear in the output as 1-based.
-diff --git a/src/api/baseapi.h b/src/api/baseapi.h
-index 3724dd92..23be5920 100644
---- a/src/api/baseapi.h
-+++ b/src/api/baseapi.h
-@@ -575,6 +575,9 @@ class TESS_API TessBaseAPI {
- */
- char* GetHOCRText(ETEXT_DESC* monitor, int page_number);
-
-+/* willus mod */
-+int GetOCRWords(int **x0,int **y0,int **x1,int **y1,int **ybaseline,char **utf8words);
-+
- /**
- * Make a HTML-formatted string with hOCR markup from the internal
- * data structures.
-diff --git a/src/api/tesscapi.cpp b/src/api/tesscapi.cpp
-new file mode 100644
-index 00000000..1752fafe
---- /dev/null
-+++ b/src/api/tesscapi.cpp
-@@ -0,0 +1,311 @@
-+/*
-+** tesscapi.cpp willus.com attempt at C wrapper for tesseract.
-+** (Butchered from tesseractmain.cpp)
-+** Last udpated 9-1-12
-+**
-+** Copyright (C) 2012 http://willus.com
-+**
-+** This program is free software: you can redistribute it and/or modify
-+** it under the terms of the GNU Affero General Public License as
-+** published by the Free Software Foundation, either version 3 of the
-+** License, or (at your option) any later version.
-+**
-+** This program is distributed in the hope that it will be useful,
-+** but WITHOUT ANY WARRANTY; without even the implied warranty of
-+** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-+** GNU Affero General Public License for more details.
-+**
-+** You should have received a copy of the GNU Affero General Public License
-+** along with this program. If not, see <http://www.gnu.org/licenses/>.
-+**
-+*/
-+
-+/*
-+#include "mfcpch.h"
-+*/
-+// #define USE_VLD //Uncomment for Visual Leak Detector.
-+#if (defined _MSC_VER && defined USE_VLD)
-+#include <vld.h>
-+#endif
-+
-+// Include automatically generated configuration file if running autoconf
-+#ifdef HAVE_CONFIG_H
-+#include "config_auto.h"
-+#endif
-+#include <locale.h>
-+#ifdef USING_GETTEXT
-+#include <libintl.h>
-+#define _(x) gettext(x)
-+#else
-+#define _(x) (x)
-+#endif
-+
-+#include "allheaders.h"
-+#include "baseapi.h"
-+#include "strngs.h"
-+#include "params.h"
-+#include "blobs.h"
-+#include "simddetect.h"
-+#include "tesseractclass.h"
-+/*
-+#include "notdll.h"
-+*/
-+
-+/* C Wrappers */
-+#include "tesseract.h"
-+
-+// static tesseract::TessBaseAPI api[4];
-+
-+/*
-+** ocr_type=0: OEM_DEFAULT
-+** ocr_type=1: OEM_TESSERACT_ONLY
-+** ocr_type=2: OEM_LSTM_ONLY
-+** ocr_type=3: OEM_TESSERACT_LSTM_COMBINED
-+*/
-+void *tess_capi_init(char *datapath,char *language,int ocr_type,FILE *out,
-+ char *initstr,int maxlen,int *status)
-+
-+ {
-+ char original_locale[256];
-+ tesseract::TessBaseAPI *api = new tesseract::TessBaseAPI;
-+/*
-+printf("@tess_capi_init\n");
-+printf(" datapath='%s'\n",datapath);
-+printf(" language='%s'\n",language);
-+printf(" ocr_type=%d\n",ocr_type);
-+*/
-+#ifdef USE_NLS
-+ setlocale (LC_ALL, "");
-+ bindtextdomain (PACKAGE, LOCALEDIR);
-+ textdomain (PACKAGE);
-+#endif
-+ /* willus mod, 11-24-16 */
-+ /* Tesseract needs "C" locale to correctly parse all data .traineddata files. */
-+/*
-+printf("locale='%s'\n",setlocale(LC_ALL,NULL));
-+printf("ctype='%s'\n",setlocale(LC_CTYPE,NULL));
-+printf("numeric='%s'\n",setlocale(LC_NUMERIC,NULL));
-+*/
-+ strncpy(original_locale,setlocale(LC_ALL,NULL),255);
-+ original_locale[255]='\0';
-+/*
-+printf("original_locale='%s'\n",original_locale);
-+*/
-+ setlocale(LC_ALL,"C");
-+/*
-+printf("new locale='%s'\n",setlocale(LC_ALL,NULL));
-+printf("new ctype='%s'\n",setlocale(LC_CTYPE,NULL));
-+printf("new numeric='%s'\n",setlocale(LC_NUMERIC,NULL));
-+*/
-+ // fprintf(stderr, "tesseract %s\n", tesseract::TessBaseAPI::Version());
-+ // Make the order of args a bit more forgiving than it used to be.
-+ const char* lang = "eng";
-+ tesseract::PageSegMode pagesegmode = tesseract::PSM_SINGLE_BLOCK;
-+ if (language!=NULL && language[0]!='\0')
-+ lang = language;
-+ /*
-+ if (output == NULL)
-+ {
-+ fprintf(stderr, _("Usage:%s imagename outputbase [-l lang] "
-+ "[-psm pagesegmode] [configfile...]\n"), argv[0]);
-+ fprintf(stderr,
-+ _("pagesegmode values are:\n"
-+ "0 = Orientation and script detection (OSD) only.\n"
-+ "1 = Automatic page segmentation with OSD.\n"
-+ "2 = Automatic page segmentation, but no OSD, or OCR\n"
-+ "3 = Fully automatic page segmentation, but no OSD. (Default)\n"
-+ "4 = Assume a single column of text of variable sizes.\n"
-+ "5 = Assume a single uniform block of vertically aligned text.\n"
-+ "6 = Assume a single uniform block of text.\n"
-+ "7 = Treat the image as a single text line.\n"
-+ "8 = Treat the image as a single word.\n"
-+ "9 = Treat the image as a single word in a circle.\n"
-+ "10 = Treat the image as a single character.\n"));
-+ fprintf(stderr, _("-l lang and/or -psm pagesegmode must occur before any"
-+ "configfile.\n"));
-+ exit(1);
-+ }
-+ */
-+/*
-+printf("SSE = %s\n",SIMDDetect::IsSSEAvailable() ? "AVAILABLE" : "NOT AVAILABLE");
-+printf("AVX = %s\n",SIMDDetect::IsAVXAvailable() ? "AVAILABLE" : "NOT AVAILABLE");
-+*/
-+/*
-+v4.00 loads either TESSERACT enginer, LSTM engine, or both. No CUBE.
-+*/
-+ ocr_type=0; /* Ignore specified and use default */
-+ api->SetOutputName(NULL);
-+ (*status)=api->Init(datapath,lang,
-+ ocr_type==0 ? tesseract::OEM_DEFAULT :
-+ (ocr_type==1 ? tesseract::OEM_TESSERACT_ONLY :
-+ (ocr_type==2 ? tesseract::OEM_LSTM_ONLY :
-+ (tesseract::OEM_TESSERACT_LSTM_COMBINED))));
-+ if ((*status)!=0)
-+ {
-+ /* willus mod, 11-24-16 */
-+ setlocale(LC_ALL,original_locale);
-+ api->End();
-+ delete api;
-+ return(NULL);
-+ }
-+ /*
-+ api.Init("tesscapi",lang,tesseract::OEM_DEFAULT,
-+ &(argv[arg]), argc - arg, NULL, NULL, false);
-+ */
-+ // We have 2 possible sources of pagesegmode: a config file and
-+ // the command line. For backwards compatability reasons, the
-+ // default in tesseract is tesseract::PSM_SINGLE_BLOCK, but the
-+ // default for this program is tesseract::PSM_AUTO. We will let
-+ // the config file take priority, so the command-line default
-+ // can take priority over the tesseract default, so we use the
-+ // value from the command line only if the retrieved mode
-+ // is still tesseract::PSM_SINGLE_BLOCK, indicating no change
-+ // in any config file. Therefore the only way to force
-+ // tesseract::PSM_SINGLE_BLOCK is from the command line.
-+ // It would be simpler if we could set the value before Init,
-+ // but that doesn't work.
-+ if (api->GetPageSegMode() == tesseract::PSM_SINGLE_BLOCK)
-+ api->SetPageSegMode(pagesegmode);
-+
-+ /*
-+ ** Initialization message
-+ */
-+ {
-+ char istr[1024];
-+ int sse,avx;
-+
-+// printf("tessedit_ocr_engine_mode = %d\n",tessedit_ocr_engine_mode);
-+ sprintf(istr,"%s",api->Version());
-+ sse=tesseract::SIMDDetect::IsSSEAvailable();
-+ avx=tesseract::SIMDDetect::IsAVXAvailable();
-+ if (sse || avx)
-+ sprintf(&istr[strlen(istr)]," [%s]",sse&&avx?"SSE+AVX":(sse?"SSE":"AVX"));
-+ sprintf(&istr[strlen(istr)],"\n Tesseract data folder = '%s'",datapath==NULL?getenv("TESSDATA_PREFIX"):datapath);
-+ strcat(istr,"\n Tesseract languages: ");
-+ GenericVector<STRING> languages;
-+ api->GetLoadedLanguagesAsVector(&languages);
-+/*
-+printf("OEM=%d\n",api->oem());
-+printf("Langs='%s'\n",api->GetInitLanguagesAsString());
-+printf("AnyTessLang()=%d\n",(int)api->tesseract()->AnyTessLang());
-+printf("AnyLSTMLang()=%d\n",(int)api->tesseract()->AnyLSTMLang());
-+printf("num_sub_langs()=%d\n",api->tesseract()->num_sub_langs());
-+printf("languages.size()=%d\n",(int)languages.size());
-+*/
-+
-+ for (int i=0;i<=api->tesseract()->num_sub_langs();i++)
-+ {
-+ tesseract::Tesseract *lang1;
-+ int eng;
-+ lang1 = i==0 ? api->tesseract() : api->tesseract()->get_sub_lang(i-1);
-+ eng=(int)lang1->tessedit_ocr_engine_mode;
-+ sprintf(&istr[strlen(istr)],"%s%s [%s]",i==0?"":", ",lang1->lang.string(),
-+ eng==2?"LSTM+Tess":(eng==1?"LSTM":"Tess"));
-+ }
-+/*
-+printf("%d. '%s'\n",i+1,languages[i].string());
-+printf(" sublang[%d].oem_engine = %d\n",i+1,(int)api->tesseract()->get_sub_lang(i)->tessedit_ocr_engine_mode);
-+*/
-+
-+ /*
-+ if (ocr_type==0 || ocr_type==3)
-+ sprintf(&istr[strlen(istr)],"[LSTM+] (lang=");
-+ else if (ocr_type==2)
-+ sprintf(&istr[strlen(istr)],"[LSTM] (lang=");
-+ strncpy(&istr[strlen(istr)],language,253-strlen(istr));
-+ istr[253]='\0';
-+ strcat(istr,")");
-+ */
-+ if (out!=NULL)
-+ fprintf(out,"%s\n",istr);
-+ if (initstr!=NULL)
-+ {
-+ strncpy(initstr,istr,maxlen-1);
-+ initstr[maxlen-1]='\0';
-+ }
-+ }
-+
-+
-+ /* Turn off LSTM debugging output */
-+ api->SetVariable("lstm_debug_level","0");
-+#if (WILLUSDEBUG & 1)
-+ api->SetVariable("lstm_debug_level","9");
-+ api->SetVariable("paragraph_debug_level","9");
-+ api->SetVariable("tessdata_manager_debug_level","9");
-+ api->SetVariable("tosp_debug_level","9");
-+ api->SetVariable("wordrec_debug_level","9");
-+ api->SetVariable("segsearch_debug_level","9");
-+#endif
-+ /* willus mod, 11-24-16 */
-+ setlocale(LC_ALL,original_locale);
-+ return((void *)api);
-+ }
-+
-+
-+int tess_capi_get_ocr(void *vapi,PIX *pix,char *outstr,int maxlen,int segmode,FILE *out)
-+
-+ {
-+ tesseract::TessBaseAPI *api;
-+ static int old_segmode=-1;
-+
-+ api=(tesseract::TessBaseAPI *)vapi;
-+ if (old_segmode != segmode)
-+ {
-+ old_segmode=segmode;
-+ api->SetPageSegMode((tesseract::PageSegMode)segmode);
-+ }
-+ if (!api->ProcessPage(pix,0,NULL,NULL,0,NULL))
-+ {
-+ /* pixDestroy(&pix); */
-+ if (out!=NULL)
-+ fprintf(out,"tesscapi: Error during bitmap processing.\n");
-+ api->Clear();
-+ return(-1);
-+ }
-+ strncpy(outstr,api->GetUTF8Text(),maxlen-1);
-+ outstr[maxlen-1]='\0';
-+ api->Clear();
-+ return(0);
-+ }
-+
-+
-+int tess_capi_get_ocr_multiword(void *vapi,PIX *pix,int segmode,
-+ int **left,int **top,int **right,int **bottom,
-+ int **ybase,char **text,int *nw,
-+ FILE *out)
-+
-+ {
-+ tesseract::TessBaseAPI *api;
-+ static int old_segmode=-1;
-+
-+ api=(tesseract::TessBaseAPI *)vapi;
-+ if (old_segmode != segmode)
-+ {
-+ old_segmode=segmode;
-+ api->SetPageSegMode((tesseract::PageSegMode)segmode);
-+ }
-+ if (!api->ProcessPage(pix,0,NULL,NULL,0,NULL))
-+ {
-+ if (out!=NULL)
-+ fprintf(out,"tesscapi: Error during bitmap processing.\n");
-+ api->Clear();
-+ (*nw)=0;
-+ return(-1);
-+ }
-+ (*nw)=api->GetOCRWords(left,top,right,bottom,ybase,text);
-+ api->Clear();
-+ return(0);
-+ }
-+
-+
-+void tess_capi_end(void *vapi)
-+
-+ {
-+ tesseract::TessBaseAPI *api;
-+
-+ if (vapi==NULL)
-+ return;
-+ api=(tesseract::TessBaseAPI *)vapi;
-+ api->End();
-+ delete api;
-+ }
-diff --git a/src/api/tesseract.h b/src/api/tesseract.h
-new file mode 100644
-index 00000000..575948cc
---- /dev/null
-+++ b/src/api/tesseract.h
-@@ -0,0 +1,29 @@
-+/*
-+** Willus.com's Tesseract C Wrappers
-+**
-+** 6-8-12
-+**
-+*/
-+
-+#ifndef _TESSERACT_H_
-+#define _TESSERACT_H_
-+
-+//#include <leptonica.h>
-+#ifdef __cplusplus
-+extern "C" {
-+#endif
-+
-+void *tess_capi_init(char *datapath,char *language,int ocr_type,FILE *out,
-+ char *initstr,int maxlen,int *status);
-+int tess_capi_get_ocr(void *api,PIX *pix,char *outstr,int maxlen,int segmode,FILE *out);
-+int tess_capi_get_ocr_multiword(void *vapi,PIX *pix,int segmode,
-+ int **left,int **top,int **right,int **bottom,
-+ int **ybase,char **text,int *nw,
-+ FILE *out);
-+void tess_capi_end(void *api);
-+
-+#ifdef __cplusplus
-+}
-+#endif
-+
-+#endif
-diff --git a/src/ccmain/tessedit.cpp b/src/ccmain/tessedit.cpp
-index 17f0951b..7af94ee2 100644
---- a/src/ccmain/tessedit.cpp
-+++ b/src/ccmain/tessedit.cpp
-@@ -101,6 +101,10 @@ bool Tesseract::init_tesseract_lang_data(
- " to your \"tessdata\" directory.\n");
- return false;
- }
-+ /* willus mod */
-+ TFile fp;
-+ strncpy(fp.tfile_filename,tessdata_path.string(),511);
-+ fp.tfile_filename[511]='\0';
- #ifndef DISABLED_LEGACY_ENGINE
- if (oem == OEM_DEFAULT) {
- // Set the engine mode from availability, which can then be overridden by
-@@ -116,7 +120,6 @@ bool Tesseract::init_tesseract_lang_data(
- #endif // ndef DISABLED_LEGACY_ENGINE
-
- // If a language specific config file (lang.config) exists, load it in.
-- TFile fp;
- if (mgr->GetComponent(TESSDATA_LANG_CONFIG, &fp)) {
- ParamUtils::ReadParamsFromFp(SET_PARAM_CONSTRAINT_NONE, &fp,
- this->params());
-diff --git a/src/ccutil/ccutil.h b/src/ccutil/ccutil.h
-index 71e89c60..bdeccc14 100644
---- a/src/ccutil/ccutil.h
-+++ b/src/ccutil/ccutil.h
-@@ -80,6 +80,13 @@ class CCUtil {
- // Member parameters.
- // These have to be declared and initialized after params_ member, since
- // params_ should be initialized before parameters are added to it.
-+/* willus mod */
-+/*
-+ #ifdef _WIN32
-+ STRING_VAR_H(tessedit_module_name, WINDLLNAME,
-+ "Module colocated with tessdata dir");
-+ #endif
-+*/
- INT_VAR_H(ambigs_debug_level, 0, "Debug level for unichar ambiguities");
- BOOL_VAR_H(use_definite_ambigs_for_classifier, false,
- "Use definite ambiguities when running character classifier");
-diff --git a/src/ccutil/genericvector.h b/src/ccutil/genericvector.h
-index 3556d153..3a5e8662 100644
---- a/src/ccutil/genericvector.h
-+++ b/src/ccutil/genericvector.h
-@@ -382,7 +382,26 @@ inline bool LoadDataFromFile(const char* filename, GenericVector<char>* data) {
- // reserve an extra byte in case caller wants to append a '\0' character
- data->reserve(size + 1);
- data->resize_no_init(size);
-- result = static_cast<long>(fread(&(*data)[0], 1, size, fp)) == size;
-+ /* willus mod Dec 2018--weird issue with Win XP and MinGW gcc 7.3.0 */
-+ /* Can't read entire file at once -- need to break up into smaller blocksize reads */
-+ {
-+ int frs,n;
-+ int blocksize;
-+ blocksize=1024*1024;
-+ for (n=0;1;)
-+ {
-+ int bs;
-+ bs= size-n > blocksize ? blocksize : size-n;
-+ frs=(int)fread(&(*data)[n],1,bs,fp);
-+ n+=frs;
-+ if (frs<bs || bs<blocksize || n>=size)
-+ break;
-+ }
-+ result = static_cast<long>((long)n==size);
-+ }
-+ /*
-+ result = static_cast<long>(fread(&(*data)[0], 1, size, fp)) == size;
-+ */
- }
- fclose(fp);
- }
-diff --git a/src/ccutil/mainblk.cpp b/src/ccutil/mainblk.cpp
-index 52b04b04..80b26044 100644
---- a/src/ccutil/mainblk.cpp
-+++ b/src/ccutil/mainblk.cpp
-@@ -55,8 +55,22 @@ void CCUtil::main_setup(const char *argv0, const char *basename) {
- #if defined(_WIN32)
- } else if (datadir == nullptr || _access(datadir.string(), 0) != 0) {
- /* Look for tessdata in directory of executable. */
-+ /*
-+ char drive[_MAX_DRIVE];
-+ char dir[_MAX_DIR];
-+ */
- char path[_MAX_PATH];
-- DWORD length = GetModuleFileName(nullptr, path, sizeof(path));
-+ int i;
-+ /* DWORD length = */ GetModuleFileName(nullptr, path, sizeof(path));
-+ /* willus mod--avoid _splitpath_s -- not in XP */
-+ for (i=strlen(path)-1;i>=0 && path[i]!='/' && path[i]!='\\';i--);
-+ if (i>=0)
-+ {
-+ path[i]='\0';
-+ datadir=path;
-+ datadir += "/tessdata";
-+ }
-+ /*
- if (length > 0 && length < sizeof(path)) {
- char* separator = std::strrchr(path, '\\');
- if (separator != nullptr) {
-@@ -65,6 +79,7 @@ void CCUtil::main_setup(const char *argv0, const char *basename) {
- datadir += "/tessdata";
- }
- }
-+ */
- #endif /* _WIN32 */
- #if defined(TESSDATA_PREFIX)
- } else {
-diff --git a/src/ccutil/params.cpp b/src/ccutil/params.cpp
-index 00bf2563..486c5ce0 100644
---- a/src/ccutil/params.cpp
-+++ b/src/ccutil/params.cpp
-@@ -82,7 +82,8 @@ bool ParamUtils::ReadParamsFromFp(SetParamConstraint constraint, TFile *fp,
-
- if (!foundit) {
- anyerr = true; // had an error
-- tprintf("Warning: Parameter not found: %s\n", line);
-+ /* willus mod */
-+ tprintf("Tesseract warning: Parameter %s not found in file %s.\n",line,fp->tfile_filename);
- }
- }
- }
-diff --git a/src/ccutil/serialis.cpp b/src/ccutil/serialis.cpp
-index 7def011f..6107a494 100644
---- a/src/ccutil/serialis.cpp
-+++ b/src/ccutil/serialis.cpp
-@@ -201,6 +201,9 @@ bool TFile::Open(const STRING& filename, FileReader reader) {
- offset_ = 0;
- is_writing_ = false;
- swap_ = false;
-+ /* willus mod */
-+ strncpy(tfile_filename,filename.string(),511);
-+ tfile_filename[511]='\0';
- if (reader == nullptr)
- return LoadDataFromFile(filename, data_);
- else
-diff --git a/src/ccutil/serialis.h b/src/ccutil/serialis.h
-index 095b9227..4cc8251e 100644
---- a/src/ccutil/serialis.h
-+++ b/src/ccutil/serialis.h
-@@ -77,6 +77,8 @@ class TFile {
- public:
- TFile();
- ~TFile();
-+ /* willus mod */
-+ char tfile_filename[512];
-
- // All the Open methods load the whole file into memory for reading.
- // Opens a file with a supplied reader, or nullptr to use the default.
-diff --git a/src/lstm/input.cpp b/src/lstm/input.cpp
-index 73b584b3..0b0b54c3 100644
---- a/src/lstm/input.cpp
-+++ b/src/lstm/input.cpp
-@@ -93,8 +93,11 @@ Pix* Input::PrepareLSTMInputs(const ImageData& image_data,
- return nullptr;
- }
- if (width < min_width || height < min_width) {
-+ /* willus mod -- no warning */
-+ /*
- tprintf("Image too small to scale!! (%dx%d vs min width of %d)\n", width,
- height, min_width);
-+ */
- pixDestroy(&pix);
- return nullptr;
- }
---
-2.22.0
-
diff --git a/nixpkgs/pkgs/applications/misc/k4dirstat/default.nix b/nixpkgs/pkgs/applications/misc/k4dirstat/default.nix
new file mode 100644
index 00000000000..2b4ae320e4e
--- /dev/null
+++ b/nixpkgs/pkgs/applications/misc/k4dirstat/default.nix
@@ -0,0 +1,33 @@
+{ mkDerivation
+, extra-cmake-modules
+, fetchFromGitHub
+, kdoctools
+, kiconthemes
+, kio
+, kjobwidgets
+, kxmlgui
+, stdenv
+}:
+
+mkDerivation rec {
+ pname = "k4dirstat";
+ version = "3.2.1";
+
+ src = fetchFromGitHub {
+ owner = "jeromerobert";
+ repo = pname;
+ rev = version;
+ sha256 = "15xjb80jq6vhzvzx4l341f40d8a23w1334qh6cczqm9adfnzycp7";
+ };
+
+ nativeBuildInputs = [ extra-cmake-modules ];
+ buildInputs = [ kiconthemes kio kjobwidgets kxmlgui ];
+
+ meta = with stdenv.lib; {
+ homepage = "https://github.com/jeromerobert/k4dirstat";
+ description = "A small utility program that sums up disk usage for directory trees";
+ license = licenses.gpl2;
+ maintainers = [ maintainers.raboof ];
+ platforms = platforms.linux;
+ };
+}
diff --git a/nixpkgs/pkgs/applications/misc/kanboard/default.nix b/nixpkgs/pkgs/applications/misc/kanboard/default.nix
index e6193d43563..4f84420330d 100644
--- a/nixpkgs/pkgs/applications/misc/kanboard/default.nix
+++ b/nixpkgs/pkgs/applications/misc/kanboard/default.nix
@@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "kanboard";
- version = "1.2.14";
+ version = "1.2.15";
src = fetchFromGitHub {
owner = "kanboard";
repo = "kanboard";
rev = "v${version}";
- sha256 = "11bwajzidnyagdyip7i8rwni1f66acv0k4lybdm0mc4195anivjh";
+ sha256 = "0lib2qlc8a59i9dak0g1j5hymwbq9vhflp5srhcjislxypfvrizs";
};
dontBuild = true;
diff --git a/nixpkgs/pkgs/applications/misc/keepass-plugins/keeagent/default.nix b/nixpkgs/pkgs/applications/misc/keepass-plugins/keeagent/default.nix
index c3d26077443..85749af0a56 100644
--- a/nixpkgs/pkgs/applications/misc/keepass-plugins/keeagent/default.nix
+++ b/nixpkgs/pkgs/applications/misc/keepass-plugins/keeagent/default.nix
@@ -1,14 +1,14 @@
{ stdenv, buildEnv, fetchzip, mono }:
let
- version = "0.10.1";
+ version = "0.12.0";
drv = stdenv.mkDerivation {
pname = "keeagent";
inherit version;
src = fetchzip {
- url = "https://lechnology.com/wp-content/uploads/2018/04/KeeAgent_v0.10.1.zip";
- sha256 = "0j7az6l9wcr8z66mfplkxwydd4bgz2p2vd69xncf0nxlfb0lshh7";
+ url = "https://lechnology.com/wp-content/uploads/2020/05/KeeAgent_v0.12.0.zip";
+ sha256 = "0fcfbj3yikiv3dmp69236h9r3c416amdq849kn131w1129gb68xd";
stripRoot = false;
};
diff --git a/nixpkgs/pkgs/applications/misc/keepass/default.nix b/nixpkgs/pkgs/applications/misc/keepass/default.nix
index 3a1393913ef..ea579ce4117 100644
--- a/nixpkgs/pkgs/applications/misc/keepass/default.nix
+++ b/nixpkgs/pkgs/applications/misc/keepass/default.nix
@@ -68,7 +68,7 @@ with builtins; buildDotnetPackage rec {
icon = "keepass";
desktopName = "Keepass";
genericName = "Password manager";
- categories = "Application;Utility;";
+ categories = "Utility;";
mimeType = stdenv.lib.concatStringsSep ";" [
"application/x-keepass2"
""
diff --git a/nixpkgs/pkgs/applications/misc/keepass/fix-paths.patch b/nixpkgs/pkgs/applications/misc/keepass/fix-paths.patch
index 0a99f506b94..5ff36a21c00 100644
--- a/nixpkgs/pkgs/applications/misc/keepass/fix-paths.patch
+++ b/nixpkgs/pkgs/applications/misc/keepass/fix-paths.patch
@@ -56,24 +56,6 @@ diff --git a/KeePass/Util/ClipboardUtil.Unix.cs b/KeePass/Util/ClipboardUtil.Uni
index ab49ee2..7f6c50f 100644
--- a/KeePass/Util/ClipboardUtil.Unix.cs
+++ b/KeePass/Util/ClipboardUtil.Unix.cs
-@@ -42,7 +42,7 @@ namespace KeePass.Util
- // string strGtk = GtkGetString();
- // if(strGtk != null) return strGtk;
-
-- return (NativeLib.RunConsoleApp("pbpaste", "-pboard general") ??
-+ return (NativeLib.RunConsoleApp("@pbpaste@", "-pboard general") ??
- string.Empty);
- }
-
-@@ -50,7 +50,7 @@ namespace KeePass.Util
- {
- // if(GtkSetString(str)) return;
-
-- NativeLib.RunConsoleApp("pbcopy", "-pboard general", str);
-+ NativeLib.RunConsoleApp("@pbcopy@", "-pboard general", str);
- }
-
- private static string GetStringU()
@@ -62,7 +62,7 @@ namespace KeePass.Util
// "-out -selection clipboard");
// if(str != null) return str;
diff --git a/nixpkgs/pkgs/applications/misc/keepass/keepass-plugins-load.patch b/nixpkgs/pkgs/applications/misc/keepass/keepass-plugins-load.patch
index ca52e7ef191..e6a6bff8dad 100644
--- a/nixpkgs/pkgs/applications/misc/keepass/keepass-plugins-load.patch
+++ b/nixpkgs/pkgs/applications/misc/keepass/keepass-plugins-load.patch
@@ -1 +1 @@
-+ m_pluginManager.LoadAllPlugins("$PATH$/lib/dotnet/keepass", SearchOption.TopDirectoryOnly, new string[] {});
++ m_pluginManager.LoadAllPlugins("$PATH$/lib/dotnet/keepass", System.IO.SearchOption.TopDirectoryOnly, new string[] {});
diff --git a/nixpkgs/pkgs/applications/misc/keepass/keepass-plugins.patch b/nixpkgs/pkgs/applications/misc/keepass/keepass-plugins.patch
index 9a7e3fe9983..891be1ffa31 100644
--- a/nixpkgs/pkgs/applications/misc/keepass/keepass-plugins.patch
+++ b/nixpkgs/pkgs/applications/misc/keepass/keepass-plugins.patch
@@ -11,7 +11,7 @@ diff --git a/KeePass/Forms/MainForm.cs b/KeePass/Forms/MainForm.cs
index 347eaf5..b92e1e2 100644
--- a/KeePass/Forms/MainForm.cs
+++ b/KeePass/Forms/MainForm.cs
-@@ -440,7 +440,7 @@ namespace KeePass.Forms
+@@ -440,7 +440,$OUTPUT_LC$ @@ namespace KeePass.Forms
ToolStripItemCollection tsicT = m_ctxTray.Items;
ToolStripItem tsiPrevT = m_ctxTrayOptions;
diff --git a/nixpkgs/pkgs/applications/misc/keepassx/community.nix b/nixpkgs/pkgs/applications/misc/keepassx/community.nix
index 469b4cf5ea6..f0131712b23 100644
--- a/nixpkgs/pkgs/applications/misc/keepassx/community.nix
+++ b/nixpkgs/pkgs/applications/misc/keepassx/community.nix
@@ -6,6 +6,7 @@
, qttools
, darwin
+, asciidoctor
, curl
, glibcLocales
, libXi
@@ -39,13 +40,13 @@ with stdenv.lib;
stdenv.mkDerivation rec {
pname = "keepassxc";
- version = "2.5.4";
+ version = "2.6.1";
src = fetchFromGitHub {
owner = "keepassxreboot";
repo = "keepassxc";
rev = version;
- sha256 = "1xih9q1pxszalc0l29fmjxwn1vrrrrbnhc8gmi8brw5sclhbs6bh";
+ sha256 = "0wgn0glmcxaa670bpxh7n7abjlxcx4h1rl1169cmah0ddxnxnxpq";
};
NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.cc.isClang [
@@ -63,11 +64,6 @@ stdenv.mkDerivation rec {
patches = [
./darwin.patch
- # use wl-copy on Wayland - can be dropped with the next version update
- (fetchpatch {
- url = "https://github.com/keepassxreboot/keepassxc/commit/6128e5d58294f26411160f44da91087ebe7f4b07.patch";
- sha256 = "16q0h7kijqjdbskmk4ar6p3g8vcxr0bq1zrlq2bk16pk10nv4bh1";
- })
];
cmakeFlags = [
@@ -97,6 +93,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake wrapQtAppsHook qttools ];
buildInputs = [
+ asciidoctor
curl
glibcLocales
libXi
diff --git a/nixpkgs/pkgs/applications/misc/khal/default.nix b/nixpkgs/pkgs/applications/misc/khal/default.nix
index 323fc501c84..257cacf69a0 100644
--- a/nixpkgs/pkgs/applications/misc/khal/default.nix
+++ b/nixpkgs/pkgs/applications/misc/khal/default.nix
@@ -2,21 +2,14 @@
with python3.pkgs; buildPythonApplication rec {
pname = "khal";
- version = "0.10.1";
+ version = "0.10.2";
src = fetchPypi {
inherit pname version;
- sha256 = "1r8bkgjwkh7i8ygvsv51h1cnax50sb183vafg66x5snxf3dgjl6l";
+ sha256 = "11qhrga44knlnp88py9p547d4nr5kn041d2nszwa3dqw7mf22ks9";
};
- # Include a khal.desktop file via upstream commit.
- # This patch should be removed when updating to the next version, probably.
patches = [
- (fetchpatch {
- name = "add-khal-dot-desktop.patch";
- url = "https://github.com/pimutils/khal/commit/1f93d238fec7c934dd2f8e48f54925d22130e3aa.patch";
- sha256 = "06skn3van7zd93348fc6axllx71ckkc7h2zljqlvwa339vca608c";
- })
./skip-broken-test.patch
];
diff --git a/nixpkgs/pkgs/applications/misc/khal/skip-broken-test.patch b/nixpkgs/pkgs/applications/misc/khal/skip-broken-test.patch
index c3c982547ae..fc37f6acc86 100644
--- a/nixpkgs/pkgs/applications/misc/khal/skip-broken-test.patch
+++ b/nixpkgs/pkgs/applications/misc/khal/skip-broken-test.patch
@@ -1,3 +1,15 @@
+diff --git a/tests/cli_test.py b/tests/cli_test.py
+index 5e354a5..d8fbcd5 100644
+--- a/tests/cli_test.py
++++ b/tests/cli_test.py
+@@ -493,6 +493,7 @@ def test_import_invalid_choice_and_prefix(runner):
+ assert result.output == '09.04.-09.04. An Event\n'
+
+
++@pytest.mark.skip(reason="Mocking breaks in this testcase")
+ def test_import_from_stdin(runner, monkeypatch):
+ ics_data = 'This is some really fake icalendar data'
+
diff --git a/tests/ui/test_editor.py b/tests/ui/test_editor.py
index 27b7fa5..5978d72 100644
--- a/tests/ui/test_editor.py
diff --git a/nixpkgs/pkgs/applications/misc/khard/default.nix b/nixpkgs/pkgs/applications/misc/khard/default.nix
index 8646b9864d9..a3e4c1309ff 100644
--- a/nixpkgs/pkgs/applications/misc/khard/default.nix
+++ b/nixpkgs/pkgs/applications/misc/khard/default.nix
@@ -1,12 +1,12 @@
{ stdenv, glibcLocales, python3 }:
python3.pkgs.buildPythonApplication rec {
- version = "0.16.1";
+ version = "0.17.0";
pname = "khard";
src = python3.pkgs.fetchPypi {
inherit pname version;
- sha256 = "0fg4qh5gzki5wg958wlpc8a2icnk74gzg33lqxjm755cfnjng7qd";
+ sha256 = "062nv4xkfsjc11k9m52dh6xjn9z68a4a6x1s8z05wwv4jbp1lkhn";
};
propagatedBuildInputs = with python3.pkgs; [
@@ -22,6 +22,11 @@ python3.pkgs.buildPythonApplication rec {
install -D misc/zsh/_khard $out/share/zsh/site-functions/_khard
'';
+ preCheck = ''
+ # see https://github.com/scheibler/khard/issues/263
+ export COLUMNS=80
+ '';
+
meta = {
homepage = "https://github.com/scheibler/khard";
description = "Console carddav client";
diff --git a/nixpkgs/pkgs/applications/misc/kitty/default.nix b/nixpkgs/pkgs/applications/misc/kitty/default.nix
index 80cf90ced16..65d7df72489 100644
--- a/nixpkgs/pkgs/applications/misc/kitty/default.nix
+++ b/nixpkgs/pkgs/applications/misc/kitty/default.nix
@@ -3,7 +3,7 @@
libstartup_notification, libGL, libX11, libXrandr, libXinerama, libXcursor,
libxkbcommon, libXi, libXext, wayland-protocols, wayland,
installShellFiles,
- which, dbus,
+ dbus,
Cocoa,
CoreGraphics,
Foundation,
@@ -20,14 +20,14 @@
with python3Packages;
buildPythonApplication rec {
pname = "kitty";
- version = "0.17.4";
+ version = "0.18.3";
format = "other";
src = fetchFromGitHub {
owner = "kovidgoyal";
repo = "kitty";
rev = "v${version}";
- sha256 = "1rbyj84y8r6h7qd6w7cw58v2abspippignj458ihv2m26i4als2x";
+ sha256 = "0y05bw6d1m79dyhm7b6lk6wy82pmy2s9jhf01kf8gr2p0rjjp9yl";
};
buildInputs = [
@@ -50,7 +50,7 @@ buildPythonApplication rec {
];
nativeBuildInputs = [
- pkgconfig which sphinx ncurses
+ pkgconfig sphinx ncurses
] ++ stdenv.lib.optionals stdenv.isDarwin [
imagemagick
libicns # For the png2icns tool.
@@ -63,13 +63,6 @@ buildPythonApplication rec {
patches = [
./fix-paths.patch
- ] ++ stdenv.lib.optionals stdenv.isLinux [
- (substituteAll {
- src = ./library-paths.patch;
- libstartup_notification = "${libstartup_notification}/lib/libstartup-notification-1.so";
- libcanberra = "${libcanberra}/lib/libcanberra.so";
- libEGL = "${stdenv.lib.getLib libGL}/lib/libEGL.so.1";
- })
] ++ stdenv.lib.optionals stdenv.isDarwin [
./no-lto.patch
];
@@ -77,13 +70,31 @@ buildPythonApplication rec {
# Causes build failure due to warning
hardeningDisable = stdenv.lib.optional stdenv.isDarwin "strictoverflow";
+ dontConfigure = true;
+
buildPhase = if stdenv.isDarwin then ''
${python.interpreter} setup.py kitty.app --update-check-interval=0
make man
'' else ''
- ${python.interpreter} setup.py linux-package --update-check-interval=0
+ ${python.interpreter} setup.py linux-package \
+ --update-check-interval=0 \
+ --egl-library='${stdenv.lib.getLib libGL}/lib/libEGL.so.1' \
+ --startup-notification-library='${libstartup_notification}/lib/libstartup-notification-1.so' \
+ --canberra-library='${libcanberra}/lib/libcanberra.so'
'';
+ checkInputs = [ pillow ];
+
+ checkPhase =
+ let buildBinPath =
+ if stdenv.isDarwin
+ then "kitty.app/Contents/MacOS"
+ else "linux-package/bin";
+ in
+ ''
+ env PATH="${buildBinPath}:$PATH" ${python.interpreter} test.py
+ '';
+
installPhase = ''
runHook preInstall
mkdir -p $out
@@ -100,8 +111,6 @@ buildPythonApplication rec {
wrapProgram "$out/bin/kitty" --prefix PATH : "$out/bin:${stdenv.lib.makeBinPath [ imagemagick xsel ncurses.dev ]}"
runHook postInstall
- # ZSH completions need to be invoked with `source`:
- # https://github.com/kovidgoyal/kitty/blob/8ceb941051b89b7c50850778634f0b6137aa5e6e/docs/index.rst#zsh
mkdir -p "$out/share/"{bash-completion/completions,fish/vendor_completions.d,zsh/site-functions}
"$out/bin/kitty" + complete setup fish > "$out/share/fish/vendor_completions.d/kitty.fish"
"$out/bin/kitty" + complete setup bash > "$out/share/bash-completion/completions/kitty.bash"
@@ -125,7 +134,8 @@ buildPythonApplication rec {
homepage = "https://github.com/kovidgoyal/kitty";
description = "A modern, hackable, featureful, OpenGL based terminal emulator";
license = licenses.gpl3;
+ changelog = "https://sw.kovidgoyal.net/kitty/changelog.html";
platforms = platforms.darwin ++ platforms.linux;
- maintainers = with maintainers; [ tex rvolosatovs ma27 Luflosi ];
+ maintainers = with maintainers; [ tex rvolosatovs Luflosi ];
};
}
diff --git a/nixpkgs/pkgs/applications/misc/kitty/library-paths.patch b/nixpkgs/pkgs/applications/misc/kitty/library-paths.patch
deleted file mode 100644
index 608dfb80d61..00000000000
--- a/nixpkgs/pkgs/applications/misc/kitty/library-paths.patch
+++ /dev/null
@@ -1,38 +0,0 @@
---- a/glfw/egl_context.c
-+++ b/glfw/egl_context.c
-@@ -314,7 +314,7 @@ bool _glfwInitEGL(void)
- #elif defined(__CYGWIN__)
- "libEGL-1.so",
- #else
-- "libEGL.so.1",
-+ "@libEGL@",
- #endif
- NULL
- };
-
---- a/kitty/desktop.c
-+++ b/kitty/desktop.c
-@@ -34,10 +34,7 @@ init_x11_startup_notification(PyObject UNUSED *self, PyObject *args) {
- done = true;
-
- const char* libnames[] = {
-- "libstartup-notification-1.so",
-- // some installs are missing the .so symlink, so try the full name
-- "libstartup-notification-1.so.0",
-- "libstartup-notification-1.so.0.0.0",
-+ "@libstartup_notification@",
- NULL
- };
- for (int i = 0; libnames[i]; i++) {
-@@ -113,10 +110,7 @@ load_libcanberra(void) {
- if (done) return;
- done = true;
- const char* libnames[] = {
-- "libcanberra.so",
-- // some installs are missing the .so symlink, so try the full name
-- "libcanberra.so.0",
-- "libcanberra.so.0.2.5",
-+ "@libcanberra@",
- NULL
- };
- for (int i = 0; libnames[i]; i++) {
diff --git a/nixpkgs/pkgs/applications/misc/kitty/no-lto.patch b/nixpkgs/pkgs/applications/misc/kitty/no-lto.patch
index 8073c11fbd2..b1f38f9fd49 100644
--- a/nixpkgs/pkgs/applications/misc/kitty/no-lto.patch
+++ b/nixpkgs/pkgs/applications/misc/kitty/no-lto.patch
@@ -1,6 +1,6 @@
--- a/setup.py
+++ b/setup.py
-@@ -277,10 +277,6 @@ def init_env(
+@@ -287,10 +287,6 @@ def init_env(
cppflags += shlex.split(os.environ.get('CPPFLAGS', ''))
cflags += shlex.split(os.environ.get('CFLAGS', ''))
ldflags += shlex.split(os.environ.get('LDFLAGS', ''))
diff --git a/nixpkgs/pkgs/applications/misc/klayout/default.nix b/nixpkgs/pkgs/applications/misc/klayout/default.nix
index 784656b8b96..5f6c679f3ba 100644
--- a/nixpkgs/pkgs/applications/misc/klayout/default.nix
+++ b/nixpkgs/pkgs/applications/misc/klayout/default.nix
@@ -5,13 +5,13 @@
mkDerivation rec {
pname = "klayout";
- version = "0.26.5";
+ version = "0.26.6";
src = fetchFromGitHub {
owner = "KLayout";
repo = "klayout";
rev = "v${version}";
- sha256 = "1zv8yazhdyxm33vdn0m5cciw7zzg45nwdg4rdcsydnrwg7d667r6";
+ sha256 = "0z17pdjdc2r2m5yi5bfz504dzzs978z8p6bhlf08v2npvigp8vz1";
};
postPatch = ''
diff --git a/nixpkgs/pkgs/applications/misc/kondo/default.nix b/nixpkgs/pkgs/applications/misc/kondo/default.nix
index 9df4c59717c..6b23d1d0437 100644
--- a/nixpkgs/pkgs/applications/misc/kondo/default.nix
+++ b/nixpkgs/pkgs/applications/misc/kondo/default.nix
@@ -2,16 +2,16 @@
rustPlatform.buildRustPackage rec {
pname = "kondo";
- version = "0.3";
+ version = "0.4";
src = fetchFromGitHub {
owner = "tbillington";
repo = pname;
rev = "v${version}";
- sha256 = "1rrg0xfm3vn5jh861r4ismrga673g7v6qnzl2v1haflgjhvdazwd";
+ sha256 = "0kl2zn6ir3w75ny25ksgxl93vlyb13gzx2795zyimqqnsrdpbbrf";
};
- cargoSha256 = "1y7g8gw9hsm997d6i99c3dj2gb8y8cgws5001n85f9bpnlvvmf9y";
+ cargoSha256 = "1ax81a2828z3yla1psg5xi8ild65m6zcsvx48ncz902mpzqlj92b";
meta = with stdenv.lib; {
description = "Save disk space by cleaning unneeded files from software projects";
diff --git a/nixpkgs/pkgs/applications/misc/krename/default.nix b/nixpkgs/pkgs/applications/misc/krename/default.nix
index 816b352460b..578c56a748a 100644
--- a/nixpkgs/pkgs/applications/misc/krename/default.nix
+++ b/nixpkgs/pkgs/applications/misc/krename/default.nix
@@ -23,6 +23,8 @@ in mkDerivation rec {
propagatedBuildInputs = [ kconfig kcrash kinit kjsembed ];
+ NIX_LDFLAGS = "-ltag";
+
meta = with lib; {
description = "A powerful batch renamer for KDE";
homepage = "https://kde.org/applications/utilities/krename/";
diff --git a/nixpkgs/pkgs/applications/misc/ksmoothdock/default.nix b/nixpkgs/pkgs/applications/misc/ksmoothdock/default.nix
new file mode 100644
index 00000000000..9538329bf9b
--- /dev/null
+++ b/nixpkgs/pkgs/applications/misc/ksmoothdock/default.nix
@@ -0,0 +1,43 @@
+{ lib
+, mkDerivation
+, fetchFromGitHub
+, fetchpatch
+, cmake
+, extra-cmake-modules
+, kactivities
+, qtbase
+}:
+
+mkDerivation rec {
+ pname = "KSmoothDock";
+ version = "6.2";
+
+ src = fetchFromGitHub {
+ owner = "dangvd";
+ repo = "ksmoothdock";
+ rev = "v${version}";
+ sha256 = "182x47cymgnp5xisa0xx93hmd5wrfigy8zccrr23p4r9hp8xbnam";
+ };
+
+ patches = [
+ # Fixed hard coded installation path to use CMAKE_INSTALL_BINDIR and CMAKE_INSTALL_PREFIX instead
+ (fetchpatch {
+ url = "https://github.com/dangvd/ksmoothdock/commit/00799bef8a1c1fe61ef9274866267d9fe9194041.patch";
+ sha256 = "1nmb7gf1ggzicxz8k4fd67xhwjy404myqzjpgjym66wqxm0arni4";
+ })
+ ];
+
+ nativeBuildInputs = [ cmake extra-cmake-modules ];
+
+ buildInputs = [ kactivities qtbase ];
+
+ cmakeDir = "../src";
+
+ meta = with lib; {
+ description = "A cool desktop panel for KDE Plasma 5";
+ license = licenses.mit;
+ homepage = "https://dangvd.github.io/ksmoothdock/";
+ maintainers = with maintainers; [ shamilton ];
+ platforms = platforms.linux;
+ };
+}
diff --git a/nixpkgs/pkgs/applications/misc/llpp/default.nix b/nixpkgs/pkgs/applications/misc/llpp/default.nix
index e2ec64932ff..d7752258df9 100644
--- a/nixpkgs/pkgs/applications/misc/llpp/default.nix
+++ b/nixpkgs/pkgs/applications/misc/llpp/default.nix
@@ -5,12 +5,12 @@ assert lib.versionAtLeast (lib.getVersion ocaml) "4.07";
stdenv.mkDerivation rec {
pname = "llpp";
- version = "31";
+ version = "32";
src = fetchgit {
url = "git://repo.or.cz/llpp.git";
rev = "v${version}";
- sha256 = "14ibsm1zzxfidjajcj30b5m9in10q3817izahsjvkmryrvvn6qsg";
+ sha256 = "1h1zysm5cz8laq8li49djl6929cnrjlflag9hw0c1dcr4zaxk32y";
fetchSubmodules = false;
};
diff --git a/nixpkgs/pkgs/applications/misc/llpp/fix-build-bash.patch b/nixpkgs/pkgs/applications/misc/llpp/fix-build-bash.patch
index 13dbdb926c8..fbc341c8af7 100644
--- a/nixpkgs/pkgs/applications/misc/llpp/fix-build-bash.patch
+++ b/nixpkgs/pkgs/applications/misc/llpp/fix-build-bash.patch
@@ -17,48 +17,48 @@ index 7c278b6..41494c5 100755
-keycmd="(cd $mudir && make -q build=$mbt libs && echo); digest $mulibs"
-isfresh "$mulibs" "$(eval $keycmd)" || (
- make -C "$mudir" build=$mbt -j $mjobs libs
-- echo "k='$(eval $keycmd)'" >$mudir/build/$mbt/libmupdf.a.past
+- eval $keycmd >$mudir/build/$mbt/libmupdf.a.past
-) && vecho "fresh mupdf"
-
oincs() {
local i=
local incs1=
-@@ -90,34 +83,6 @@ mflags() {
+@@ -89,34 +82,6 @@ mflags() {
}
overs="$(ocamlc -vnum 2>/dev/null)" || overs=""
--test "$overs" = "4.08" || {
-- url=https://caml.inria.fr/pub/distrib/ocaml-4.08/ocaml-4.08.0.tar.xz
+-test "$overs" = "4.10.0" || {
+- url=https://caml.inria.fr/pub/distrib/ocaml-4.10/ocaml-4.10.0.tar.xz
- txz=$outd/$(basename $url)
-- isfresh $txz $url || {
+- keycmd="printf $url; digest $txz;"
+- isfresh $txz "$(eval $keycmd)" || {
- executable_p() { command -v "$1" >/dev/null 2>&1; }
- if executable_p wget; then dl() { wget -q "$1" -O "$2"; }
- elif executable_p curl; then dl() { curl -L "$1" -o "$2"; }
- else die "no program to fetch remote urls found"
- fi
- dl $url $txz
-- echo "k=$url" >$txz.past
+- eval $keycmd >$txz.past
- } && vecho "fresh $txz"
- absprefix=$(cd $outd &>/dev/null; pwd -P)
- export PATH=$absprefix/bin:$PATH
-- isfresh $absprefix/bin/ocamlc "$url" || (
+- ocamlc=$absprefix/bin/ocamlc
+- keycmd="printf $url; digest $ocamlc;"
+- isfresh $ocamlc "$(eval $keycmd)" || (
- tar xf $txz -C $outd
- bn=$(basename $url)
- cd $outd/${bn%.tar.xz}
-- ./configure --disable-vmthreads --disable-graph-lib \
-- --disable-ocamldoc --enable-debugger=no \
-- --disable-flat-float-array \
-- --prefix=$absprefix
+- ./configure --disable-ocamldoc --enable-debugger=no --prefix=$absprefix
- make -j $mjobs world
- make install
-- echo "k='$url'" >$absprefix/bin/ocamlc.past
+- eval $keycmd >$absprefix/bin/ocamlc.past
- ) && vecho "fresh ocamlc"
- overs=$(ocamlc -vnum 2>/dev/null)
-}
- bocaml1() {
- grep -q "$3" $outd/ordered || {
-@@ -227,7 +192,7 @@ bobjc() {
+ ccomp=${LLPP_CC-$(ocamlc -config | grep "^c_compiler: " | \
+ { read _ c; echo $c; })}
+@@ -230,7 +195,7 @@ bobjc() {
} && vecho "fresh $o"
}
@@ -67,7 +67,7 @@ index 7c278b6..41494c5 100755
cmd="(. $srcd/genconfstr.sh >$outd/confstruct.ml)"
keycmd="digest $srcd/genconfstr.sh $outd/confstruct.ml"
-@@ -281,7 +246,7 @@ for m in ml_gl ml_glarray ml_raw; do
+@@ -284,7 +249,7 @@ for m in ml_gl ml_glarray ml_raw; do
done
libs="str.cma unix.cma"
diff --git a/nixpkgs/pkgs/applications/misc/lutris/default.nix b/nixpkgs/pkgs/applications/misc/lutris/default.nix
index 2ff2a82dd4f..b3a68cffeff 100644
--- a/nixpkgs/pkgs/applications/misc/lutris/default.nix
+++ b/nixpkgs/pkgs/applications/misc/lutris/default.nix
@@ -1,9 +1,43 @@
{ buildPythonApplication, lib, fetchFromGitHub, fetchpatch
-, wrapGAppsHook, gobject-introspection, glib-networking, gnome-desktop, libnotify, libgnome-keyring, pango
-, gdk-pixbuf, atk, webkitgtk, gst_all_1
-, dbus-python, evdev, pyyaml, pygobject3, requests, pillow
-, xrandr, pciutils, psmisc, glxinfo, vulkan-tools, xboxdrv, pulseaudio, p7zip, xgamma
-, libstrangle, wine, fluidsynth, xorgserver
+
+# build inputs
+, atk
+, gdk-pixbuf
+, glib-networking
+, gnome-desktop
+, gobject-introspection
+, gst_all_1
+, gtk3
+, libnotify
+, pango
+, webkitgtk
+, wrapGAppsHook
+
+# python dependencies
+, dbus-python
+, distro
+, evdev
+, pillow
+, pygobject3
+, pyyaml
+, requests
+, keyring
+
+# commands that lutris needs
+, xrandr
+, pciutils
+, psmisc
+, glxinfo
+, vulkan-tools
+, xboxdrv
+, pulseaudio
+, p7zip
+, xgamma
+, libstrangle
+, wine
+, fluidsynth
+, xorgserver
+, xorg
}:
let
@@ -22,37 +56,56 @@ let
wine
fluidsynth
xorgserver
+ xorg.setxkbmap
+ xorg.xkbcomp
];
gstDeps = with gst_all_1; [
- gstreamer gst-plugins-base gst-plugins-good gst-plugins-bad gst-plugins-ugly
gst-libav
+ gst-plugins-bad
+ gst-plugins-base
+ gst-plugins-good
+ gst-plugins-ugly
+ gstreamer
];
in buildPythonApplication rec {
pname = "lutris-original";
- version = "0.5.5";
+ version = "0.5.7.1";
src = fetchFromGitHub {
owner = "lutris";
repo = "lutris";
rev = "v${version}";
- sha256 = "1g093g0difnkjmnm91p20issdsxn9ri4c56zzddj5wfrbmhwdfag";
+ sha256 = "12ispwkbbm5aq263n3bdjmjfkpwplizacnqs2c0wnag4zj4kpm29";
};
nativeBuildInputs = [ wrapGAppsHook ];
buildInputs = [
- gobject-introspection glib-networking gnome-desktop libnotify libgnome-keyring pango
- gdk-pixbuf atk webkitgtk
+ atk
+ gdk-pixbuf
+ glib-networking
+ gnome-desktop
+ gobject-introspection
+ gtk3
+ libnotify
+ pango
+ webkitgtk
] ++ gstDeps;
- makeWrapperArgs = [
- "--prefix PATH : ${binPath}"
+ propagatedBuildInputs = [
+ evdev distro pyyaml pygobject3 requests pillow dbus-python keyring
];
- propagatedBuildInputs = [
- evdev pyyaml pygobject3 requests pillow dbus-python
+ # avoid double wrapping
+ dontWrapGApps = true;
+ makeWrapperArgs = [
+ "--prefix PATH : ${binPath}"
+ ''''${gappsWrapperArgs[@]}''
];
+ # needed for glib-schemas to work correctly (will crash on dialogues otherwise)
+ # see https://github.com/NixOS/nixpkgs/issues/56943
+ strictDeps = false;
preCheck = "export HOME=$PWD";
diff --git a/nixpkgs/pkgs/applications/misc/lutris/chrootenv.nix b/nixpkgs/pkgs/applications/misc/lutris/fhsenv.nix
index 4fcbaa19a20..2b656775ab5 100644
--- a/nixpkgs/pkgs/applications/misc/lutris/chrootenv.nix
+++ b/nixpkgs/pkgs/applications/misc/lutris/fhsenv.nix
@@ -28,7 +28,7 @@ in buildFHSUserEnv {
# DGen // TODO: libarchive is broken
# Dolphin
- bluez ffmpeg gettext portaudio wxGTK30 miniupnpc mbedtls lzo sfml gsm
+ bluez ffmpeg_3 gettext portaudio wxGTK30 miniupnpc mbedtls lzo sfml gsm
wavpack orc nettle gmp pcre vulkan-loader
# DOSBox
@@ -97,7 +97,7 @@ in buildFHSUserEnv {
libcap libtiff libva libgphoto2 libxslt libsndfile giflib zlib glib
alsaLib zziplib bash dbus keyutils zip cabextract freetype unzip coreutils
readline gcc SDL SDL2 curl graphite2 gtk2 gtk3 udev ncurses wayland libglvnd
- vulkan-loader xdg_utils sqlite gnutls libbsd
+ vulkan-loader xdg_utils sqlite gnutls p11-kit libbsd harfbuzz
# PCSX2 // TODO: "libgobject-2.0.so.0: wrong ELF class: ELFCLASS64"
diff --git a/nixpkgs/pkgs/applications/misc/lyx/default.nix b/nixpkgs/pkgs/applications/misc/lyx/default.nix
index b96e6b2a02d..34e7e145e74 100644
--- a/nixpkgs/pkgs/applications/misc/lyx/default.nix
+++ b/nixpkgs/pkgs/applications/misc/lyx/default.nix
@@ -3,12 +3,12 @@
}:
mkDerivation rec {
- version = "2.3.4.3";
+ version = "2.3.5.2";
pname = "lyx";
src = fetchurl {
url = "ftp://ftp.lyx.org/pub/lyx/stable/2.3.x/${pname}-${version}.tar.xz";
- sha256 = "1rpp6wq0dc0bxwc0pipajv98vi7cpg391nq10d3c4pmpq38m08wx";
+ sha256 = "1pwdh0ljd7lm5a83vsqmp4695irhig07wxa90jc23ng5gap589na";
};
# LaTeX is used from $PATH, as people often want to have it with extra pkgs
diff --git a/nixpkgs/pkgs/applications/misc/makeself/default.nix b/nixpkgs/pkgs/applications/misc/makeself/default.nix
index 6fcd86596fb..993596aabe1 100644
--- a/nixpkgs/pkgs/applications/misc/makeself/default.nix
+++ b/nixpkgs/pkgs/applications/misc/makeself/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchFromGitHub }:
+{ stdenv, fetchFromGitHub, which }:
stdenv.mkDerivation rec {
version = "2.4.2";
@@ -16,6 +16,7 @@ stdenv.mkDerivation rec {
doCheck = true;
checkTarget = "test";
+ checkInputs = [ which ];
installPhase = ''
mkdir -p $out/{bin,share/{${pname}-${version},man/man1}}
diff --git a/nixpkgs/pkgs/applications/misc/marktext/default.nix b/nixpkgs/pkgs/applications/misc/marktext/default.nix
index 5813fc15c0d..e7600752ce2 100644
--- a/nixpkgs/pkgs/applications/misc/marktext/default.nix
+++ b/nixpkgs/pkgs/applications/misc/marktext/default.nix
@@ -1,19 +1,25 @@
-{ appimageTools, fetchurl, lib }:
+{ appimageTools, fetchurl, lib, gsettings-desktop-schemas, gtk3 }:
let
pname = "marktext";
- version = "v0.16.0-rc.2";
+ version = "v0.16.2";
in
appimageTools.wrapType2 rec {
name = "${pname}-${version}-binary";
src = fetchurl {
url = "https://github.com/marktext/marktext/releases/download/${version}/marktext-x86_64.AppImage";
- sha256 = "1w1mxa1j94zr36xhvlhzq8d77pi359vdxqb2j8mnz2bib9khxk9k";
+ sha256 = "0ivf9lvv2jk7dvxmqprzcsxgya3617xmx5bppjvik44z14b5x8r7";
};
profile = ''
export LC_ALL=C.UTF-8
+ ''
+ # Fixes file open dialog error
+ # GLib-GIO-ERROR **: 20:36:48.243: No GSettings schemas are installed on the system
+ # See https://github.com/NixOS/nixpkgs/pull/83701#issuecomment-608034097
+ + ''
+ export XDG_DATA_DIRS=${gsettings-desktop-schemas}/share/gsettings-schemas/${gsettings-desktop-schemas.name}:${gtk3}/share/gsettings-schemas/${gtk3.name}:$XDG_DATA_DIRS
'';
multiPkgs = null; # no 32bit needed
diff --git a/nixpkgs/pkgs/applications/misc/masterpdfeditor/default.nix b/nixpkgs/pkgs/applications/misc/masterpdfeditor/default.nix
index 5df4a1b8d93..d541c5e1289 100644
--- a/nixpkgs/pkgs/applications/misc/masterpdfeditor/default.nix
+++ b/nixpkgs/pkgs/applications/misc/masterpdfeditor/default.nix
@@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
pname = "masterpdfeditor";
- version = "5.4.38";
+ version = "5.6.09";
src = fetchurl {
url = "https://code-industry.net/public/master-pdf-editor-${version}-qt5.amd64.tar.gz";
- sha256 = "0fidy8gd4mqvyfgmrwdiz8z53dyzihqqhgfrffj0z0idm2zi4mcq";
+ sha256 = "0v9j6fwr0xl03kr77vf4wdb06zlplmn4mr3jyzxhvs8a77scmfzb";
};
nativeBuildInputs = [ autoPatchelfHook wrapQtAppsHook ];
diff --git a/nixpkgs/pkgs/applications/misc/mediainfo-gui/default.nix b/nixpkgs/pkgs/applications/misc/mediainfo-gui/default.nix
index 79dcf105361..96833bb25d3 100644
--- a/nixpkgs/pkgs/applications/misc/mediainfo-gui/default.nix
+++ b/nixpkgs/pkgs/applications/misc/mediainfo-gui/default.nix
@@ -1,16 +1,16 @@
-{ stdenv, fetchurl, autoreconfHook, pkgconfig, libzen, libmediainfo, wxGTK
+{ stdenv, fetchurl, autoreconfHook, pkgconfig, libzen, libmediainfo, wxGTK30-gtk3
, desktop-file-utils, libSM, imagemagick }:
stdenv.mkDerivation rec {
- version = "20.03";
+ version = "20.08";
pname = "mediainfo-gui";
src = fetchurl {
url = "https://mediaarea.net/download/source/mediainfo/${version}/mediainfo_${version}.tar.xz";
- sha256 = "1f1shnycf0f1fwka9k9s250l228xjkg0k4k73h8bpld8msighgnw";
+ sha256 = "1baf2dj5s3g1x4ssqli1b2r1203syk42m09zhp36qcinmfixv11l";
};
nativeBuildInputs = [ autoreconfHook pkgconfig ];
- buildInputs = [ libzen libmediainfo wxGTK desktop-file-utils libSM
+ buildInputs = [ libzen libmediainfo wxGTK30-gtk3 desktop-file-utils libSM
imagemagick ];
sourceRoot = "./MediaInfo/Project/GNU/GUI/";
diff --git a/nixpkgs/pkgs/applications/misc/mediainfo/default.nix b/nixpkgs/pkgs/applications/misc/mediainfo/default.nix
index 1ed1ef4afb5..09f20a9ba5d 100644
--- a/nixpkgs/pkgs/applications/misc/mediainfo/default.nix
+++ b/nixpkgs/pkgs/applications/misc/mediainfo/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, autoreconfHook, pkgconfig, libzen, libmediainfo, zlib }:
stdenv.mkDerivation rec {
- version = "20.03";
+ version = "20.08";
pname = "mediainfo";
src = fetchurl {
url = "https://mediaarea.net/download/source/mediainfo/${version}/mediainfo_${version}.tar.xz";
- sha256 = "1f1shnycf0f1fwka9k9s250l228xjkg0k4k73h8bpld8msighgnw";
+ sha256 = "1baf2dj5s3g1x4ssqli1b2r1203syk42m09zhp36qcinmfixv11l";
};
nativeBuildInputs = [ autoreconfHook pkgconfig ];
diff --git a/nixpkgs/pkgs/applications/misc/megacmd/default.nix b/nixpkgs/pkgs/applications/misc/megacmd/default.nix
index 07d194dbff4..899b069f054 100644
--- a/nixpkgs/pkgs/applications/misc/megacmd/default.nix
+++ b/nixpkgs/pkgs/applications/misc/megacmd/default.nix
@@ -5,7 +5,7 @@
, cryptopp
, curl
, fetchFromGitHub
-, ffmpeg
+, ffmpeg_3
, freeimage
, gcc-unwrapped
, libmediainfo
@@ -43,7 +43,7 @@ stdenv.mkDerivation rec {
c-ares
cryptopp
curl
- ffmpeg
+ ffmpeg_3
freeimage
gcc-unwrapped
libmediainfo
diff --git a/nixpkgs/pkgs/applications/misc/megasync/default.nix b/nixpkgs/pkgs/applications/misc/megasync/default.nix
index 3a26def26c9..d5da4c7d773 100644
--- a/nixpkgs/pkgs/applications/misc/megasync/default.nix
+++ b/nixpkgs/pkgs/applications/misc/megasync/default.nix
@@ -1,17 +1,17 @@
{ stdenv, autoconf, automake, c-ares, cryptopp, curl, doxygen, fetchFromGitHub
-, fetchpatch, ffmpeg, libmediainfo, libraw, libsodium, libtool, libuv, libzen
+, fetchpatch, ffmpeg_3, libmediainfo, libraw, libsodium, libtool, libuv, libzen
, lsb-release, mkDerivation, pkgconfig, qtbase, qttools, sqlite, swig, unzip
, wget }:
mkDerivation rec {
pname = "megasync";
- version = "4.3.0.8";
+ version = "4.3.1.0";
src = fetchFromGitHub {
owner = "meganz";
repo = "MEGAsync";
rev = "v${version}_Linux";
- sha256 = "1rhxkc6j3039rcsi8cxy3n00g6w7acir82ymnksbpsnp4yxqv5r3";
+ sha256 = "0b68wpif8a0wf1vfn1nr19dmz8f31dprb27jpldxrxhyfslc43yj";
fetchSubmodules = true;
};
@@ -21,7 +21,7 @@ mkDerivation rec {
c-ares
cryptopp
curl
- ffmpeg
+ ffmpeg_3
libmediainfo
libraw
libsodium
diff --git a/nixpkgs/pkgs/applications/misc/menumaker/default.nix b/nixpkgs/pkgs/applications/misc/menumaker/default.nix
index 22cf63e536c..f76d6cb6b8a 100644
--- a/nixpkgs/pkgs/applications/misc/menumaker/default.nix
+++ b/nixpkgs/pkgs/applications/misc/menumaker/default.nix
@@ -2,11 +2,11 @@
pythonPackages.buildPythonApplication rec {
pname = "menumaker";
- version = "0.99.11";
+ version = "0.99.12";
src = fetchurl {
url = "mirror://sourceforge/menumaker/${pname}-${version}.tar.gz";
- sha256 = "0dprndnhwm7b803zkp4pisiq06ic9iv8vr42in5is47jmvdim0wx";
+ sha256 = "034v5204bsgkzzk6zfa5ia63q95gln47f7hwf96yvad5hrhmd8z3";
};
format = "other";
diff --git a/nixpkgs/pkgs/applications/misc/minder/default.nix b/nixpkgs/pkgs/applications/misc/minder/default.nix
index 28157d61537..14b9ebfe4c7 100644
--- a/nixpkgs/pkgs/applications/misc/minder/default.nix
+++ b/nixpkgs/pkgs/applications/misc/minder/default.nix
@@ -8,13 +8,13 @@
stdenv.mkDerivation rec {
pname = "minder";
- version = "1.8.0";
+ version = "1.9.2";
src = fetchFromGitHub {
owner = "phase1geo";
repo = pname;
rev = version;
- sha256 = "13klasvrndwsmpcxkgy7kvsl2jqmp2cl52vb4i0hk18lr004scgy";
+ sha256 = "0lhwwx515f0ycpinkhgbjnik7dj2c7fckikbgzwkzzs25xqp9ayj";
};
nativeBuildInputs = [ pkgconfig meson ninja python3 wrapGAppsHook vala shared-mime-info ];
diff --git a/nixpkgs/pkgs/applications/misc/mlterm/default.nix b/nixpkgs/pkgs/applications/misc/mlterm/default.nix
index f58fb13e61f..7c7906fc841 100644
--- a/nixpkgs/pkgs/applications/misc/mlterm/default.nix
+++ b/nixpkgs/pkgs/applications/misc/mlterm/default.nix
@@ -3,6 +3,8 @@
, harfbuzz #substituting glyphs with opentype fonts
, fribidi, m17n_lib #bidi and encoding
, openssl, libssh2 #build-in ssh
+, fcitx, ibus, uim #IME
+, wrapGAppsHook #color picker in mlconfig
}:
stdenv.mkDerivation rec {
@@ -14,10 +16,11 @@ stdenv.mkDerivation rec {
sha256 = "17h6j4nmbyvsx2shm8mqm7smzq9i7mbqxjw19c2m0rhf5yzqhr3k";
};
- nativeBuildInputs = [ pkgconfig autoconf ];
+ nativeBuildInputs = [ pkgconfig autoconf wrapGAppsHook ];
buildInputs = [
libX11 gdk-pixbuf.dev cairo libXft gtk3 vte
harfbuzz fribidi m17n_lib openssl libssh2
+ fcitx ibus uim
];
#bad configure.ac and Makefile.in everywhere
diff --git a/nixpkgs/pkgs/applications/misc/moolticute/default.nix b/nixpkgs/pkgs/applications/misc/moolticute/default.nix
index 6a152176415..c815a74e019 100644
--- a/nixpkgs/pkgs/applications/misc/moolticute/default.nix
+++ b/nixpkgs/pkgs/applications/misc/moolticute/default.nix
@@ -9,13 +9,13 @@
mkDerivation rec {
pname = "moolticute";
- version = "0.43.16";
+ version = "0.44.0";
src = fetchFromGitHub {
owner = "mooltipass";
repo = pname;
rev = "v${version}";
- sha256 = "1gx1hbxiilggwfw0jspyk2cw92r6qs9a8yqa8x1d2ndf493mjx9y";
+ sha256 = "1xlbhx6f1ysx8gka8g67271whzhkzsnkavpq3x58hdxr8v88khby";
};
outputs = [ "out" "udev" ];
diff --git a/nixpkgs/pkgs/applications/misc/moonlight-embedded/default.nix b/nixpkgs/pkgs/applications/misc/moonlight-embedded/default.nix
index 328e106694b..2ae3f1894d5 100644
--- a/nixpkgs/pkgs/applications/misc/moonlight-embedded/default.nix
+++ b/nixpkgs/pkgs/applications/misc/moonlight-embedded/default.nix
@@ -1,6 +1,6 @@
{ stdenv, fetchFromGitHub, cmake, perl
, alsaLib, libevdev, libopus, udev, SDL2
-, ffmpeg, pkgconfig, xorg, libvdpau, libpulseaudio, libcec
+, ffmpeg_3, pkgconfig, xorg, libvdpau, libpulseaudio, libcec
, curl, expat, avahi, enet, libuuid, libva
}:
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake perl ];
buildInputs = [
alsaLib libevdev libopus udev SDL2
- ffmpeg pkgconfig xorg.libxcb libvdpau libpulseaudio libcec
+ ffmpeg_3 pkgconfig xorg.libxcb libvdpau libpulseaudio libcec
xorg.libpthreadstubs curl expat avahi enet libuuid libva
];
diff --git a/nixpkgs/pkgs/applications/misc/mop/default.nix b/nixpkgs/pkgs/applications/misc/mop/default.nix
index 81c23658965..be817608924 100644
--- a/nixpkgs/pkgs/applications/misc/mop/default.nix
+++ b/nixpkgs/pkgs/applications/misc/mop/default.nix
@@ -26,6 +26,5 @@ buildGoPackage rec {
description = "Simple stock tracker implemented in go";
homepage = "https://github.com/mop-tracker/mop";
license = licenses.mit;
- platforms = platforms.all;
};
}
diff --git a/nixpkgs/pkgs/applications/misc/mrxvt/default.nix b/nixpkgs/pkgs/applications/misc/mrxvt/default.nix
index 6717fc3c97f..4dc70133ec4 100644
--- a/nixpkgs/pkgs/applications/misc/mrxvt/default.nix
+++ b/nixpkgs/pkgs/applications/misc/mrxvt/default.nix
@@ -27,14 +27,14 @@ stdenv.mkDerivation {
sha256 = "1mqhmnlz32lvld9rc6c1hyz7gjw4anwf39yhbsjkikcgj1das0zl";
};
- meta = {
+ meta = with stdenv.lib; {
description = "Lightweight multitabbed feature-rich X11 terminal emulator";
longDescription = "
- Multitabbed lightweight terminal emulator based on rxvt.
+ Multitabbed lightweight terminal emulator based on rxvt.
Supports transparency, backgroundimages, freetype fonts, ...
";
homepage = "https://sourceforge.net/projects/materm";
- license = "GPL";
- platforms = stdenv.lib.platforms.linux;
+ license = licenses.gpl2;
+ platforms = platforms.linux;
};
}
diff --git a/nixpkgs/pkgs/applications/misc/mupdf/default.nix b/nixpkgs/pkgs/applications/misc/mupdf/default.nix
index 34ada062c71..61eb32bbd5c 100644
--- a/nixpkgs/pkgs/applications/misc/mupdf/default.nix
+++ b/nixpkgs/pkgs/applications/misc/mupdf/default.nix
@@ -13,12 +13,12 @@ let
in stdenv.mkDerivation rec {
- version = "1.16.1";
+ version = "1.17.0";
pname = "mupdf";
src = fetchurl {
url = "https://mupdf.com/downloads/archive/${pname}-${version}-source.tar.gz";
- sha256 = "0iz4ickj52fxjp8crg573kjrl4viq279g589isdpgpckslysf7g7";
+ sha256 = "13nl9nrcx2awz9l83mlv2psi1lmn3hdnfwxvwgwiwbxlkjl3zqq0";
};
patches =
diff --git a/nixpkgs/pkgs/applications/misc/mysql-workbench/default.nix b/nixpkgs/pkgs/applications/misc/mysql-workbench/default.nix
index 07ca64518e5..63d7077d32e 100644
--- a/nixpkgs/pkgs/applications/misc/mysql-workbench/default.nix
+++ b/nixpkgs/pkgs/applications/misc/mysql-workbench/default.nix
@@ -45,11 +45,11 @@ let
inherit (python2.pkgs) paramiko pycairo pyodbc;
in stdenv.mkDerivation rec {
pname = "mysql-workbench";
- version = "8.0.20";
+ version = "8.0.21";
src = fetchurl {
url = "http://dev.mysql.com/get/Downloads/MySQLGUITools/mysql-workbench-community-${version}-src.tar.gz";
- sha256 = "0c0ig2fqfpli7fwb4v4iwvfh4szzj3grx8j9rbh40kllkc8v5qh6";
+ sha256 = "0rqgr1dcbf6yp60hninbw5dnwykx5ngbyhhx0sbhgv0m0cq5a44h";
};
patches = [
@@ -142,7 +142,7 @@ in stdenv.mkDerivation rec {
"-DMySQL_CONFIG_PATH=${mysql}/bin/mysql_config"
"-DIODBC_CONFIG_PATH=${libiodbc}/bin/iodbc-config"
"-DWITH_ANTLR_JAR=${antlr4_7.jarLocation}"
- # mysql-workbench 8.0.20 depends on libmysqlconnectorcpp 1.1.8.
+ # mysql-workbench 8.0.21 depends on libmysqlconnectorcpp 1.1.8.
# Newer versions of connector still provide the legacy library when enabled
# but the headers are in a different location.
"-DMySQLCppConn_INCLUDE_DIR=${libmysqlconnectorcpp}/include/jdbc"
diff --git a/nixpkgs/pkgs/applications/misc/navi/default.nix b/nixpkgs/pkgs/applications/misc/navi/default.nix
new file mode 100644
index 00000000000..62951f3fcab
--- /dev/null
+++ b/nixpkgs/pkgs/applications/misc/navi/default.nix
@@ -0,0 +1,29 @@
+{ fetchFromGitHub, fzf, lib, makeWrapper, rustPlatform, wget }:
+
+rustPlatform.buildRustPackage rec {
+ pname = "navi";
+ version = "2.10.0";
+
+ src = fetchFromGitHub {
+ owner = "denisidoro";
+ repo = "navi";
+ rev = "v${version}";
+ sha256 = "1fpfc3ikb6rhb8m0dp9ybh46mnqaw361rrsbv6yrivwfm3zc4w2w";
+ };
+
+ cargoSha256 = "0klizxrb92h7qfxs89m08ksdq698wx4kxsdhqhr5ld9dy3b6ks32";
+
+ nativeBuildInputs = [ makeWrapper ];
+
+ postInstall = ''
+ wrapProgram $out/bin/navi --prefix PATH : ${lib.makeBinPath [ fzf wget ]}
+ '';
+
+ meta = with lib; {
+ description = "An interactive cheatsheet tool for the command-line and application launchers";
+ homepage = "https://github.com/denisidoro/navi";
+ license = licenses.asl20;
+ platforms = platforms.unix;
+ maintainers = with maintainers; [ cust0dian ];
+ };
+}
diff --git a/nixpkgs/pkgs/applications/misc/netsurf/libnsbmp/default.nix b/nixpkgs/pkgs/applications/misc/netsurf/libnsbmp/default.nix
index a553eb3e715..8a7e8b60741 100644
--- a/nixpkgs/pkgs/applications/misc/netsurf/libnsbmp/default.nix
+++ b/nixpkgs/pkgs/applications/misc/netsurf/libnsbmp/default.nix
@@ -6,11 +6,11 @@ stdenv.mkDerivation rec {
name = "netsurf-${libname}-${version}";
libname = "libnsbmp";
- version = "0.1.5";
+ version = "0.1.6";
src = fetchurl {
url = "http://download.netsurf-browser.org/libs/releases/${libname}-${version}-src.tar.gz";
- sha256 = "0lib2m07d1i0k80m4blkwnj0g7rha4jbm5vrgd0wwbkyfa0hvk35";
+ sha256 = "0krjg69a2amxjsahdgm3wmy9ngnyr3gfs2a1zhdlbvb0z1jr7i3r";
};
nativeBuildInputs = [ pkgconfig ];
diff --git a/nixpkgs/pkgs/applications/misc/nimmm/default.nix b/nixpkgs/pkgs/applications/misc/nimmm/default.nix
new file mode 100644
index 00000000000..383057ca655
--- /dev/null
+++ b/nixpkgs/pkgs/applications/misc/nimmm/default.nix
@@ -0,0 +1,55 @@
+{ stdenv, fetchFromGitHub, nim, termbox, pcre }:
+
+let
+ noise = fetchFromGitHub {
+ owner = "jangko";
+ repo = "nim-noise";
+ rev = "db1e86e312413e4348fa82c02340784316a89cc1";
+ sha256 = "0n9l2dww5smrsl1xfqxjnxz3f1srb72lc1wl3pdvs6xfyf44qzlh";
+ };
+
+ nimbox = fetchFromGitHub {
+ owner = "dom96";
+ repo = "nimbox";
+ rev = "6a56e76c01481176f16ae29b7d7c526bd83f229b";
+ sha256 = "15x1sdfxa1xcqnr68705jfnlv83lm0xnp2z9iz3pgc4bz5vwn4x1";
+ };
+
+ lscolors = fetchFromGitHub {
+ owner = "joachimschmidt557";
+ repo = "nim-lscolors";
+ rev = "v0.3.3";
+ sha256 = "0526hqh46lcfsvymb67ldsc8xbfn24vicn3b8wrqnh6mag8wynf4";
+ };
+
+in stdenv.mkDerivation rec {
+ pname = "nimmm";
+ version = "0.1.2";
+
+ src = fetchFromGitHub {
+ owner = "joachimschmidt557";
+ repo = "nimmm";
+ rev = "v${version}";
+ sha256 = "1zpq181iz6g7yfi298gjwv33b89l4fpnkjprimykah7py5cpw67w";
+ };
+
+ nativeBuildInputs = [ nim ];
+ buildInputs = [ termbox pcre ];
+
+ buildPhase = ''
+ export HOME=$TMPDIR;
+ nim -p:${noise} -p:${nimbox} -p:${lscolors}/src c -d:release src/nimmm.nim
+ '';
+
+ installPhase = ''
+ install -Dt $out/bin src/nimmm
+ '';
+
+ meta = with stdenv.lib; {
+ description = "Terminal file manager written in nim";
+ homepage = "https://github.com/joachimschmidt557/nimmm";
+ license = licenses.gpl3;
+ platforms = platforms.unix;
+ maintainers = [ maintainers.joachimschmidt557 ];
+ };
+}
diff --git a/nixpkgs/pkgs/applications/misc/nnn/default.nix b/nixpkgs/pkgs/applications/misc/nnn/default.nix
index 95920362a5f..9ec5018c4e3 100644
--- a/nixpkgs/pkgs/applications/misc/nnn/default.nix
+++ b/nixpkgs/pkgs/applications/misc/nnn/default.nix
@@ -4,13 +4,13 @@ with stdenv.lib;
stdenv.mkDerivation rec {
pname = "nnn";
- version = "3.2";
+ version = "3.4";
src = fetchFromGitHub {
owner = "jarun";
repo = pname;
rev = "v${version}";
- sha256 = "13p3379c26l57121ymx0kw7afh51zv614p57di311d2a41jaz5cw";
+ sha256 = "0lyrpyhzzs2bdgx3ifq1c5dq3s2v30xdiaq0j8zjc64s6bghfxnd";
};
configFile = optionalString (conf != null) (builtins.toFile "nnn.h" conf);
diff --git a/nixpkgs/pkgs/applications/misc/notejot/default.nix b/nixpkgs/pkgs/applications/misc/notejot/default.nix
index 3498ef27867..d5d6aea4946 100644
--- a/nixpkgs/pkgs/applications/misc/notejot/default.nix
+++ b/nixpkgs/pkgs/applications/misc/notejot/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchFromGitHub, vala, pkgconfig, meson, ninja, python3, pantheon
+{ stdenv, fetchFromGitHub, nix-update-script, vala, pkgconfig, meson, ninja, python3, pantheon
, gtk3, gtksourceview, json-glib, libgee, wrapGAppsHook }:
stdenv.mkDerivation rec {
@@ -35,7 +35,7 @@ stdenv.mkDerivation rec {
'';
passthru = {
- updateScript = pantheon.updateScript {
+ updateScript = nix-update-script {
attrPath = pname;
};
};
diff --git a/nixpkgs/pkgs/applications/misc/nwg-launchers/default.nix b/nixpkgs/pkgs/applications/misc/nwg-launchers/default.nix
new file mode 100644
index 00000000000..fc8cf3ee02e
--- /dev/null
+++ b/nixpkgs/pkgs/applications/misc/nwg-launchers/default.nix
@@ -0,0 +1,49 @@
+{ stdenv
+, fetchFromGitHub
+, cmake
+, gtkmm3
+, meson
+, ninja
+, nlohmann_json
+, pkgconfig
+, swaylock
+, makeWrapper
+}:
+
+stdenv.mkDerivation rec {
+ pname = "nwg-launchers";
+ version = "0.3.3";
+
+ src = fetchFromGitHub {
+ owner = "nwg-piotr";
+ repo = pname;
+ rev = "v${version}";
+ sha256 = "1p1bwsn7l4vp7y183735pgsfbh7dssdfn0wjzacl4s87arjdcgvb";
+ };
+
+ nativeBuildInputs = [
+ meson
+ ninja
+ pkgconfig
+ cmake
+ makeWrapper
+ ];
+
+ buildInputs = [
+ gtkmm3
+ nlohmann_json
+ ];
+
+ postInstall = ''
+ wrapProgram $out/bin/nwgbar \
+ --prefix PATH : "${swaylock}/bin"
+ '';
+
+ meta = with stdenv.lib; {
+ description = "GTK-based launchers: application grid, button bar, dmenu for sway and other window managers";
+ homepage = "https://github.com/nwg-piotr/nwg-launchers";
+ license = licenses.gpl3;
+ platforms = platforms.linux;
+ maintainers = with maintainers; [ bbigras ];
+ };
+}
diff --git a/nixpkgs/pkgs/applications/misc/obinskit/default.nix b/nixpkgs/pkgs/applications/misc/obinskit/default.nix
index aa11c069a7a..dc03b9b4f93 100644
--- a/nixpkgs/pkgs/applications/misc/obinskit/default.nix
+++ b/nixpkgs/pkgs/applications/misc/obinskit/default.nix
@@ -1,33 +1,25 @@
-{ lib
-, stdenv
+{ stdenv
+, lib
, fetchurl
-, xorg
, libxkbcommon
, systemd
-, gcc-unwrapped
+, xorg
, electron_3
-, wrapGAppsHook
+, makeWrapper
, makeDesktopItem
}:
-
let
- libPath = lib.makeLibraryPath [
- libxkbcommon
- xorg.libXt
- systemd.lib
- stdenv.cc.cc.lib
- ];
-
desktopItem = makeDesktopItem rec {
name = "Obinskit";
exec = "obinskit";
- icon = "obinskit.png";
+ icon = "obinskit";
desktopName = "Obinskit";
genericName = "Obinskit keyboard configurator";
categories = "Utility";
};
-
-in stdenv.mkDerivation rec {
+ electron = electron_3;
+in
+stdenv.mkDerivation rec {
pname = "obinskit";
version = "1.1.4";
@@ -40,44 +32,33 @@ in stdenv.mkDerivation rec {
sourceRoot = "ObinsKit_${version}_x64";
- nativeBuildInputs = [ wrapGAppsHook ];
+ nativeBuildInputs = [ makeWrapper ];
dontConfigure = true;
dontBuild = true;
installPhase = ''
mkdir -p $out/opt/obinskit
- install icudtl.dat $out/opt/obinskit/
- install natives_blob.bin $out/opt/obinskit/
- install v8_context_snapshot.bin $out/opt/obinskit/
- install blink_image_resources_200_percent.pak $out/opt/obinskit/
- install content_resources_200_percent.pak $out/opt/obinskit/
- install content_shell.pak $out/opt/obinskit/
- install ui_resources_200_percent.pak $out/opt/obinskit/
- install views_resources_200_percent.pak $out/opt/obinskit/
+
cp -r resources $out/opt/obinskit/
cp -r locales $out/opt/obinskit/
- mkdir -p $out/bin
- ln -s ${electron_3}/bin/electron $out/bin/obinskit
-
mkdir -p $out/share/{applications,pixmaps}
install resources/icons/tray-darwin@2x.png $out/share/pixmaps/obinskit.png
ln -s ${desktopItem}/share/applications/* $out/share/applications
'';
- preFixup = ''
- gappsWrapperArgs+=(
- --add-flags $out/opt/obinskit/resources/app.asar
- --prefix LD_LIBRARY_PATH : "${libPath}"
- )
+ postFixup = ''
+ makeWrapper ${electron}/bin/electron $out/bin/${pname} \
+ --add-flags $out/opt/obinskit/resources/app.asar \
+ --prefix LD_LIBRARY_PATH : "${stdenv.lib.makeLibraryPath [ stdenv.cc.cc.lib libxkbcommon (lib.getLib systemd) xorg.libXt ]}"
'';
- meta = with lib; {
+ meta = with stdenv.lib; {
description = "Graphical configurator for Anne Pro and Anne Pro II keyboards";
- homepage = "http://en.obins.net/obinskit/";
+ homepage = "http://en.obins.net/obinskit/"; # https is broken
license = licenses.unfree;
- maintainers = [ maintainers.shou ];
+ maintainers = with maintainers; [ shou ];
platforms = [ "x86_64-linux" ];
};
}
diff --git a/nixpkgs/pkgs/applications/misc/obsidian/default.nix b/nixpkgs/pkgs/applications/misc/obsidian/default.nix
new file mode 100644
index 00000000000..44bd043d348
--- /dev/null
+++ b/nixpkgs/pkgs/applications/misc/obsidian/default.nix
@@ -0,0 +1,74 @@
+{ stdenv, fetchurl, lib, makeWrapper, electron, makeDesktopItem, graphicsmagick
+, writeScript }:
+
+let
+ icon = fetchurl {
+ url =
+ "https://forum.obsidian.md/uploads/default/original/1X/bf119bd48f748f4fd2d65f2d1bb05d3c806883b5.png";
+ sha256 = "18ylnbvxr6k4x44c4i1d55wxy2dq4fdppp43a4wl6h6zar0sc9s2";
+ };
+
+ desktopItem = makeDesktopItem {
+ name = "obsidian";
+ desktopName = "Obsidian";
+ comment = "Knowledge base";
+ icon = "obsidian";
+ exec = "obsidian";
+ categories = "Office";
+ };
+
+ updateScript = writeScript "obsidian-updater" ''
+ #!/usr/bin/env nix-shell
+ #!nix-shell -i bash -p curl jq common-updater-scripts
+
+ set -eu -o pipefail
+
+ latestVersion="$(curl -sS https://raw.githubusercontent.com/obsidianmd/obsidian-releases/master/desktop-releases.json | jq -r '.latestVersion')"
+
+ update-source-version obsidian "$latestVersion"
+ '';
+
+in stdenv.mkDerivation rec {
+ pname = "obsidian";
+ version = "0.8.12";
+
+ src = fetchurl {
+ url =
+ "https://github.com/obsidianmd/obsidian-releases/releases/download/v${version}/obsidian-${version}.asar.gz";
+ sha256 = "1rvdxdxrfhw0ldslbnmx26znlvznb1iqpk95c0rh12hlzh4nlgxm";
+ };
+
+ nativeBuildInputs = [ makeWrapper graphicsmagick ];
+
+ unpackPhase = ''
+ gzip -dc $src > obsidian.asar
+ '';
+
+ installPhase = ''
+ mkdir -p $out/bin
+
+ makeWrapper ${electron}/bin/electron $out/bin/obsidian \
+ --add-flags $out/share/electron/obsidian.asar
+
+ install -m 444 -D obsidian.asar $out/share/electron/obsidian.asar
+
+ install -m 444 -D "${desktopItem}/share/applications/"* \
+ -t $out/share/applications/
+
+ for size in 16 24 32 48 64 128 256 512; do
+ mkdir -p $out/share/icons/hicolor/"$size"x"$size"/apps
+ gm convert -resize "$size"x"$size" ${icon} $out/share/icons/hicolor/"$size"x"$size"/apps/obsidian.png
+ done
+ '';
+
+ passthru.updateScript = updateScript;
+
+ meta = with lib; {
+ description =
+ "Obsidian is a powerful knowledge base that works on top of a local folder of plain text Markdown files";
+ homepage = "https://obsidian.md";
+ license = licenses.obsidian;
+ maintainers = with maintainers; [ conradmearns zaninime ];
+ platforms = [ "x86_64-linux" ];
+ };
+}
diff --git a/nixpkgs/pkgs/applications/misc/octoprint/default.nix b/nixpkgs/pkgs/applications/misc/octoprint/default.nix
index 3c192c124cb..82cdf18b484 100644
--- a/nixpkgs/pkgs/applications/misc/octoprint/default.nix
+++ b/nixpkgs/pkgs/applications/misc/octoprint/default.nix
@@ -1,107 +1,172 @@
-{ pkgs, stdenv, lib, fetchFromGitHub, python3
-# To include additional plugins, pass them here as an overlay.
+{ pkgs
+, stdenv
+, lib
+, fetchFromGitHub
+, python3
+ # To include additional plugins, pass them here as an overlay.
, packageOverrides ? self: super: {}
}:
let
mkOverride = attrname: version: sha256:
- self: super: {
- ${attrname} = super.${attrname}.overridePythonAttrs (oldAttrs: {
+ self: super: {
+ ${attrname} = super.${attrname}.overridePythonAttrs (
+ oldAttrs: {
inherit version;
src = oldAttrs.src.override {
inherit version sha256;
};
- });
- };
+ }
+ );
+ };
py = python3.override {
self = py;
- packageOverrides = lib.foldr lib.composeExtensions (self: super: { }) ([
- (mkOverride "flask" "0.12.5" "fac2b9d443e49f7e7358a444a3db5950bdd0324674d92ba67f8f1f15f876b14f")
- (mkOverride "flaskbabel" "0.12.2" "11jwp8vvq1gnm31qh6ihy2h393hy18yn9yjp569g60r0wj1x2sii")
- (mkOverride "tornado" "4.5.3" "02jzd23l4r6fswmwxaica9ldlyc2p6q8dk6dyff7j58fmdzf853d")
- (mkOverride "psutil" "5.6.7" "ffad8eb2ac614518bbe3c0b8eb9dffdb3a8d2e3a7d5da51c5b974fb723a5c5aa")
+ packageOverrides = lib.foldr lib.composeExtensions (self: super: {}) (
+ [
+ # the following dependencies are non trivial to update since later versions introduce backwards incompatible
+ # changes that might affect plugins, or due to other observed problems
+ (mkOverride "markupsafe" "1.1.1" "29872e92839765e546828bb7754a68c418d927cd064fd4708fab9fe9c8bb116b")
+ (mkOverride "rsa" "4.0" "1a836406405730121ae9823e19c6e806c62bbad73f890574fff50efa4122c487")
+ (mkOverride "markdown" "3.1.1" "2e50876bcdd74517e7b71f3e7a76102050edec255b3983403f1a63e7c8a41e7a")
+ (mkOverride "tornado" "5.1.1" "4e5158d97583502a7e2739951553cbd88a72076f152b4b11b64b9a10c4c49409")
+ (mkOverride "unidecode" "0.04.21" "280a6ab88e1f2eb5af79edff450021a0d3f0448952847cd79677e55e58bad051")
+ (mkOverride "sarge" "0.1.5.post0" "1c1ll7pys9vra5cfi8jxlgrgaql6c27l6inpy15aprgqhc4ck36s")
- # Octoprint holds back jinja2 to 2.8.1 due to breaking changes.
- # This old version does not have updated test config for pytest 4,
- # and pypi tarball doesn't contain tests dir anyways.
- (self: super: {
- jinja2 = super.jinja2.overridePythonAttrs (oldAttrs: rec {
- version = "2.8.1";
- src = oldAttrs.src.override {
- inherit version;
- sha256 = "14aqmhkc9rw5w0v311jhixdm6ym8vsm29dhyxyrjfqxljwx1yd1m";
- };
- doCheck = false;
- });
+ # Built-in dependency
+ (
+ self: super: {
+ octoprint-filecheck = self.buildPythonPackage rec {
+ pname = "OctoPrint-FileCheck";
+ version = "2020.08.07";
- httpretty = super.httpretty.overridePythonAttrs (oldAttrs: rec {
- doCheck = false;
- });
+ src = fetchFromGitHub {
+ owner = "OctoPrint";
+ repo = "OctoPrint-FileCheck";
+ rev = version;
+ sha256 = "05ys05l5x7d2bkg3yqrga6m65v3g5fcnnzbfab7j9w2pzjdapx5b";
+ };
+ doCheck = false;
+ };
+ }
+ )
- celery = super.celery.overridePythonAttrs (oldAttrs: rec {
- doCheck = false;
- });
- })
- (self: super: {
- octoprint = self.buildPythonPackage rec {
- pname = "OctoPrint";
- version = "1.4.0";
+ # Built-in dependency
+ (
+ self: super: {
+ octoprint-firmwarecheck = self.buildPythonPackage rec {
+ pname = "OctoPrint-FirmwareCheck";
+ version = "2020.06.22";
- src = fetchFromGitHub {
- owner = "foosel";
- repo = "OctoPrint";
- rev = version;
- sha256 = "0387228544v28d69dcdg2zr5gp6qavkfr6dydpjgj5awxv3w25d5";
- };
+ src = fetchFromGitHub {
+ owner = "OctoPrint";
+ repo = "OctoPrint-FirmwareCheck";
+ rev = version;
+ sha256 = "19y7hrgg9z8hl7cwqkvg8nc8bk0wwrsfvjd1wawy33wn60psqv1h";
+ };
+ doCheck = false;
+ };
+ }
+ )
- propagatedBuildInputs = with super; [
- awesome-slugify flask flask_assets rsa requests pkginfo watchdog
- semantic-version werkzeug flaskbabel tornado
- psutil pyserial flask_login netaddr markdown
- pylru pyyaml sarge feedparser netifaces click websocket_client
- scandir chainmap future wrapt monotonic emoji jinja2
- frozendict cachelib sentry-sdk filetype markupsafe
- ] ++ lib.optionals stdenv.isDarwin [ py.pkgs.appdirs ];
+ (
+ self: super: {
+ octoprint = self.buildPythonPackage rec {
+ pname = "OctoPrint";
+ version = "1.4.2";
- checkInputs = with super; [ pytestCheckHook mock ddt ];
+ src = fetchFromGitHub {
+ owner = "OctoPrint";
+ repo = "OctoPrint";
+ rev = version;
+ sha256 = "1bblrjwkccy1ifw7lf55g3k9lq1sqzwd49vj8bfzj2w07a7qda62";
+ };
- postPatch = let
- ignoreVersionConstraints = [
- "sentry-sdk"
- ];
- in ''
- sed -r -i \
- ${lib.concatStringsSep "\n" (map (e:
- ''-e 's@${e}[<>=]+.*@${e}",@g' \''
- ) ignoreVersionConstraints)}
- setup.py
- '';
+ propagatedBuildInputs = with super; [
+ octoprint-firmwarecheck
+ octoprint-filecheck
+ markupsafe
+ tornado
+ markdown
+ rsa
+ regex
+ flask
+ jinja2
+ flask_login
+ flask-babel
+ flask_assets
+ werkzeug
+ itsdangerous
+ cachelib
+ pyyaml
+ pyserial
+ netaddr
+ watchdog
+ sarge
+ netifaces
+ pylru
+ pkginfo
+ requests
+ semantic-version
+ psutil
+ click
+ feedparser
+ future
+ websocket_client
+ wrapt
+ emoji
+ frozendict
+ sentry-sdk
+ filetype
+ unidecode
+ blinker
+ ] ++ lib.optionals stdenv.isDarwin [ py.pkgs.appdirs ];
- dontUseSetuptoolsCheck = true;
+ checkInputs = with super; [ pytestCheckHook mock ddt ];
- preCheck = ''
- export HOME=$(mktemp -d)
- rm pytest.ini
- '';
+ postPatch = let
+ ignoreVersionConstraints = [
+ "sentry-sdk"
+ ];
+ in
+ ''
+ sed -r -i \
+ ${lib.concatStringsSep "\n" (
+ map (
+ e:
+ ''-e 's@${e}[<>=]+.*@${e}",@g' \''
+ ) ignoreVersionConstraints
+ )}
+ setup.py
+ '';
- disabledTests = [
- "test_check_setup" # Why should it be able to call pip?
- ] ++ lib.optionals stdenv.isDarwin [
- "test_set_external_modification"
- ];
+ dontUseSetuptoolsCheck = true;
- passthru.python = self.python;
+ preCheck = ''
+ export HOME=$(mktemp -d)
+ rm pytest.ini
+ '';
- meta = with stdenv.lib; {
- homepage = "https://octoprint.org/";
- description = "The snappy web interface for your 3D printer";
- license = licenses.agpl3;
- maintainers = with maintainers; [ abbradar gebner WhittlesJr ];
- };
- };
- })
- (import ./plugins.nix {inherit pkgs;})
- packageOverrides
- ]);
+ disabledTests = [
+ "test_check_setup" # Why should it be able to call pip?
+ ] ++ lib.optionals stdenv.isDarwin [
+ "test_set_external_modification"
+ ];
+
+ passthru.python = self.python;
+
+ meta = with stdenv.lib; {
+ homepage = "https://octoprint.org/";
+ description = "The snappy web interface for your 3D printer";
+ license = licenses.agpl3;
+ maintainers = with maintainers; [ abbradar gebner WhittlesJr ];
+ };
+ };
+ }
+ )
+ (import ./plugins.nix { inherit pkgs; })
+ packageOverrides
+ ]
+ );
};
-in with py.pkgs; toPythonApplication octoprint
+in
+ with py.pkgs; toPythonApplication octoprint
diff --git a/nixpkgs/pkgs/applications/misc/octoprint/plugins.nix b/nixpkgs/pkgs/applications/misc/octoprint/plugins.nix
index b5d52f5e5f8..ddf68b6f7c3 100644
--- a/nixpkgs/pkgs/applications/misc/octoprint/plugins.nix
+++ b/nixpkgs/pkgs/applications/misc/octoprint/plugins.nix
@@ -252,4 +252,42 @@ in {
maintainers = with maintainers; [ WhittlesJr ];
};
};
+
+ displaylayerprogress = buildPlugin rec {
+ pname = "OctoPrint-DisplayLayerProgress";
+ version = "1.23.2";
+
+ src = fetchFromGitHub {
+ owner = "OllisGit";
+ repo = pname;
+ rev = version;
+ sha256 = "0yv8gy5dq0rl7zxkvqa98az391aiixl8wbzkyvbmpjar9r6whdzm";
+ };
+
+ meta = with stdenv.lib; {
+ description = "OctoPrint-Plugin that sends the current progress of a print via M117 command";
+ homepage = "https://github.com/OllisGit/OctoPrint-DisplayLayerProgress";
+ license = licenses.agpl3;
+ maintainers = with maintainers; [ j0hax ];
+ };
+ };
+
+ octoprint-dashboard = buildPlugin rec {
+ pname = "OctoPrint-Dashboard";
+ version = "1.13.0";
+
+ src = fetchFromGitHub {
+ owner = "StefanCohen";
+ repo = pname;
+ rev = version;
+ sha256 = "1879l05gkkryvhxkmhr3xvd10d4m7i0cr3jk1gdcv47xwyr6q9pf";
+ };
+
+ meta = with stdenv.lib; {
+ description = "A dashboard for Octoprint";
+ homepage = "https://github.com/StefanCohen/OctoPrint-Dashboard";
+ license = licenses.agpl3;
+ maintainers = with maintainers; [ j0hax ];
+ };
+ };
}
diff --git a/nixpkgs/pkgs/applications/misc/ola/default.nix b/nixpkgs/pkgs/applications/misc/ola/default.nix
index b9529981c7c..7682b56e4d6 100644
--- a/nixpkgs/pkgs/applications/misc/ola/default.nix
+++ b/nixpkgs/pkgs/applications/misc/ola/default.nix
@@ -1,31 +1,45 @@
-{ stdenv, fetchFromGitHub, autoreconfHook, bison, flex, pkgconfig
-, libuuid, cppunit, protobuf3_1, zlib, avahi, libmicrohttpd
-, perl, python36 # Replace by python3 after the next update
+{ stdenv
+, fetchFromGitHub
+, autoreconfHook
+, bison
+, flex
+, pkgconfig
+, libuuid
+, cppunit
+, protobuf
+, zlib
+, avahi
+, libmicrohttpd
+, perl
+, python3
}:
stdenv.mkDerivation rec {
pname = "ola";
- version = "0.10.7";
+ version = "unstable-2020-07-17";
src = fetchFromGitHub {
owner = "OpenLightingProject";
repo = "ola";
- rev = version;
- sha256 = "18krwrw7w1qzwih8gnmv7r4sah5ppvq7ax65r7l5yjxn3ihwp2kf";
+ rev = "e2cd699c7792570500578fd092fb6bfb3d511023"; # HEAD of "0.10" branch
+ sha256 = "17a3z3zhx00rjk58icd3zlqfw3753f3y8bwy2sza0frdim09lqr4";
};
nativeBuildInputs = [ autoreconfHook bison flex pkgconfig perl ];
- buildInputs = [ libuuid cppunit protobuf3_1 zlib avahi libmicrohttpd python36 ];
+ buildInputs = [ libuuid cppunit protobuf zlib avahi libmicrohttpd python3 ];
propagatedBuildInputs = [
- (python36.pkgs.protobuf.override { protobuf = protobuf3_1; })
- python36.pkgs.numpy
+ python3.pkgs.protobuf
+ python3.pkgs.numpy
];
configureFlags = [ "--enable-python-libs" ];
+ enableParallelBuilding = true;
+
meta = with stdenv.lib; {
description = "A framework for controlling entertainment lighting equipment.";
- maintainers = [ maintainers.globin ];
+ homepage = "https://www.openlighting.org/ola/";
+ maintainers = with maintainers; [ globin ];
license = with licenses; [ lgpl21 gpl2Plus ];
platforms = platforms.all;
};
diff --git a/nixpkgs/pkgs/applications/misc/olifant/default.nix b/nixpkgs/pkgs/applications/misc/olifant/default.nix
new file mode 100644
index 00000000000..21091b2583a
--- /dev/null
+++ b/nixpkgs/pkgs/applications/misc/olifant/default.nix
@@ -0,0 +1,69 @@
+{ stdenv
+, fetchFromGitHub
+, nix-update-script
+, fetchpatch
+, vala
+, meson
+, ninja
+, pkgconfig
+, python3
+, libgee
+, gsettings-desktop-schemas
+, gnome3
+, pantheon
+, wrapGAppsHook
+, gtk3
+, json-glib
+, glib
+, glib-networking
+}:
+
+stdenv.mkDerivation rec {
+ pname = "olifant";
+ version = "0.2.1-beta6";
+
+ src = fetchFromGitHub {
+ owner = "cleac";
+ repo = pname;
+ rev = version;
+ sha256 = "sha256-3hnEa4Q1dH0R8Jp+Ew0+dH1PEm3F+56jYwqhJ+vll4M=";
+ };
+
+ nativeBuildInputs = [
+ meson
+ ninja
+ pkgconfig
+ python3
+ vala
+ wrapGAppsHook
+ ];
+
+ buildInputs = [
+ glib
+ glib-networking
+ gnome3.libsoup
+ gsettings-desktop-schemas
+ gtk3
+ json-glib
+ libgee
+ pantheon.granite
+ ];
+
+ postPatch = ''
+ chmod +x meson/post_install.py
+ patchShebangs meson/post_install.py
+ '';
+
+ passthru = {
+ updateScript = nix-update-script {
+ attrPath = pname;
+ };
+ };
+
+ meta = with stdenv.lib; {
+ description = "A simple Mastodon client designed for elementary OS, originally developed by @bleakgrey";
+ homepage = "https://github.com/cleac/olifant";
+ license = licenses.gpl3;
+ maintainers = with maintainers; [ worldofpeace ];
+ };
+}
diff --git a/nixpkgs/pkgs/applications/misc/openambit/default.nix b/nixpkgs/pkgs/applications/misc/openambit/default.nix
new file mode 100644
index 00000000000..5ef6d4ae84d
--- /dev/null
+++ b/nixpkgs/pkgs/applications/misc/openambit/default.nix
@@ -0,0 +1,48 @@
+{ cmake
+, fetchFromGitHub
+, lib
+, libusb1
+, mkDerivation
+, python3
+, qtbase
+, qttools
+, udev
+, zlib
+}:
+
+mkDerivation rec {
+ pname = "openambit";
+ version = "0.5";
+
+ src = fetchFromGitHub {
+ owner = "openambitproject";
+ repo = pname;
+ rev = version;
+ sha256 = "1074kvkamwnlkwdajsw1799wddcfkjh2ay6l842r0s4cvrxrai85";
+ };
+
+ nativeBuildInputs = [ cmake qttools ];
+ buildInputs = [ libusb1 python3 qtbase udev zlib ];
+
+ cmakeFlags = [ "-DCMAKE_INSTALL_UDEVRULESDIR=${placeholder "out"}/lib/udev/rules.d" ];
+
+ doInstallCheck = true;
+ installCheckPhase = ''
+ $out/bin/openambit --version
+ '';
+
+ postInstall = ''
+ install -m755 -D $src/tools/openambit2gpx.py $out/bin/openambit2gpx
+
+ mv -v $out/lib/udev/rules.d/libambit.rules \
+ $out/lib/udev/rules.d/20-libambit.rules
+ '';
+
+ meta = with lib; {
+ description = "Helps fetch data from Suunto Ambit GPS watches";
+ homepage = "https://github.com/openambitproject/openambit/";
+ license = licenses.gpl3Plus;
+ maintainers = with maintainers; [ rycee ];
+ platforms = platforms.linux;
+ };
+}
diff --git a/nixpkgs/pkgs/applications/misc/openjump/default.nix b/nixpkgs/pkgs/applications/misc/openjump/default.nix
index e537180686c..544329ec5e7 100644
--- a/nixpkgs/pkgs/applications/misc/openjump/default.nix
+++ b/nixpkgs/pkgs/applications/misc/openjump/default.nix
@@ -1,33 +1,33 @@
-{ stdenv, fetchurl, unzip, runtimeShell }:
+{ stdenv, fetchurl, unzip, makeWrapper
+, coreutils, gawk, which, gnugrep, findutils
+, jdk
+}:
stdenv.mkDerivation {
- name = "openjump-1.3.1";
+ pname = "openjump";
+ version = "1.15";
src = fetchurl {
- url = "mirror://sourceforge/jump-pilot/OpenJUMP/1.3.1/openjump-1.3.1.zip";
- sha256 = "0y4z53yx0x7rp3c8rnj028ni3gr47r35apgcpqp3jl7r2di6zgqm";
+ url = "mirror://sourceforge/jump-pilot/OpenJUMP/1.15/OpenJUMP-Portable-1.15-r6241-CORE.zip";
+ sha256 = "12snzkv83w6khcdqzp6xahqapwp82af6c7j2q8n0lj62hk79rfgl";
};
- # ln jump.log hack: a different user will probably get a permission denied
- # error. Still this is better than getting it always.
- # TODO: build from source and patch this
+ # TODO: build from source
unpackPhase = ''
mkdir -p $out/bin;
cd $out; unzip $src
- s=$out/bin/OpenJump
- dir=$(echo $out/openjump-*)
- cat >> $s << EOF
- #!${runtimeShell}
- cd $dir/bin
- exec ${stdenv.shell} openjump.sh
- EOF
- chmod +x $s
- ln -s /tmp/openjump.log $dir/bin/jump.log
'';
- installPhase = ":";
+ buildInputs = [unzip makeWrapper];
- buildInputs = [unzip];
+ installPhase = ''
+ dir=$(echo $out/OpenJUMP-*)
+
+ chmod +x $dir/bin/oj_linux.sh
+ makeWrapper $dir/bin/oj_linux.sh $out/bin/OpenJump \
+ --set JAVA_HOME ${jdk.home} \
+ --set PATH "${coreutils}/bin:${gawk}/bin:${which}/bin:${gnugrep}/bin:${findutils}/bin"
+ '';
meta = {
description = "Open source Geographic Information System (GIS) written in the Java programming language";
diff --git a/nixpkgs/pkgs/applications/misc/openrgb/default.nix b/nixpkgs/pkgs/applications/misc/openrgb/default.nix
new file mode 100644
index 00000000000..09a09811ab1
--- /dev/null
+++ b/nixpkgs/pkgs/applications/misc/openrgb/default.nix
@@ -0,0 +1,44 @@
+{ mkDerivation, lib, fetchFromGitHub, qmake, libusb1, hidapi, pkg-config, fetchpatch }:
+
+mkDerivation rec {
+ pname = "openrgb";
+ version = "0.4";
+
+ src = fetchFromGitHub {
+ owner = "CalcProgrammer1";
+ repo = "OpenRGB";
+ rev = "release_${version}";
+ sha256 = "sha256-tHrRG2Zx7NYqn+WPiRpAlWA/QmxuAYidENanTkC1XVw";
+ };
+
+ nativeBuildInputs = [ qmake pkg-config ];
+ buildInputs = [ libusb1 hidapi ];
+
+ patches = [
+ # Make build SOURCE_DATE_EPOCH aware, merged in master
+ (fetchpatch {
+ url = "https://gitlab.com/CalcProgrammer1/OpenRGB/-/commit/f1b7b8ba900db58a1119d8d3e21c1c79de5666aa.patch";
+ sha256 = "17m1hn1kjxfcmd4p3zjhmr5ar9ng0zfbllq78qxrfcq1a0xrkybx";
+ })
+ ];
+
+ installPhase = ''
+ mkdir -p $out/bin
+ cp OpenRGB $out/bin
+ '';
+
+ doInstallCheck = true;
+ installCheckPhase = ''
+ $out/bin/OpenRGB --help > /dev/null
+ '';
+
+ enableParallelBuilding = true;
+
+ meta = with lib; {
+ description = "Open source RGB lighting control";
+ homepage = "https://gitlab.com/CalcProgrammer1/OpenRGB";
+ maintainers = with maintainers; [ jonringer ];
+ license = licenses.gpl2;
+ platforms = platforms.linux;
+ };
+}
diff --git a/nixpkgs/pkgs/applications/misc/opentx/default.nix b/nixpkgs/pkgs/applications/misc/opentx/default.nix
index f20d5ccdc4a..a117ecc06a9 100644
--- a/nixpkgs/pkgs/applications/misc/opentx/default.nix
+++ b/nixpkgs/pkgs/applications/misc/opentx/default.nix
@@ -6,13 +6,13 @@
mkDerivation rec {
pname = "opentx";
- version = "2.3.7";
+ version = "2.3.9";
src = fetchFromGitHub {
owner = "opentx";
repo = "opentx";
rev = "release/${version}";
- sha256 = "1wl3bk7s8h20dfys1hblzxc0br9zlwhcqlghgsbn81ki0xb6jmkf";
+ sha256 = "0kh3jdy1pgvns8lrncf61ayaq0hmsv41j8xv4r4rf17zyvjl0qph";
};
enableParallelBuilding = true;
diff --git a/nixpkgs/pkgs/applications/misc/orca/default.nix b/nixpkgs/pkgs/applications/misc/orca/default.nix
index 0ca4f11e548..ccb7f3e47c8 100644
--- a/nixpkgs/pkgs/applications/misc/orca/default.nix
+++ b/nixpkgs/pkgs/applications/misc/orca/default.nix
@@ -35,13 +35,13 @@
buildPythonApplication rec {
pname = "orca";
- version = "3.36.2";
+ version = "3.36.5";
format = "other";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
- sha256 = "0hxz8wlyjn6w3zqg1p56pwdj0p23d6vynzczklyc6n91dyvma06g";
+ sha256 = "0nyb33p4y6nmln41pi70c8hiyjyasaryy10mazi7b2s6fy9pk25x";
};
patches = [
diff --git a/nixpkgs/pkgs/applications/misc/osmium-tool/default.nix b/nixpkgs/pkgs/applications/misc/osmium-tool/default.nix
index c0d20c14f7c..892038c252a 100644
--- a/nixpkgs/pkgs/applications/misc/osmium-tool/default.nix
+++ b/nixpkgs/pkgs/applications/misc/osmium-tool/default.nix
@@ -1,18 +1,47 @@
-{ stdenv, fetchFromGitHub, cmake, libosmium, protozero, boost, bzip2, zlib, expat }:
+{ stdenv
+, fetchFromGitHub
+, cmake
+, installShellFiles
+, pandoc
+, boost
+, bzip2
+, expat
+, libosmium
+, protozero
+, zlib
+}:
stdenv.mkDerivation rec {
pname = "osmium-tool";
- version = "1.12.0";
+ version = "1.12.1";
src = fetchFromGitHub {
owner = "osmcode";
repo = "osmium-tool";
rev = "v${version}";
- sha256 = "18afn5qzdjpip176kk5pr04mj0p7dv70dbz1n36qmqnq3gyms10q";
+ sha256 = "13142hj8gfgj6w51a62hjzfmzic90xgrnnlnb70hpdqjy86bxv7j";
};
- nativeBuildInputs = [ cmake ];
- buildInputs = [ libosmium protozero boost bzip2 zlib expat ];
+ nativeBuildInputs = [
+ cmake
+ installShellFiles
+ pandoc
+ ];
+
+ buildInputs = [
+ boost
+ bzip2
+ expat
+ libosmium
+ protozero
+ zlib
+ ];
+
+ doCheck = true;
+
+ postInstall = ''
+ installShellCompletion --zsh ../zsh_completion/_osmium
+ '';
meta = with stdenv.lib; {
description = "Multipurpose command line tool for working with OpenStreetMap data based on the Osmium library";
diff --git a/nixpkgs/pkgs/applications/misc/overmind/default.nix b/nixpkgs/pkgs/applications/misc/overmind/default.nix
index 29dc6f54e6c..ca05facaa48 100644
--- a/nixpkgs/pkgs/applications/misc/overmind/default.nix
+++ b/nixpkgs/pkgs/applications/misc/overmind/default.nix
@@ -2,7 +2,7 @@
buildGoPackage rec {
pname = "overmind";
- version = "2.0.3";
+ version = "2.1.1";
goPackagePath = "github.com/DarthSim/overmind";
nativeBuildInputs = [ makeWrapper ];
@@ -15,9 +15,11 @@ buildGoPackage rec {
owner = "DarthSim";
repo = pname;
rev = "v${version}";
- sha256 = "0c551c240lqxdjg0jj01rh2fyhwls02k5lczlxacj05prp1plz9p";
+ sha256 = "0akqn8s1mgk5q00gzh3ymq7nrnkyi6avyaxxvbxnjyq9bxsqz327";
};
+ goDeps = ./deps.nix;
+
meta = with lib; {
homepage = "https://github.com/DarthSim/overmind";
description = "Process manager for Procfile-based applications and tmux";
diff --git a/nixpkgs/pkgs/applications/misc/overmind/deps.nix b/nixpkgs/pkgs/applications/misc/overmind/deps.nix
new file mode 100644
index 00000000000..afcc8d9726f
--- /dev/null
+++ b/nixpkgs/pkgs/applications/misc/overmind/deps.nix
@@ -0,0 +1,147 @@
+# file generated from go.mod using vgo2nix (https://github.com/adisbladis/vgo2nix)
+[
+ {
+ goPackagePath = "github.com/BurntSushi/toml";
+ fetch = {
+ type = "git";
+ url = "https://github.com/BurntSushi/toml";
+ rev = "v0.3.1";
+ sha256 = "1fjdwwfzyzllgiwydknf1pwjvy49qxfsczqx5gz3y0izs7as99j6";
+ };
+ }
+ {
+ goPackagePath = "github.com/DarthSim/godotenv";
+ fetch = {
+ type = "git";
+ url = "https://github.com/DarthSim/godotenv";
+ rev = "v1.3.1";
+ sha256 = "0fb9nl5qrnv7f9w0pgg00ak34afw9kjgcql0l38z22faz2bhgl1q";
+ };
+ }
+ {
+ goPackagePath = "github.com/cpuguy83/go-md2man";
+ fetch = {
+ type = "git";
+ url = "https://github.com/cpuguy83/go-md2man";
+ rev = "f79a8a8ca69d";
+ sha256 = "0r1f7v475dxxgzqci1mxfliwadcrk86ippflx9n411325l4g3ghv";
+ };
+ }
+ {
+ goPackagePath = "github.com/kardianos/osext";
+ fetch = {
+ type = "git";
+ url = "https://github.com/kardianos/osext";
+ rev = "2bc1f35cddc0";
+ sha256 = "1pvrbrvmrf4mx0fxbfaphbzgqgwn8v6lkfk2vyrs0znxrs1xyc5r";
+ };
+ }
+ {
+ goPackagePath = "github.com/matoous/go-nanoid";
+ fetch = {
+ type = "git";
+ url = "https://github.com/matoous/go-nanoid";
+ rev = "eab626deece6";
+ sha256 = "1a82lclk56y7c44jg7wn5vq733dmn0g20r5yqbchrxnpfl75dw89";
+ };
+ }
+ {
+ goPackagePath = "github.com/pkg/term";
+ fetch = {
+ type = "git";
+ url = "https://github.com/pkg/term";
+ rev = "aa71e9d9e942";
+ sha256 = "1gyxnj4jq3z2k4gjwwlz8hn56c1ys8jvafdd61nd6qs8jwp6iqp3";
+ };
+ }
+ {
+ goPackagePath = "github.com/pmezard/go-difflib";
+ fetch = {
+ type = "git";
+ url = "https://github.com/pmezard/go-difflib";
+ rev = "v1.0.0";
+ sha256 = "0c1cn55m4rypmscgf0rrb88pn58j3ysvc2d0432dp3c6fqg6cnzw";
+ };
+ }
+ {
+ goPackagePath = "github.com/russross/blackfriday";
+ fetch = {
+ type = "git";
+ url = "https://github.com/russross/blackfriday";
+ rev = "v2.0.1";
+ sha256 = "0nlz7isdd4rgnwzs68499hlwicxz34j2k2a0b8jy0y7ycd2bcr5j";
+ };
+ }
+ {
+ goPackagePath = "github.com/sevlyar/go-daemon";
+ fetch = {
+ type = "git";
+ url = "https://github.com/sevlyar/go-daemon";
+ rev = "v0.1.5";
+ sha256 = "1y3gnxaifykcjcbzx91lz9bc93b95w3xj4rjxjbii26pm3j7gqyk";
+ };
+ }
+ {
+ goPackagePath = "github.com/shurcooL/sanitized_anchor_name";
+ fetch = {
+ type = "git";
+ url = "https://github.com/shurcooL/sanitized_anchor_name";
+ rev = "v1.0.0";
+ sha256 = "1gv9p2nr46z80dnfjsklc6zxbgk96349sdsxjz05f3z6wb6m5l8f";
+ };
+ }
+ {
+ goPackagePath = "github.com/urfave/cli";
+ fetch = {
+ type = "git";
+ url = "https://github.com/urfave/cli";
+ rev = "v1.22.2";
+ sha256 = "10mcnvi5qmn00vpyk6si8gjka7p654wr9hac4zc9w5h3ickhvbdc";
+ };
+ }
+ {
+ goPackagePath = "golang.org/x/crypto";
+ fetch = {
+ type = "git";
+ url = "https://go.googlesource.com/crypto";
+ rev = "88737f569e3a";
+ sha256 = "02vkqfd6kc28zm6lffagw8nr78sayv6jabfgk9dcifl7826vi3k7";
+ };
+ }
+ {
+ goPackagePath = "golang.org/x/sys";
+ fetch = {
+ type = "git";
+ url = "https://go.googlesource.com/sys";
+ rev = "81d4e9dc473e";
+ sha256 = "0074zjpkhclz5qbgjv0zmdwy6hmf5k2ri5yagnm6i12ahxaa48dr";
+ };
+ }
+ {
+ goPackagePath = "gopkg.in/check.v1";
+ fetch = {
+ type = "git";
+ url = "https://gopkg.in/check.v1";
+ rev = "20d25e280405";
+ sha256 = "0k1m83ji9l1a7ng8a7v40psbymxasmssbrrhpdv2wl4rhs0nc3np";
+ };
+ }
+ {
+ goPackagePath = "gopkg.in/urfave/cli.v1";
+ fetch = {
+ type = "git";
+ url = "https://gopkg.in/urfave/cli.v1";
+ rev = "v1.20.0";
+ sha256 = "0y6f4sbzkiiwrxbl15biivj8c7qwxnvm3zl2dd3mw4wzg4x10ygj";
+ };
+ }
+ {
+ goPackagePath = "gopkg.in/yaml.v2";
+ fetch = {
+ type = "git";
+ url = "https://gopkg.in/yaml.v2";
+ rev = "v2.2.2";
+ sha256 = "01wj12jzsdqlnidpyjssmj0r4yavlqy7dwrg7adqd8dicjc4ncsa";
+ };
+ }
+]
diff --git a/nixpkgs/pkgs/applications/misc/pastel/default.nix b/nixpkgs/pkgs/applications/misc/pastel/default.nix
index 348ea4b991e..aaaf6dc778b 100644
--- a/nixpkgs/pkgs/applications/misc/pastel/default.nix
+++ b/nixpkgs/pkgs/applications/misc/pastel/default.nix
@@ -21,6 +21,5 @@ rustPlatform.buildRustPackage rec {
changelog = "https://github.com/sharkdp/pastel/releases/tag/v${version}";
license = with licenses; [ asl20 /* or */ mit ];
maintainers = with maintainers; [ davidtwco ];
- platforms = platforms.all;
};
}
diff --git a/nixpkgs/pkgs/applications/misc/pdfarranger/default.nix b/nixpkgs/pkgs/applications/misc/pdfarranger/default.nix
index c43ae1de9a1..b8f7c4641d2 100644
--- a/nixpkgs/pkgs/applications/misc/pdfarranger/default.nix
+++ b/nixpkgs/pkgs/applications/misc/pdfarranger/default.nix
@@ -5,13 +5,13 @@
python3Packages.buildPythonApplication rec {
pname = "pdfarranger";
- version = "1.5.3";
+ version = "1.6.0";
src = fetchFromGitHub {
owner = "jeromerobert";
repo = pname;
rev = version;
- sha256 = "0a9ap7p8iw57sn5nmhim7gp5as8gj6ir6l3p0bpmg4iqjsr4169h";
+ sha256 = "03siz4ar6flyvrrgh7hr7sslc6n9x5d9i13lc5rm2qnssd0qdich";
};
nativeBuildInputs = [
@@ -27,6 +27,7 @@ python3Packages.buildPythonApplication rec {
propagatedBuildInputs = with python3Packages; [
pygobject3
pikepdf
+ img2pdf
setuptools
];
diff --git a/nixpkgs/pkgs/applications/misc/pdfpc/default.nix b/nixpkgs/pkgs/applications/misc/pdfpc/default.nix
index d8203b9e7b5..4e172e5fd7c 100644
--- a/nixpkgs/pkgs/applications/misc/pdfpc/default.nix
+++ b/nixpkgs/pkgs/applications/misc/pdfpc/default.nix
@@ -4,13 +4,13 @@
stdenv.mkDerivation rec {
name = "${product}-${version}";
product = "pdfpc";
- version = "4.3.4";
+ version = "4.4.0";
src = fetchFromGitHub {
repo = product;
owner = product;
rev = "v${version}";
- sha256 = "07aafsm4jzdgpahz83p0ajv40hry7gviyadqi13ahr8xdhhwy2sd";
+ sha256 = "0vh2r32akvasdrghkaq7ard24r2qncp34jfiyshi3zxabm9bhfaa";
};
nativeBuildInputs = [
@@ -31,14 +31,6 @@ stdenv.mkDerivation rec {
cmakeFlags = stdenv.lib.optional stdenv.isDarwin "-DMOVIES=OFF";
- patches = [
- # Fix build vala 0.46
- (fetchpatch {
- url = "https://github.com/pdfpc/pdfpc/commit/bbc16b97ecbdcdd22c2dc827a5c0e8b569073312.patch";
- sha256 = "0wi1rqcvg65cxnxvmvavcvghqyksnpijq1p91m57jaby3hb0pdcy";
- })
- ];
-
meta = with stdenv.lib; {
description = "A presenter console with multi-monitor support for PDF files";
homepage = "https://pdfpc.github.io/";
diff --git a/nixpkgs/pkgs/applications/misc/pdfsam-basic/default.nix b/nixpkgs/pkgs/applications/misc/pdfsam-basic/default.nix
index d1892352785..a6dd86393ff 100644
--- a/nixpkgs/pkgs/applications/misc/pdfsam-basic/default.nix
+++ b/nixpkgs/pkgs/applications/misc/pdfsam-basic/default.nix
@@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
pname = "pdfsam-basic";
- version = "4.1.3";
+ version = "4.1.4";
src = fetchurl {
url = "https://github.com/torakiki/pdfsam/releases/download/v${version}/pdfsam_${version}-1_amd64.deb";
- sha256 = "1rhv6mf6pr9aaa8516i3b7v6h622qb1p8c4jsy3j0s5wrdry5l9l";
+ sha256 = "1gw3cmc8c1xxc55bm71v1dz9x9560lbhx9nkwprarhxlmn0m0zzp";
};
unpackPhase = ''
@@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
desktopName = "PDFsam Basic";
genericName = "PDF Split and Merge";
mimeType = "application/pdf;";
- categories = "Office;Application;";
+ categories = "Office;";
};
meta = with stdenv.lib; {
@@ -44,6 +44,6 @@ stdenv.mkDerivation rec {
description = "Multi-platform software designed to extract pages, split, merge, mix and rotate PDF files";
license = licenses.agpl3;
platforms = platforms.all;
- maintainers = with maintainers; [ maintainers."1000101" ];
+ maintainers = with maintainers; [ _1000101 ];
};
-} \ No newline at end of file
+}
diff --git a/nixpkgs/pkgs/applications/misc/pgadmin/default.nix b/nixpkgs/pkgs/applications/misc/pgadmin/default.nix
index 5fc0703e011..b0aabead245 100644
--- a/nixpkgs/pkgs/applications/misc/pgadmin/default.nix
+++ b/nixpkgs/pkgs/applications/misc/pgadmin/default.nix
@@ -47,7 +47,7 @@ stdenv.mkDerivation rec {
exec = "pgadmin3";
icon = "pgAdmin3";
type = "Application";
- categories = "Application;Development;";
+ categories = "Development;";
mimeType = "text/html";
};
in ''
diff --git a/nixpkgs/pkgs/applications/misc/pipr/default.nix b/nixpkgs/pkgs/applications/misc/pipr/default.nix
new file mode 100644
index 00000000000..b5a12f9ce7e
--- /dev/null
+++ b/nixpkgs/pkgs/applications/misc/pipr/default.nix
@@ -0,0 +1,34 @@
+{ stdenv
+, fetchFromGitHub
+, rustPlatform
+, bubblewrap
+, makeWrapper
+, lib
+}:
+
+rustPlatform.buildRustPackage rec {
+ pname = "pipr";
+ version = "0.0.12";
+
+ src = fetchFromGitHub {
+ owner = "ElKowar";
+ repo = pname;
+ rev = "v${version}";
+ sha256 = "0l7yvpc59mbzh87lngj6pj8w586fwa07829l5x9mmxnkf6srapmc";
+ };
+
+ cargoSha256 = "1xzc1x5mjvj2jgdhwmjbdbqi8d7ln1ss7akn72d96kmy1wsj1qsa";
+
+ nativeBuildInputs = [ makeWrapper ];
+ postFixup = ''
+ wrapProgram "$out/bin/pipr" --prefix PATH : ${lib.makeBinPath [ bubblewrap ]}
+ '';
+
+ meta = with stdenv.lib; {
+ description = "A commandline-tool to interactively write shell pipelines";
+ homepage = "https://github.com/ElKowar/pipr";
+ license = licenses.mit;
+ maintainers = with maintainers; [ elkowar ];
+ platforms = platforms.all;
+ };
+}
diff --git a/nixpkgs/pkgs/applications/misc/plasma-applet-volumewin7mixer/default.nix b/nixpkgs/pkgs/applications/misc/plasma-applet-volumewin7mixer/default.nix
index 3ecace18f92..15dd7222b28 100644
--- a/nixpkgs/pkgs/applications/misc/plasma-applet-volumewin7mixer/default.nix
+++ b/nixpkgs/pkgs/applications/misc/plasma-applet-volumewin7mixer/default.nix
@@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "plasma-applet-volumewin7mixer";
- version = "24";
+ version = "25";
src = fetchFromGitHub {
owner = "Zren";
repo = "plasma-applet-volumewin7mixer";
rev = "v${version}";
- sha256 = "1pms71229y7fv3zs38a0l9mdcg5qkcdv9yrcvdm6xqpdyk21jbz2";
+ sha256 = "1nvz0a06qb3pfk8dfh5n5vgf3psd6k0j3vms9pskr511qsxw0dfi";
};
patches = [ ./cmake.patch ];
diff --git a/nixpkgs/pkgs/applications/misc/polybar/default.nix b/nixpkgs/pkgs/applications/misc/polybar/default.nix
index a793ee88724..c324a3f8be4 100644
--- a/nixpkgs/pkgs/applications/misc/polybar/default.nix
+++ b/nixpkgs/pkgs/applications/misc/polybar/default.nix
@@ -1,6 +1,7 @@
{ cairo, cmake, fetchFromGitHub, libXdmcp, libpthreadstubs, libxcb, pcre, pkgconfig
, python3, stdenv, xcbproto, xcbutil, xcbutilcursor, xcbutilimage
, xcbutilrenderutil, xcbutilwm, xcbutilxrm, makeWrapper
+, removeReferencesTo
# optional packages-- override the variables ending in 'Support' to enable or
# disable modules
@@ -74,6 +75,10 @@ stdenv.mkDerivation rec {
'' else "";
nativeBuildInputs = [
- cmake pkgconfig
+ cmake pkgconfig removeReferencesTo
];
+
+ postFixup = ''
+ remove-references-to -t ${stdenv.cc} $out/bin/polybar
+ '';
}
diff --git a/nixpkgs/pkgs/applications/misc/prusa-slicer/default.nix b/nixpkgs/pkgs/applications/misc/prusa-slicer/default.nix
index 144addf02c6..79ad84e99be 100644
--- a/nixpkgs/pkgs/applications/misc/prusa-slicer/default.nix
+++ b/nixpkgs/pkgs/applications/misc/prusa-slicer/default.nix
@@ -86,7 +86,7 @@ stdenv.mkDerivation rec {
comment = "G-code generator for 3D printers";
desktopName = "PrusaSlicer";
genericName = "3D printer tool";
- categories = "Application;Development;";
+ categories = "Development;";
};
meta = with stdenv.lib; {
diff --git a/nixpkgs/pkgs/applications/misc/prusa-slicer/super-slicer.nix b/nixpkgs/pkgs/applications/misc/prusa-slicer/super-slicer.nix
new file mode 100644
index 00000000000..e2ef645e70a
--- /dev/null
+++ b/nixpkgs/pkgs/applications/misc/prusa-slicer/super-slicer.nix
@@ -0,0 +1,50 @@
+{
+ stdenv, lib, fetchFromGitHub, makeDesktopItem, prusa-slicer
+}:
+let
+ appname = "SuperSlicer";
+ version = "2.2.53.1";
+ pname = "super-slicer";
+ description = "PrusaSlicer fork with more features and faster development cycle";
+ override = super: {
+ inherit version pname;
+
+ src = fetchFromGitHub {
+ owner = "supermerill";
+ repo = "SuperSlicer";
+ sha256 = "sha256-CAhwmQ63N/XJYToTnIV84lNnjDGNbkmYPzNKNL/wVxs=";
+ rev = version;
+ };
+
+ # See https://github.com/supermerill/SuperSlicer/issues/432
+ cmakeFlags = super.cmakeFlags ++ [
+ "-DSLIC3R_BUILD_TESTS=0"
+ ];
+
+ postInstall = ''
+ mkdir -p "$out/share/pixmaps/"
+ # Change slic3r++ to SuperSlicer at the next release!
+ ln -s "$out/share/slic3r++/icons/Slic3r.png" "$out/share/pixmaps/${appname}.png"
+ mkdir -p "$out/share/applications"
+ cp "$desktopItem"/share/applications/* "$out/share/applications/"
+ '';
+
+ desktopItem = makeDesktopItem {
+ name = appname;
+ exec = "superslicer";
+ icon = appname;
+ comment = description;
+ desktopName = appname;
+ genericName = "3D printer tool";
+ categories = "Development;";
+ };
+
+ meta = with stdenv.lib; {
+ inherit description;
+ homepage = "https://github.com/supermerili/SuperSlicer";
+ license = licenses.agpl3;
+ maintainers = with maintainers; [ cab404 moredread ];
+ };
+
+ };
+in prusa-slicer.overrideAttrs override
diff --git a/nixpkgs/pkgs/applications/misc/pueue/default.nix b/nixpkgs/pkgs/applications/misc/pueue/default.nix
index 3882debd998..f5c237da440 100644
--- a/nixpkgs/pkgs/applications/misc/pueue/default.nix
+++ b/nixpkgs/pkgs/applications/misc/pueue/default.nix
@@ -2,16 +2,16 @@
rustPlatform.buildRustPackage rec {
pname = "pueue";
- version = "0.5.0";
+ version = "0.7.1";
src = fetchFromGitHub {
owner = "Nukesor";
repo = pname;
rev = "v${version}";
- sha256 = "17v760mh5k5vb1h3xvaph5rfc5wdl6q42isil2k9n6y8bxr3yw84";
+ sha256 = "1ksks8c35q9aq5vnjxh480vqjyaa8c1fz1fb465vngnlyw762b22";
};
- cargoSha256 = "1m659i3v3b5hfn5vb5126izcy690bkmlyihz2w90h2d02ig7170p";
+ cargoSha256 = "0v1h4jhrzfb55zmpnbq18188rdvx7a7lvnjqh0w7cy90kvxssian";
nativeBuildInputs = [ installShellFiles ];
diff --git a/nixpkgs/pkgs/applications/misc/qcad/application-dir.patch b/nixpkgs/pkgs/applications/misc/qcad/application-dir.patch
index 84782e1e717..0b8a29319eb 100644
--- a/nixpkgs/pkgs/applications/misc/qcad/application-dir.patch
+++ b/nixpkgs/pkgs/applications/misc/qcad/application-dir.patch
@@ -33,3 +33,16 @@ index c6c31cbf5..c51b59ce6 100644
}
int RSettings::getSnapRange() {
+diff --git a/qcad.desktop b/qcad.desktop
+index 93c5e9720..2d0e6bf32 100644
+--- a/qcad.desktop
++++ b/qcad.desktop
+@@ -48,7 +48,7 @@ Comment[sv]=2D CAD-system
+ Comment[sl]=Sistem 2D CAD
+ Comment[uk]=2D САПР
+ Comment[tr]=2D CAD Sistemi
+-Exec=qcad %F
++Exec=qcad-bin %F
+ X-MultipleArgs=true
+ Icon=qcad_icon
+ Terminal=false
diff --git a/nixpkgs/pkgs/applications/misc/qcad/default.nix b/nixpkgs/pkgs/applications/misc/qcad/default.nix
index 3dfda8b9c5f..26b6f329764 100644
--- a/nixpkgs/pkgs/applications/misc/qcad/default.nix
+++ b/nixpkgs/pkgs/applications/misc/qcad/default.nix
@@ -11,13 +11,13 @@
mkDerivationWith stdenv.mkDerivation rec {
pname = "qcad";
- version = "3.24.3.4";
+ version = "3.25.0.0";
src = fetchFromGitHub {
owner = "qcad";
repo = "qcad";
rev = "v${version}";
- sha256 = "0hv9050srrq7fm1fqla8b52mwpilsvr1jriz4ay633s63svss3zz";
+ sha256 = "07qph2645m1wi9yi04ixdvx8dli03q1vimj3laqdmnpipi54lljc";
};
patches = [
@@ -25,11 +25,13 @@ mkDerivationWith stdenv.mkDerivation rec {
];
postPatch = ''
- mkdir src/3rdparty/qt-labs-qtscriptgenerator-${qt5.qtbase.version}
- cp \
- src/3rdparty/qt-labs-qtscriptgenerator-5.12.3/qt-labs-qtscriptgenerator-5.12.3.pro \
- src/3rdparty/qt-labs-qtscriptgenerator-${qt5.qtbase.version}/qt-labs-qtscriptgenerator-${qt5.qtbase.version}.pro
- '';
+ if ! [ -d src/3rdparty/qt-labs-qtscriptgenerator-${qt5.qtbase.version} ]; then
+ mkdir src/3rdparty/qt-labs-qtscriptgenerator-${qt5.qtbase.version}
+ cp \
+ src/3rdparty/qt-labs-qtscriptgenerator-5.14.0/qt-labs-qtscriptgenerator-5.14.0.pro \
+ src/3rdparty/qt-labs-qtscriptgenerator-${qt5.qtbase.version}/qt-labs-qtscriptgenerator-${qt5.qtbase.version}.pro
+ fi
+ '';
qmakeFlags = [
"MUPARSER_DIR=${muparser}"
diff --git a/nixpkgs/pkgs/applications/misc/qdirstat/default.nix b/nixpkgs/pkgs/applications/misc/qdirstat/default.nix
index c57153fe0e0..e9f049159bf 100644
--- a/nixpkgs/pkgs/applications/misc/qdirstat/default.nix
+++ b/nixpkgs/pkgs/applications/misc/qdirstat/default.nix
@@ -3,17 +3,19 @@
, makeWrapper, perlPackages, mkDerivation }:
let
- version = "1.6.1";
-in mkDerivation rec {
pname = "qdirstat";
- inherit version;
+ version = "1.7";
src = fetchFromGitHub {
owner = "shundhammer";
- repo = "qdirstat";
+ repo = pname;
rev = version;
- sha256 = "0q77a347qv1aka6sni6l03zh5jzyy9s74aygg554r73g01kxczpb";
+ sha256 = "163x3fxra0l3vvrzm25mh7jvcwjbmwsqlpppkxx76mkz9a1769fy";
};
+in
+
+mkDerivation {
+ inherit pname version src;
nativeBuildInputs = [ qmake makeWrapper ];
diff --git a/nixpkgs/pkgs/applications/misc/qmapshack/default.nix b/nixpkgs/pkgs/applications/misc/qmapshack/default.nix
index edb5a9b3788..1a8758955ce 100644
--- a/nixpkgs/pkgs/applications/misc/qmapshack/default.nix
+++ b/nixpkgs/pkgs/applications/misc/qmapshack/default.nix
@@ -3,13 +3,13 @@
mkDerivation rec {
pname = "qmapshack";
- version = "1.14.1";
+ version = "1.15.0";
src = fetchFromGitHub {
owner = "Maproom";
repo = pname;
rev = "V_${version}";
- sha256 = "0hghynb4ac98fg1pwc645zriqkghxwp8mr3jhr87pa6fh0y848py";
+ sha256 = "157bssrbwcc1w58b0v60jb3wrjf2ig4z6z6crjnpvflkqj5p8vwy";
};
nativeBuildInputs = [ cmake ];
diff --git a/nixpkgs/pkgs/applications/misc/qsudo/default.nix b/nixpkgs/pkgs/applications/misc/qsudo/default.nix
new file mode 100644
index 00000000000..63d97b3001c
--- /dev/null
+++ b/nixpkgs/pkgs/applications/misc/qsudo/default.nix
@@ -0,0 +1,42 @@
+{ stdenv
+, mkDerivation
+, fetchFromGitHub
+, qmake
+, qtbase
+, sudo
+}:
+
+mkDerivation rec {
+ pname = "qsudo";
+ version = "2020.03.27";
+
+ src = fetchFromGitHub {
+ owner = "project-trident";
+ repo = pname;
+ rev = "v${version}";
+ sha256 = "06kg057vwkvafnk69m9rar4wih3vq4h36wbzwbfc2kndsnn47lfl";
+ };
+
+ sourceRoot = "source/src-qt5";
+
+ nativeBuildInputs = [
+ qmake
+ ];
+
+ buildInputs = [
+ qtbase
+ sudo
+ ];
+
+ postPatch = ''
+ substituteInPlace qsudo.pro --replace /usr/bin $out/bin
+ '';
+
+ meta = with stdenv.lib; {
+ description = "Graphical sudo utility from Project Trident";
+ homepage = "https://github.com/project-trident/qsudo";
+ license = licenses.bsd2;
+ platforms = platforms.linux;
+ maintainers = [ maintainers.romildo ];
+ };
+}
diff --git a/nixpkgs/pkgs/applications/misc/qt-video-wlr/default.nix b/nixpkgs/pkgs/applications/misc/qt-video-wlr/default.nix
new file mode 100644
index 00000000000..e10c922e4f1
--- /dev/null
+++ b/nixpkgs/pkgs/applications/misc/qt-video-wlr/default.nix
@@ -0,0 +1,46 @@
+{ stdenv, lib, fetchFromGitHub, pkg-config, meson, ninja, wayland, pixman, cairo, librsvg, wayland-protocols, wlroots, libxkbcommon, gst_all_1, wrapQtAppsHook, qtbase, qtmultimedia }:
+let
+ gstreamerPath = with gst_all_1; stdenv.lib.makeSearchPath "lib/gstreamer-1.0" [
+ gstreamer
+ gst-plugins-base
+ gst-plugins-good
+ gst-plugins-bad
+ gst-plugins-ugly
+ ];
+in stdenv.mkDerivation rec {
+ pname = "qt-video-wlr";
+ version = "2020-08-03";
+
+ src = fetchFromGitHub {
+ owner = "xdavidwu";
+ repo = "qt-video-wlr";
+ rev = "f88a7aa43f28b879b18752069f4a1ec33d73f2fe";
+ sha256 = "135kfyg1b61xvfpk8vpk4qyw6s9q1mn3a6lfkrqrhl0dz9kka9lx";
+ };
+
+ nativeBuildInputs = [ pkg-config meson ninja wrapQtAppsHook ];
+ buildInputs = [
+ wayland
+ pixman
+ cairo
+ librsvg
+ wayland-protocols
+ wlroots
+ libxkbcommon
+ qtbase
+ qtmultimedia
+ ];
+
+ qtWrapperArgs = [
+ "--prefix PATH : $out/bin/qt-video-wlr"
+ "--prefix GST_PLUGIN_PATH : ${gstreamerPath}"
+ ];
+
+ meta = with lib; {
+ description = "Qt pip-mode-like video player for wlroots-based wayland compositors";
+ homepage = "https://github.com/xdavidwu/qt-video-wlr";
+ license = licenses.mit;
+ maintainers = with maintainers; [ fionera ];
+ platforms = with platforms; linux;
+ };
+}
diff --git a/nixpkgs/pkgs/applications/misc/redshift/default.nix b/nixpkgs/pkgs/applications/misc/redshift/default.nix
index 05dc4c429b6..86c787df62a 100644
--- a/nixpkgs/pkgs/applications/misc/redshift/default.nix
+++ b/nixpkgs/pkgs/applications/misc/redshift/default.nix
@@ -1,4 +1,5 @@
-{ stdenv, fetchFromGitHub, autoconf, automake, gettext, intltool
+{ stdenv, fetchFromGitHub, fetchFromGitLab
+, autoconf, automake, gettext, intltool
, libtool, pkgconfig, wrapGAppsHook, wrapPython, gobject-introspection
, gtk3, python, pygobject3, pyxdg
@@ -18,7 +19,7 @@ let
stdenv.mkDerivation rec {
inherit pname version src meta;
- patches = [
+ patches = stdenv.lib.optionals (pname != "gammastep") [
# https://github.com/jonls/redshift/pull/575
./575.patch
];
@@ -62,10 +63,15 @@ let
# the geoclue agent may inspect these paths and expect them to be
# valid without having the correct $PATH set
- postInstall = ''
+ postInstall = if (pname == "gammastep") then ''
+ substituteInPlace $out/share/applications/gammastep.desktop \
+ --replace 'Exec=gammastep' "Exec=$out/bin/gammastep"
+ substituteInPlace $out/share/applications/gammastep-indicator.desktop \
+ --replace 'Exec=gammastep-indicator' "Exec=$out/bin/gammastep-indicator"
+ '' else ''
substituteInPlace $out/share/applications/redshift.desktop \
--replace 'Exec=redshift' "Exec=$out/bin/redshift"
- substituteInPlace $out/share/applications/redshift.desktop \
+ substituteInPlace $out/share/applications/redshift-gtk.desktop \
--replace 'Exec=redshift-gtk' "Exec=$out/bin/redshift-gtk"
'';
@@ -118,4 +124,24 @@ rec {
homepage = "https://github.com/minus7/redshift";
};
};
+
+ gammastep = mkRedshift rec {
+ pname = "gammastep";
+ version = "2.0.2";
+
+ src = fetchFromGitLab {
+ owner = "chinstrap";
+ repo = pname;
+ rev = "v${version}";
+ sha256 = "09wqlz3yya955galhs20014qfwm2yk0lxhyqdsw8gwddvcpyprzg";
+ };
+
+ meta = redshift.meta // {
+ name = "${pname}-${version}";
+ longDescription = "Gammastep"
+ + stdenv.lib.removePrefix "Redshift" redshift.meta.longDescription;
+ homepage = "https://gitlab.com/chinstrap/gammastep";
+ maintainers = [ stdenv.lib.maintainers.primeos ] ++ redshift.meta.maintainers;
+ };
+ };
}
diff --git a/nixpkgs/pkgs/applications/misc/remarkable/remarkable-mouse/default.nix b/nixpkgs/pkgs/applications/misc/remarkable/remarkable-mouse/default.nix
new file mode 100644
index 00000000000..8d668f7a38d
--- /dev/null
+++ b/nixpkgs/pkgs/applications/misc/remarkable/remarkable-mouse/default.nix
@@ -0,0 +1,20 @@
+{ stdenv, buildPythonApplication, fetchPypi, python3Packages }:
+
+buildPythonApplication rec {
+ pname = "remarkable-mouse";
+ version = "5.2.1";
+
+ src = fetchPypi {
+ inherit pname version;
+ sha256 = "0k2wjfcgnvb8yqn4c4ddfyyhrvl6hj61kn1ddnyp6ay9vklnw160";
+ };
+
+ propagatedBuildInputs = with python3Packages; [ screeninfo paramiko pynput libevdev ];
+
+ meta = with stdenv.lib; {
+ description = "A program to use a reMarkable as a graphics tablet";
+ homepage = "https://github.com/evidlo/remarkable_mouse";
+ license = licenses.gpl3;
+ maintainers = [ maintainers.nickhu ];
+ };
+}
diff --git a/nixpkgs/pkgs/applications/misc/remarkable/rmapi/default.nix b/nixpkgs/pkgs/applications/misc/remarkable/rmapi/default.nix
index 0fe0e03060a..f159cd852e8 100644
--- a/nixpkgs/pkgs/applications/misc/remarkable/rmapi/default.nix
+++ b/nixpkgs/pkgs/applications/misc/remarkable/rmapi/default.nix
@@ -2,23 +2,24 @@
buildGoModule rec {
pname = "rmapi";
- version = "0.0.11";
+ version = "0.0.12";
src = fetchFromGitHub {
owner = "juruen";
repo = "rmapi";
rev = "v${version}";
- sha256 = "0zks1pcj2s2pqkmw0hhm41vgdhfgj2r6dmvpsagbmf64578ww349";
+ sha256 = "049m0p4wbsl822iym8xmc938d4k90iw7wjdzcxfyy8d27hv9mp45";
};
vendorSha256 = "077s13pcql5w2m6wzls1q06r7p501kazbwzxgfh6akwza15kb4is";
+ doCheck = false;
+
meta = with stdenv.lib; {
description = "A Go app that allows access to the ReMarkable Cloud API programmatically";
homepage = "https://github.com/juruen/rmapi";
changelog = "https://github.com/juruen/rmapi/blob/v${version}/CHANGELOG.md";
license = licenses.agpl3;
maintainers = [ maintainers.nickhu ];
- platforms = platforms.all;
};
}
diff --git a/nixpkgs/pkgs/applications/misc/rescuetime/default.nix b/nixpkgs/pkgs/applications/misc/rescuetime/default.nix
index 9784e24187b..3b989a75c9b 100644
--- a/nixpkgs/pkgs/applications/misc/rescuetime/default.nix
+++ b/nixpkgs/pkgs/applications/misc/rescuetime/default.nix
@@ -1,19 +1,21 @@
{ stdenv, lib, fetchurl, dpkg, patchelf, qt5, libXtst, libXext, libX11, mkDerivation, makeWrapper, libXScrnSaver }:
let
+ version = "2.16.4.2";
src =
if stdenv.hostPlatform.system == "i686-linux" then fetchurl {
name = "rescuetime-installer.deb";
- url = "https://www.rescuetime.com/installers/rescuetime_current_i386.deb";
- sha256 = "1yzbs2lg04bq0clkr6gfkx3j6wrahpnxqfiq4askk9k76y4ncd4m";
+ url = "https://www.rescuetime.com/installers/rescuetime_${version}_i386.deb";
+ sha256 = "0zyal9n3rfj8i13v1q25inq6qyil7897483cdhqvwpb8wskrij4c";
} else fetchurl {
name = "rescuetime-installer.deb";
- url = "https://www.rescuetime.com/installers/rescuetime_current_amd64.deb";
- sha256 = "1njxsh601d0p6n0hxv44gcg8gd43xwym83xwqba26vj6xw82bknv";
+ url = "https://www.rescuetime.com/installers/rescuetime_${version}_amd64.deb";
+ sha256 = "03bmnkxhip1wilnfqs8akmy1hppahxrmnm8gasnmw5s922vn06cv";
};
in mkDerivation {
# https://www.rescuetime.com/updates/linux_release_notes.html
- name = "rescuetime-2.15.0.1";
+ inherit version;
+ pname = "rescuetime";
inherit src;
nativeBuildInputs = [ dpkg ];
# avoid https://github.com/NixOS/patchelf/issues/99
diff --git a/nixpkgs/pkgs/applications/misc/rofi/default.nix b/nixpkgs/pkgs/applications/misc/rofi/default.nix
index d8e600f6019..d565e1874cd 100644
--- a/nixpkgs/pkgs/applications/misc/rofi/default.nix
+++ b/nixpkgs/pkgs/applications/misc/rofi/default.nix
@@ -6,11 +6,11 @@
stdenv.mkDerivation rec {
pname = "rofi-unwrapped";
- version = "1.5.4";
+ version = "1.6.0";
src = fetchurl {
url = "https://github.com/davatorium/rofi/releases/download/${version}/rofi-${version}.tar.gz";
- sha256 = "1g1170zmh5v7slnm1sm2d08jgz6icikf8rm17apm1bjzzyw1lhk7";
+ sha256 = "sha256-BS/ypMS/MfaiUizWVov8yYgGJjgwMWvz0PiH3sYYn50=";
};
preConfigure = ''
diff --git a/nixpkgs/pkgs/applications/misc/rsclock/default.nix b/nixpkgs/pkgs/applications/misc/rsclock/default.nix
index 4f63ed057b7..e1ae63e09fd 100644
--- a/nixpkgs/pkgs/applications/misc/rsclock/default.nix
+++ b/nixpkgs/pkgs/applications/misc/rsclock/default.nix
@@ -10,7 +10,7 @@ rustPlatform.buildRustPackage rec {
rev = "v${version}";
sha256 = "1i93qkz6d8sbk78i4rvx099hnn4lklp4cjvanpm9ssv8na4rqvh2";
};
-
+
cargoSha256 = "01dhkis6zswq1y40n7sdq9xv1sp61f2v7nfqbkicyjngmdrmcgrl";
meta = with stdenv.lib; {
@@ -18,7 +18,5 @@ rustPlatform.buildRustPackage rec {
homepage = "https://github.com/valebes/rsClock";
license = licenses.mit;
maintainers = with maintainers; [valebes];
- platforms = platforms.all;
};
}
-
diff --git a/nixpkgs/pkgs/applications/misc/sampler/default.nix b/nixpkgs/pkgs/applications/misc/sampler/default.nix
index a1f4c8f41bc..b68a3a98e34 100644
--- a/nixpkgs/pkgs/applications/misc/sampler/default.nix
+++ b/nixpkgs/pkgs/applications/misc/sampler/default.nix
@@ -13,6 +13,8 @@ buildGoModule rec {
vendorSha256 = "04nywhkil5xkipcibrp6vi63rfcvqgv7yxbxmmrhqys2cdxfvazv";
+ doCheck = false;
+
subPackages = [ "." ];
buildInputs = [ alsaLib ];
@@ -24,4 +26,4 @@ buildGoModule rec {
maintainers = with maintainers; [ uvnikita ];
platforms = platforms.unix;
};
-} \ No newline at end of file
+}
diff --git a/nixpkgs/pkgs/applications/misc/sbagen/default.nix b/nixpkgs/pkgs/applications/misc/sbagen/default.nix
index 821fbe35ca1..d7d7dd3ab70 100644
--- a/nixpkgs/pkgs/applications/misc/sbagen/default.nix
+++ b/nixpkgs/pkgs/applications/misc/sbagen/default.nix
@@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
meta = {
description = "Binaural sound generator";
homepage = "http://uazu.net/sbagen";
- license = "GPL";
+ license = stdenv.lib.licenses.gpl2;
platforms = [ "i686-linux" ];
};
}
diff --git a/nixpkgs/pkgs/applications/misc/sdcv/default.nix b/nixpkgs/pkgs/applications/misc/sdcv/default.nix
index 997786fc107..d220047a0a3 100644
--- a/nixpkgs/pkgs/applications/misc/sdcv/default.nix
+++ b/nixpkgs/pkgs/applications/misc/sdcv/default.nix
@@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "sdcv";
- version = "0.5.2";
+ version = "0.5.3";
src = fetchFromGitHub {
owner = "Dushistov";
repo = "sdcv";
rev = "v${version}";
- sha256 = "1b67s4nj0s5fh3cjk7858qvhiisc557xx72xwzrb8hq6ijpwx5k0";
+ sha256 = "144qpl9b8r2php0zhi9b7vg6flpvdgjy6yfaipydwwhxi4wy9600";
};
hardeningDisable = [ "format" ];
diff --git a/nixpkgs/pkgs/applications/misc/sequeler/default.nix b/nixpkgs/pkgs/applications/misc/sequeler/default.nix
index 04ceed63543..d1962176140 100644
--- a/nixpkgs/pkgs/applications/misc/sequeler/default.nix
+++ b/nixpkgs/pkgs/applications/misc/sequeler/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchFromGitHub
+{ stdenv, fetchFromGitHub, nix-update-script
, vala, meson, ninja, pkgconfig, pantheon, gettext, wrapGAppsHook, python3, desktop-file-utils
, gtk3, glib, libgee, libgda, gtksourceview, libxml2, libsecret, libssh2 }:
@@ -11,13 +11,13 @@ let
in stdenv.mkDerivation rec {
pname = "sequeler";
- version = "0.7.91";
+ version = "0.8.0";
src = fetchFromGitHub {
owner = "Alecaddd";
repo = pname;
rev = "v${version}";
- sha256 = "071vfx7bdf7hfa4784xz97vrj9x5aipgjbp30r00kg2zhg8wa2ls";
+ sha256 = "090plqnby2wxzr1waq5kz89w3269j363mgxwfz9g7qg55lddaahz";
};
nativeBuildInputs = [ meson ninja pkgconfig vala gettext wrapGAppsHook python3 desktop-file-utils ];
@@ -30,7 +30,7 @@ in stdenv.mkDerivation rec {
'';
passthru = {
- updateScript = pantheon.updateScript {
+ updateScript = nix-update-script {
attrPath = pname;
};
};
diff --git a/nixpkgs/pkgs/applications/misc/sidequest/default.nix b/nixpkgs/pkgs/applications/misc/sidequest/default.nix
index 6c55c3157f5..883b3eec03d 100644
--- a/nixpkgs/pkgs/applications/misc/sidequest/default.nix
+++ b/nixpkgs/pkgs/applications/misc/sidequest/default.nix
@@ -1,7 +1,7 @@
{ stdenv, lib, fetchurl, buildFHSUserEnv, makeDesktopItem, makeWrapper, atomEnv, libuuid, at-spi2-atk, icu, openssl, zlib }:
let
pname = "sidequest";
- version = "0.10.2";
+ version = "0.10.11";
desktopItem = makeDesktopItem rec {
name = "SideQuest";
@@ -16,7 +16,7 @@
src = fetchurl {
url = "https://github.com/the-expanse/SideQuest/releases/download/v${version}/SideQuest-${version}.tar.xz";
- sha256 = "1vfxn4gx5b138gj6nk4w3jlp2l56cqpb8hq2kn5mrf4dhjii8n88";
+ sha256 = "0fw952kdh1gn00y6sx2ag0rnb2paxq9ikg4bzgmbj7rrd1c6l2k9";
};
buildInputs = [ makeWrapper ];
diff --git a/nixpkgs/pkgs/applications/misc/sigal/default.nix b/nixpkgs/pkgs/applications/misc/sigal/default.nix
index c0e255a36e3..1802eef5409 100644
--- a/nixpkgs/pkgs/applications/misc/sigal/default.nix
+++ b/nixpkgs/pkgs/applications/misc/sigal/default.nix
@@ -1,4 +1,4 @@
-{ lib, python3Packages, ffmpeg }:
+{ lib, python3Packages, ffmpeg_3 }:
python3Packages.buildPythonApplication rec {
version = "2.0";
@@ -20,7 +20,7 @@ python3Packages.buildPythonApplication rec {
blinker
];
- makeWrapperArgs = [ "--prefix PATH : ${ffmpeg}/bin" ];
+ makeWrapperArgs = [ "--prefix PATH : ${ffmpeg_3}/bin" ];
# No tests included
doCheck = false;
diff --git a/nixpkgs/pkgs/applications/misc/simplenote/default.nix b/nixpkgs/pkgs/applications/misc/simplenote/default.nix
index 46b80dc98f0..05cf15b8acc 100644
--- a/nixpkgs/pkgs/applications/misc/simplenote/default.nix
+++ b/nixpkgs/pkgs/applications/misc/simplenote/default.nix
@@ -4,6 +4,7 @@
, fetchurl
, makeDesktopItem
, makeWrapper
+, lib
, stdenv
, udev
, wrapGAppsHook
@@ -16,10 +17,10 @@ let
pname = "simplenote";
- version = "1.16.0";
+ version = "1.21.1";
sha256 = {
- x86_64-linux = "01nk3dbyhs0p7f6b4bkrng95i29g0x7vxj0rx1qb7sm3n11yi091";
+ x86_64-linux = "00qx82d17yrrg2mxwhm40av0mpf5hy14j338i5ijhwp79yc8fk8x";
}.${system} or throwSystem;
meta = with stdenv.lib; {
@@ -82,7 +83,7 @@ let
'';
runtimeDependencies = [
- udev.lib
+ (lib.getLib udev)
];
postFixup = ''
diff --git a/nixpkgs/pkgs/applications/misc/sl1-to-photon/default.nix b/nixpkgs/pkgs/applications/misc/sl1-to-photon/default.nix
new file mode 100644
index 00000000000..a8a0bfb1e10
--- /dev/null
+++ b/nixpkgs/pkgs/applications/misc/sl1-to-photon/default.nix
@@ -0,0 +1,41 @@
+{ lib
+, buildPythonApplication
+, fetchFromGitHub
+, pillow
+, pyside2
+, numpy
+, pyphotonfile
+, shiboken2
+, which
+}:
+let
+ version = "0.1.3";
+in
+ buildPythonApplication rec {
+ pname = "sl1-to-photon";
+ inherit version;
+
+ src = fetchFromGitHub {
+ owner = "fookatchu";
+ repo = "SL1toPhoton";
+ rev = "v${version}";
+ sha256 = "1hmb74rcky3nax4lxn7pw6lcd5a66fdbwrm11c84zb31xb51bakw";
+ };
+
+ propagatedBuildInputs = [ pyphotonfile pillow numpy pyside2 shiboken2 ];
+
+ format = "other";
+
+ installPhase = ''
+ install -D -m 0755 SL1_to_Photon.py $out/bin/${pname}
+ sed -i '1i#!/usr/bin/env python' $out/bin/${pname}
+ '';
+
+ meta = with lib; {
+ maintainers = [ maintainers.cab404 ];
+ license = licenses.gpl3Plus;
+ description = "Tool for converting Slic3r PE's SL1 files to Photon files for the Anycubic Photon 3D-Printer";
+ homepage = "https://github.com/fookatchu/SL1toPhoton";
+ };
+
+}
diff --git a/nixpkgs/pkgs/applications/misc/slic3r/default.nix b/nixpkgs/pkgs/applications/misc/slic3r/default.nix
index 912deee4cb1..c8ecfbcb4a1 100644
--- a/nixpkgs/pkgs/applications/misc/slic3r/default.nix
+++ b/nixpkgs/pkgs/applications/misc/slic3r/default.nix
@@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
comment = "G-code generator for 3D printers";
desktopName = "Slic3r";
genericName = "3D printer tool";
- categories = "Application;Development;";
+ categories = "Development;";
};
prePatch = ''
diff --git a/nixpkgs/pkgs/applications/misc/slstatus/default.nix b/nixpkgs/pkgs/applications/misc/slstatus/default.nix
index 5c13cbf8669..6adf24f617c 100644
--- a/nixpkgs/pkgs/applications/misc/slstatus/default.nix
+++ b/nixpkgs/pkgs/applications/misc/slstatus/default.nix
@@ -1,20 +1,22 @@
-{ stdenv, fetchgit, pkgconfig, writeText, libX11, conf ? null }:
+{ stdenv, fetchgit, pkgconfig, writeText, libX11, conf ? null, patches ? [] }:
with stdenv.lib;
stdenv.mkDerivation rec {
pname = "slstatus";
- version = "unstable-2018-04-16";
+ version = "unstable-2019-02-16";
src = fetchgit {
url = "https://git.suckless.org/slstatus";
- rev = "97ef7c2a1d67bb2c9c379e657fbc8e35acd6aafb";
- sha256 = "1777hgl10imk0l2sgnqgbkfchv1mpxrd82ninzwp7f1rgwchz36v";
+ rev = "b14e039639ed28005fbb8bddeb5b5fa0c93475ac";
+ sha256 = "0kayyhpmppybhwndxgabw48wsk9v8x9xdb05xrly9szkw3jbvgw4";
};
configFile = optionalString (conf!=null) (writeText "config.def.h" conf);
preBuild = optionalString (conf!=null) "cp ${configFile} config.def.h";
+ inherit patches;
+
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ libX11 ];
@@ -24,7 +26,7 @@ stdenv.mkDerivation rec {
homepage = "https://tools.suckless.org/slstatus/";
description = "status monitor for window managers that use WM_NAME like dwm";
license = licenses.isc;
- maintainers = with maintainers; [ geistesk ];
+ maintainers = with maintainers; [ oxzi ];
platforms = platforms.linux;
};
}
diff --git a/nixpkgs/pkgs/applications/misc/snowsql/default.nix b/nixpkgs/pkgs/applications/misc/snowsql/default.nix
new file mode 100644
index 00000000000..a860b555b59
--- /dev/null
+++ b/nixpkgs/pkgs/applications/misc/snowsql/default.nix
@@ -0,0 +1,50 @@
+{ stdenv
+, fetchurl
+, rpmextract
+, patchelf
+, makeWrapper
+, openssl
+}:
+
+stdenv.mkDerivation rec {
+ pname = "snowsql";
+ version = "1.2.5";
+
+ src = fetchurl {
+ url = "https://sfc-repo.snowflakecomputing.com/snowsql/bootstrap/1.2/linux_x86_64/snowflake-snowsql-1.2.5-1.x86_64.rpm";
+ sha256 = "c66e2044640197f4a5b5a16b89e8e7c6a816aa539004a0fb016aab185795f2d5";
+ };
+
+ nativeBuildInputs = [ rpmextract makeWrapper ];
+
+ libPath =
+ stdenv.lib.makeLibraryPath
+ [
+ openssl
+ ];
+
+ buildCommand = ''
+ mkdir -p $out/bin/
+ cd $out
+ rpmextract $src
+ rm -R usr/bin
+ mv usr/* $out
+ rmdir usr
+
+ ${patchelf}/bin/patchelf \
+ --set-interpreter $(cat $NIX_CC/nix-support/dynamic-linker) \
+ lib64/snowflake/snowsql/snowsql
+
+ makeWrapper $out/lib64/snowflake/snowsql/snowsql $out/bin/snowsql \
+ --set LD_LIBRARY_PATH "${libPath}":"${placeholder "out"}"/lib64/snowflake/snowsql \
+
+ '';
+
+ meta = with stdenv.lib; {
+ description = "Command line client for the Snowflake database";
+ homepage = "https://www.snowflake.com";
+ license = licenses.unfree;
+ maintainers = with maintainers; [ andehen ];
+ platforms = [ "x86_64-linux" ];
+ };
+}
diff --git a/nixpkgs/pkgs/applications/misc/st/default.nix b/nixpkgs/pkgs/applications/misc/st/default.nix
index 018fd9306ae..a772629a7aa 100644
--- a/nixpkgs/pkgs/applications/misc/st/default.nix
+++ b/nixpkgs/pkgs/applications/misc/st/default.nix
@@ -4,11 +4,12 @@
with stdenv.lib;
stdenv.mkDerivation rec {
- name = "st-0.8.3";
+ pname = "st";
+ version = "0.8.4";
src = fetchurl {
- url = "https://dl.suckless.org/st/${name}.tar.gz";
- sha256 = "0ll5wbw1szs70wdf8zy1y2ig5mfbqw2w4ls8d64r8z3y4gdf76lk";
+ url = "https://dl.suckless.org/st/${pname}-${version}.tar.gz";
+ sha256 = "19j66fhckihbg30ypngvqc9bcva47mp379ch5vinasjdxgn3qbfl";
};
inherit patches;
diff --git a/nixpkgs/pkgs/applications/misc/stretchly/default.nix b/nixpkgs/pkgs/applications/misc/stretchly/default.nix
index 87e8316c2c4..85098b0b003 100644
--- a/nixpkgs/pkgs/applications/misc/stretchly/default.nix
+++ b/nixpkgs/pkgs/applications/misc/stretchly/default.nix
@@ -1,8 +1,11 @@
-{ stdenv, lib, fetchurl, makeWrapper, wrapGAppsHook, electron
+{ stdenv, lib, fetchurl, makeWrapper, wrapGAppsHook, electron_7
, common-updater-scripts
, writeShellScript
}:
+let
+ electron = electron_7;
+in
stdenv.mkDerivation rec {
pname = "stretchly";
version = "0.21.1";
diff --git a/nixpkgs/pkgs/applications/misc/stupidterm/default.nix b/nixpkgs/pkgs/applications/misc/stupidterm/default.nix
index 0a6e947f15c..2016059d81e 100644
--- a/nixpkgs/pkgs/applications/misc/stupidterm/default.nix
+++ b/nixpkgs/pkgs/applications/misc/stupidterm/default.nix
@@ -15,7 +15,7 @@ stdenv.mkDerivation {
sha256 = "1f73wvqqvj5pr3fvb7jjc4bi1iwgkkknz24k8n69mdb75jnfjipp";
};
- makeFlags = [ "PKGCONFIG=${pkgconfig}/bin/pkg-config" "binary=stupidterm" ];
+ makeFlags = [ "PKGCONFIG=${pkgconfig}/bin/${pkgconfig.targetPrefix}pkg-config" "binary=stupidterm" ];
installPhase = ''
install -D stupidterm $out/bin/stupidterm
diff --git a/nixpkgs/pkgs/applications/misc/styx/default.nix b/nixpkgs/pkgs/applications/misc/styx/default.nix
index 67f48d67f80..06bf1bd5f2f 100644
--- a/nixpkgs/pkgs/applications/misc/styx/default.nix
+++ b/nixpkgs/pkgs/applications/misc/styx/default.nix
@@ -4,13 +4,13 @@
stdenv.mkDerivation rec {
pname = "styx";
- version = "0.7.1";
+ version = "0.7.2";
src = fetchFromGitHub {
owner = "styx-static";
repo = "styx";
- rev = "v${version}";
- sha256 = "01lklz7l9klqmmsncikwjnk3glzyz15c30118s82yd1chwpwhpfl";
+ rev = "0f0a878156eac416620a177cc030fa9f2f69b1b8";
+ sha256 = "0ig456j1s17w4zhhcmkrskpy6n7061v5f2isa3qhipmn0gwb91af";
};
server = "${caddy}/bin/caddy";
diff --git a/nixpkgs/pkgs/applications/misc/subsurface/0001-core-fix-libgit-ifdef-to-handle-libgit2-v1.0-and-onw.patch b/nixpkgs/pkgs/applications/misc/subsurface/0001-core-fix-libgit-ifdef-to-handle-libgit2-v1.0-and-onw.patch
deleted file mode 100644
index 027e3f493e1..00000000000
--- a/nixpkgs/pkgs/applications/misc/subsurface/0001-core-fix-libgit-ifdef-to-handle-libgit2-v1.0-and-onw.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-From dfa4bcafec4425659a409550085417af3c5c787b Mon Sep 17 00:00:00 2001
-From: Florian Klink <flokli@flokli.de>
-Date: Sat, 11 Apr 2020 12:38:38 +0200
-Subject: [PATCH] core: fix libgit ifdef to handle libgit2 v1.0 and onwards
-
-Conditional code for older libgit versions was removed in
-https://github.com/Subsurface-divelog/subsurface/pull/2737,
-but it's a non-trivial backport, and master currently isn't really ready
-for a release.
-
-So instead ship a patch fixing the one broken libgit2 conditional until
-a 4.10 release has been made.
-
-Note the inverted logic - the if branch now handles the old libgit
-condition, and the else branch the newer versions, consistent with how
-it's done in the rest of the subsurface codebase.
----
- core/git-access.c | 6 +++---
- 1 file changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/core/git-access.c b/core/git-access.c
-index 3688cb90c..9997fc8fd 100644
---- a/core/git-access.c
-+++ b/core/git-access.c
-@@ -359,10 +359,10 @@ static int try_to_git_merge(git_repository *repo, git_reference **local_p, git_r
- }
-
- git_merge_init_options(&merge_options, GIT_MERGE_OPTIONS_VERSION);
--#if !LIBGIT2_VER_MAJOR && LIBGIT2_VER_MINOR > 23
-- merge_options.flags = GIT_MERGE_FIND_RENAMES;
--#else
-+#if !LIBGIT2_VER_MAJOR && LIBGIT2_VER_MINOR <= 22
- merge_options.tree_flags = GIT_MERGE_TREE_FIND_RENAMES;
-+#else
-+ merge_options.flags = GIT_MERGE_FIND_RENAMES;
- #endif
- merge_options.file_favor = GIT_MERGE_FILE_FAVOR_UNION;
- merge_options.rename_threshold = 100;
---
-2.25.1
-
diff --git a/nixpkgs/pkgs/applications/misc/subsurface/default.nix b/nixpkgs/pkgs/applications/misc/subsurface/default.nix
index e189351022b..d8773240bac 100644
--- a/nixpkgs/pkgs/applications/misc/subsurface/default.nix
+++ b/nixpkgs/pkgs/applications/misc/subsurface/default.nix
@@ -4,13 +4,13 @@
}:
let
- version = "4.9.3";
+ version = "4.9.6";
subsurfaceSrc = (fetchFromGitHub {
- owner = "Subsurface-divelog";
+ owner = "Subsurface";
repo = "subsurface";
rev = "v${version}";
- sha256 = "1i07f7appifx9j205x5a7ng01wsipxr6n9a3692pm60jli2nsir5";
+ sha256 = "1w1ak0fi6ljhg2jc4mjqyrbpax3iawrnsaqq6ls7qdzrhi37rggf";
fetchSubmodules = true;
});
@@ -39,13 +39,13 @@ let
googlemaps = stdenv.mkDerivation rec {
pname = "googlemaps";
- version = "2017-12-18";
+ version = "2018-06-02";
src = fetchFromGitHub {
owner = "vladest";
repo = "googlemaps";
- rev = "79f3511d60dc9640de02a5f24656094c8982b26d";
- sha256 = "11334w0bnfb97sv23vvj2b5hcwvr0171hxldn91jms9y12l5j15d";
+ rev = "54a357f9590d9cf011bf1713589f66bad65e00eb";
+ sha256 = "159kslp6rj0qznzxijppwvv8jnswlfgf2pw4x8ladi8vp6bzxnzi";
};
nativeBuildInputs = [ qmake ];
@@ -78,9 +78,6 @@ in stdenv.mkDerivation {
src = subsurfaceSrc;
- # remove with the 4.10 release
- patches = [ ./0001-core-fix-libgit-ifdef-to-handle-libgit2-v1.0-and-onw.patch ];
-
buildInputs = [
libdc googlemaps
curl grantlee libgit2 libssh2 libusb-compat-0_1 libxml2 libxslt libzip
diff --git a/nixpkgs/pkgs/applications/misc/super_user_spark/default.nix b/nixpkgs/pkgs/applications/misc/super_user_spark/default.nix
deleted file mode 100644
index dd1218282d8..00000000000
--- a/nixpkgs/pkgs/applications/misc/super_user_spark/default.nix
+++ /dev/null
@@ -1,32 +0,0 @@
-{ mkDerivation, fetchgit, aeson, aeson-pretty, base, bytestring, directory
-, filepath, hspec, hspec-core, HUnit, mtl, optparse-applicative
-, parsec, process, pureMD5, QuickCheck, shelly, stdenv, text
-, transformers, unix
-}:
-mkDerivation {
- pname = "super-user-spark";
- version = "0.3.2.0-dev";
- src = fetchgit {
- url = "https://github.com/NorfairKing/super-user-spark";
- sha256 = "0akyc51bghzkk8j75n0i8v8rrsklidwvljhx3aibxfbkqp33372g";
- rev = "ab8635682d67842b9e6d909cf3c618014e4157f2";
- };
- isLibrary = true;
- isExecutable = true;
- libraryHaskellDepends = [
- aeson aeson-pretty base bytestring directory filepath mtl
- optparse-applicative parsec process pureMD5 shelly text
- transformers unix
- ];
- executableHaskellDepends = [ base ];
- testHaskellDepends = [
- aeson aeson-pretty base bytestring directory filepath hspec
- hspec-core HUnit mtl optparse-applicative parsec process pureMD5
- QuickCheck shelly text transformers unix
- ];
- jailbreak = true;
- description = "Configure your dotfile deployment with a DSL";
- license = stdenv.lib.licenses.mit;
- homepage = "https://github.com/NorfairKing/super-user-spark";
- maintainers = [ stdenv.lib.maintainers.badi ];
-}
diff --git a/nixpkgs/pkgs/applications/misc/sweethome3d/default.nix b/nixpkgs/pkgs/applications/misc/sweethome3d/default.nix
index 926db03652d..94875de7ebc 100644
--- a/nixpkgs/pkgs/applications/misc/sweethome3d/default.nix
+++ b/nixpkgs/pkgs/applications/misc/sweethome3d/default.nix
@@ -24,7 +24,7 @@ let
icon = pname;
comment = description;
genericName = "Computer Aided (Interior) Design";
- categories = "Application;Graphics;2DGraphics;3DGraphics;";
+ categories = "Graphics;2DGraphics;3DGraphics;";
};
patchPhase = ''
@@ -34,7 +34,7 @@ let
patchelf --set-rpath ${libXxf86vm}/lib lib/java3d-1.6/linux/i586/libnativewindow_x11.so
'';
- buildInputs = [ ant jdk jre makeWrapper p7zip gtk3 gsettings-desktop-schemas ];
+ buildInputs = [ ant jdk makeWrapper p7zip gtk3 gsettings-desktop-schemas ];
buildPhase = ''
ant furniture textures help
@@ -53,7 +53,7 @@ let
makeWrapper ${jre}/bin/java $out/bin/$exec \
--prefix XDG_DATA_DIRS : "$XDG_ICON_DIRS:${gtk3.out}/share:${gsettings-desktop-schemas}/share:$out/share:$GSETTINGS_SCHEMAS_PATH" \
- --add-flags "-jar $out/share/java/${module}-${version}.jar -cp $out/share/java/Furniture.jar:$out/share/java/Textures.jar:$out/share/java/Help.jar -d${toString stdenv.hostPlatform.parsed.cpu.bits}"
+ --add-flags "-Dsun.java2d.opengl=true -jar $out/share/java/${module}-${version}.jar -cp $out/share/java/Furniture.jar:$out/share/java/Textures.jar:$out/share/java/Help.jar -d${toString stdenv.hostPlatform.parsed.cpu.bits}"
'';
dontStrip = true;
diff --git a/nixpkgs/pkgs/applications/misc/sweethome3d/editors.nix b/nixpkgs/pkgs/applications/misc/sweethome3d/editors.nix
index ec759572443..d6b44a86e08 100644
--- a/nixpkgs/pkgs/applications/misc/sweethome3d/editors.nix
+++ b/nixpkgs/pkgs/applications/misc/sweethome3d/editors.nix
@@ -20,7 +20,7 @@ let
name = pname;
comment = description;
genericName = "Computer Aided (Interior) Design";
- categories = "Application;Graphics;2DGraphics;3DGraphics;";
+ categories = "Graphics;2DGraphics;3DGraphics;";
};
buildInputs = [ ant jre jdk makeWrapper gtk3 gsettings-desktop-schemas ];
diff --git a/nixpkgs/pkgs/applications/misc/syncthing-tray/default.nix b/nixpkgs/pkgs/applications/misc/syncthing-tray/default.nix
index 38826b7735f..1cb5bb441ed 100644
--- a/nixpkgs/pkgs/applications/misc/syncthing-tray/default.nix
+++ b/nixpkgs/pkgs/applications/misc/syncthing-tray/default.nix
@@ -23,6 +23,5 @@ buildGoPackage rec {
homepage = "https://github.com/alex2108/syncthing-tray";
license = licenses.mit;
maintainers = with maintainers; [ nickhu ];
- platforms = platforms.all;
};
}
diff --git a/nixpkgs/pkgs/applications/misc/syncthingtray/default.nix b/nixpkgs/pkgs/applications/misc/syncthingtray/default.nix
index 7af90535530..c45ea27c425 100644
--- a/nixpkgs/pkgs/applications/misc/syncthingtray/default.nix
+++ b/nixpkgs/pkgs/applications/misc/syncthingtray/default.nix
@@ -20,14 +20,14 @@
}:
mkDerivation rec {
- version = "0.10.9";
+ version = "0.11.0";
pname = "syncthingtray";
src = fetchFromGitHub {
owner = "Martchus";
repo = "syncthingtray";
rev = "v${version}";
- sha256 = "19kni5v9g0p4751bw2xb8dawg5yjkyk39vdy0m93448lsl8cqq04";
+ sha256 = "1lpjrij6y8l738hd7bfig0piglqinnqbadidzw9k0nm53bh4pqrr";
};
buildInputs = [ qtbase cpp-utilities qtutilities ]
diff --git a/nixpkgs/pkgs/applications/misc/synergy/default.nix b/nixpkgs/pkgs/applications/misc/synergy/default.nix
index bb922f3ca5b..b0722e18eea 100644
--- a/nixpkgs/pkgs/applications/misc/synergy/default.nix
+++ b/nixpkgs/pkgs/applications/misc/synergy/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, lib, fetchFromGitHub, cmake, openssl, qttools
+{ stdenv, lib, fetchpatch, fetchFromGitHub, cmake, openssl, qttools
, ApplicationServices, Carbon, Cocoa, CoreServices, ScreenSaver
, xlibsWrapper, libX11, libXi, libXtst, libXrandr, xinput, avahi-compat
, withGUI ? true, wrapQtAppsHook }:
@@ -14,7 +14,14 @@ stdenv.mkDerivation rec {
sha256 = "1jk60xw4h6s5crha89wk4y8rrf1f3bixgh5mzh3cq3xyrkba41gh";
};
- patches = [ ./build-tests.patch
+ patches = [
+ ./build-tests.patch
+ (fetchpatch {
+ name = "CVE-2020-15117.patch";
+ url = "https://github.com/symless/synergy-core/commit/"
+ + "0a97c2be0da2d0df25cb86dfd642429e7a8bea39.patch";
+ sha256 = "03q8m5n50fms7fjfjgmqrgy9mrxwi9kkz3f3vlrs2x5h21dl6bmj";
+ })
] ++ lib.optional stdenv.isDarwin ./macos_build_fix.patch;
# Since the included gtest and gmock don't support clang and the
@@ -75,7 +82,7 @@ stdenv.mkDerivation rec {
description = "Share one mouse and keyboard between multiple computers";
homepage = "http://synergy-project.org/";
license = licenses.gpl2;
- maintainers = with maintainers; [ aszlig enzime ];
+ maintainers = with maintainers; [ enzime ];
platforms = platforms.all;
};
}
diff --git a/nixpkgs/pkgs/applications/misc/systembus-notify/default.nix b/nixpkgs/pkgs/applications/misc/systembus-notify/default.nix
index 28c1be4219d..374adc6c89b 100644
--- a/nixpkgs/pkgs/applications/misc/systembus-notify/default.nix
+++ b/nixpkgs/pkgs/applications/misc/systembus-notify/default.nix
@@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "systembus-notify";
- version = "1.0";
+ version = "1.1";
src = fetchFromGitHub {
owner = "rfjakob";
repo = "systembus-notify";
rev = "v${version}";
- sha256 = "11zq84qfmbyl51d3r6294l2bjhlgwa9bx7d263g9fkqrwsg0si0y";
+ sha256 = "1pdn45rfpwhrf20hs87qmk2j8sr7ab8161f81019wnypnb1q2fsv";
};
buildInputs = [ systemd ];
diff --git a/nixpkgs/pkgs/applications/misc/taskell/default.nix b/nixpkgs/pkgs/applications/misc/taskell/default.nix
deleted file mode 100644
index 488e49c2181..00000000000
--- a/nixpkgs/pkgs/applications/misc/taskell/default.nix
+++ /dev/null
@@ -1,65 +0,0 @@
-{ lib, haskellPackages, fetchFromGitHub }:
-
-let
- version = "1.7.3";
- sha256 = "1439fh79ilc6jvz894cfzhk7gy5r2sv4v79bvqmmqbzbqk9qsbvx";
-
-in (haskellPackages.mkDerivation {
- pname = "taskell";
- inherit version;
-
- src = fetchFromGitHub {
- owner = "smallhadroncollider";
- repo = "taskell";
- rev = version;
- inherit sha256;
- };
-
- postPatch = ''${haskellPackages.hpack}/bin/hpack'';
-
- # basically justStaticExecutables; TODO: use justStaticExecutables
- enableSharedExecutables = false;
- enableLibraryProfiling = false;
- isExecutable = true;
- doHaddock = false;
- postFixup = "rm -rf $out/lib $out/nix-support $out/share/doc";
-
- # copied from packages.yaml
- libraryHaskellDepends = with haskellPackages; [
- classy-prelude
- # base <=5
- aeson
- brick
- # bytestring
- config-ini
- # containers
- # directory
- file-embed
- fold-debounce
- http-conduit
- http-client
- http-types
- lens
- raw-strings-qq
- # mtl
- # template-haskell
- # text
- time
- vty
- ];
-
- executableHaskellDepends = [];
-
- testHaskellDepends = with haskellPackages; [
- tasty
- tasty-discover
- tasty-expected-failure
- tasty-hunit
- ];
-
- description = "Command-line Kanban board/task manager with support for Trello boards and GitHub projects";
- homepage = "https://taskell.app";
- license = lib.licenses.bsd3;
- maintainers = with lib.maintainers; [ matthiasbeyer ];
- platforms = with lib.platforms; unix ++ darwin;
-})
diff --git a/nixpkgs/pkgs/applications/misc/tdrop/default.nix b/nixpkgs/pkgs/applications/misc/tdrop/default.nix
index 020298a0c52..f9e2ea34b39 100644
--- a/nixpkgs/pkgs/applications/misc/tdrop/default.nix
+++ b/nixpkgs/pkgs/applications/misc/tdrop/default.nix
@@ -1,24 +1,34 @@
{ stdenv, lib, fetchFromGitHub, makeWrapper
-, xwininfo, xdotool, xprop }:
+, xwininfo, xdotool, xprop, gawk, coreutils
+, gnugrep, procps }:
stdenv.mkDerivation {
pname = "tdrop";
- version = "unstable-2018-11-13";
+ version = "unstable-2020-05-14";
src = fetchFromGitHub {
owner = "noctuid";
repo = "tdrop";
- rev = "198795c0d2573a31979330d6a2ae946eb81deebf";
- sha256 = "1fhibqgmls64mylcb6q46ipmg1q6pvaqm26vz933gqav6cqsbdzs";
+ rev = "a9f2862515e5c190ac61d394e7fe7e1039871b89";
+ sha256 = "1zxhihgba33k8byjsracsyhby9qpdngbly6c8hpz3pbsyag5liwc";
};
dontBuild = true;
installFlags = [ "PREFIX=$(out)" ];
- postInstall = ''
- wrapProgram $out/bin/tdrop \
- --prefix PATH : ${lib.makeBinPath [ xwininfo xdotool xprop ]}
+ postInstall = let
+ binPath = lib.makeBinPath [
+ xwininfo
+ xdotool
+ xprop
+ gawk
+ coreutils
+ gnugrep
+ procps
+ ];
+ in ''
+ wrapProgram $out/bin/tdrop --prefix PATH : ${binPath}
'';
nativeBuildInputs = [ makeWrapper ];
diff --git a/nixpkgs/pkgs/applications/misc/teleprompter/default.nix b/nixpkgs/pkgs/applications/misc/teleprompter/default.nix
index 7cca3afa764..37b3f10329b 100644
--- a/nixpkgs/pkgs/applications/misc/teleprompter/default.nix
+++ b/nixpkgs/pkgs/applications/misc/teleprompter/default.nix
@@ -1,5 +1,8 @@
-{ lib, stdenv, fetchurl, electron, makeDesktopItem, makeWrapper, nodePackages, autoPatchelfHook}:
+{ lib, stdenv, fetchurl, electron_4, makeDesktopItem, makeWrapper, nodePackages, autoPatchelfHook}:
+let
+ electron = electron_4;
+in
stdenv.mkDerivation rec {
pname = "teleprompter";
version = "2.3.4";
diff --git a/nixpkgs/pkgs/applications/misc/tellico/default.nix b/nixpkgs/pkgs/applications/misc/tellico/default.nix
new file mode 100644
index 00000000000..401f1f1d718
--- /dev/null
+++ b/nixpkgs/pkgs/applications/misc/tellico/default.nix
@@ -0,0 +1,67 @@
+{ lib
+, fetchurl
+, mkDerivation
+, kdeApplications
+, kinit
+, kdelibs4support
+, solid
+, kxmlgui
+, karchive
+, kfilemetadata
+, khtml
+, knewstuff
+, libksane
+, cmake
+, exempi
+, extra-cmake-modules
+, libcdio
+, poppler
+, makeWrapper
+, kdoctools
+}:
+
+mkDerivation rec {
+ name = "tellico";
+ version = "3.3.0";
+
+ src = fetchurl {
+ url = "https://tellico-project.org/files/tellico-${lib.versions.majorMinor version}.tar.xz";
+ sha256 = "1digkpvzrsbv5znf1cgzs6zkmysfz6lzs12n12mrrpgkcdxc426y";
+ };
+
+ patches = [
+ ./hex.patch
+ ];
+
+ nativeBuildInputs = [
+ cmake
+ extra-cmake-modules
+ kdoctools
+ makeWrapper
+ ];
+
+ buildInputs = [
+ kdelibs4support
+ solid
+ kxmlgui
+ karchive
+ kfilemetadata
+ khtml
+ knewstuff
+ libksane
+ cmake
+ exempi
+ extra-cmake-modules
+ libcdio
+ kdeApplications.libkcddb
+ poppler
+ ];
+
+ meta = {
+ description = "Collection management software, free and simple";
+ homepage = "https://tellico-project.org/";
+ maintainers = with lib.maintainers; [ numkem ];
+ license = with lib.licenses; [ gpl2 gpl3 ];
+ platforms = lib.platforms.linux;
+ };
+}
diff --git a/nixpkgs/pkgs/applications/misc/tellico/hex.patch b/nixpkgs/pkgs/applications/misc/tellico/hex.patch
new file mode 100644
index 00000000000..999c502287e
--- /dev/null
+++ b/nixpkgs/pkgs/applications/misc/tellico/hex.patch
@@ -0,0 +1,15 @@
+index 7ea81c7..0c19767 100644
+--- a/src/utils/iso5426converter.cpp
++++ b/src/utils/iso5426converter.cpp
+@@ -1211,7 +1211,11 @@ QChar Iso5426Converter::getCombiningChar(uint c) {
+ return 0x1EF1; // SMALL LETTER U WITH HORN AND DOT BELOW
+
+ default:
++#if (QT_VERSION < QT_VERSION_CHECK(5, 14, 0))
++ myDebug() << "no match for" << hex << c;
++#else
+ myDebug() << "no match for" << Qt::hex << c;
++#endif
+ return QChar();
+ }
+ }
diff --git a/nixpkgs/pkgs/applications/misc/terminal-parrot/default.nix b/nixpkgs/pkgs/applications/misc/terminal-parrot/default.nix
index accaf62c60e..52116a52fbb 100644
--- a/nixpkgs/pkgs/applications/misc/terminal-parrot/default.nix
+++ b/nixpkgs/pkgs/applications/misc/terminal-parrot/default.nix
@@ -13,11 +13,12 @@ buildGoModule rec {
vendorSha256 = "1qalnhhq3fmyzj0hkzc5gk9wbypr558mz3ik5msw7fid68k2i48c";
+ doCheck = false;
+
meta = with stdenv.lib; {
description = "Shows colorful, animated party parrot in your terminial";
homepage = "https://github.com/jmhobbs/terminal-parrot";
license = licenses.mit;
- platforms = platforms.all;
maintainers = [ maintainers.heel ];
};
-} \ No newline at end of file
+}
diff --git a/nixpkgs/pkgs/applications/misc/thinking-rock/default.nix b/nixpkgs/pkgs/applications/misc/thinking-rock/default.nix
index fd6065010fb..2b5c9da4b17 100644
--- a/nixpkgs/pkgs/applications/misc/thinking-rock/default.nix
+++ b/nixpkgs/pkgs/applications/misc/thinking-rock/default.nix
@@ -32,10 +32,10 @@ stdenv.mkDerivation {
installPhase = ":";
- meta = {
+ meta = with stdenv.lib; {
description = "Task management system";
homepage = "http://www.thinkingrock.com.au/";
- license = "CDDL"; # Common Development and Distribution License
- platforms = stdenv.lib.platforms.unix;
+ license = licenses.cddl;
+ platforms = platforms.unix;
};
}
diff --git a/nixpkgs/pkgs/applications/misc/tilda/default.nix b/nixpkgs/pkgs/applications/misc/tilda/default.nix
index 84d37a4f461..0a672b039f6 100644
--- a/nixpkgs/pkgs/applications/misc/tilda/default.nix
+++ b/nixpkgs/pkgs/applications/misc/tilda/default.nix
@@ -7,13 +7,13 @@ with stdenv.lib;
stdenv.mkDerivation rec {
pname = "tilda";
- version = "1.5.1";
+ version = "1.5.2";
src = fetchFromGitHub {
owner = "lanoxx";
repo = "tilda";
rev = "${pname}-${version}";
- sha256 = "1kk69sg7ph906yr5jagkjx0qfkhr5w2nyx407wl2dsjimbps44rd";
+ sha256 = "0psq0f4s0s92bba6wwcf6b0j7i59b76svqxhvpavwv53yvhmmamn";
};
nativeBuildInputs = [ autoreconfHook makeWrapper pkgconfig ];
diff --git a/nixpkgs/pkgs/applications/misc/timewarrior/default.nix b/nixpkgs/pkgs/applications/misc/timewarrior/default.nix
index 25cd3a53670..7b1d3c302b1 100644
--- a/nixpkgs/pkgs/applications/misc/timewarrior/default.nix
+++ b/nixpkgs/pkgs/applications/misc/timewarrior/default.nix
@@ -2,7 +2,7 @@
stdenv.mkDerivation rec {
pname = "timewarrior";
- version = "1.3.0";
+ version = "1.4.2";
enableParallelBuilding = true;
@@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
owner = "GothenburgBitFactory";
repo = "timewarrior";
rev = "v${version}";
- sha256 = "1aijh1ad7gpa61cn7b57w24vy7fyjj0zx5k9z8d6m1ldzbw589cl";
+ sha256 = "0qvhpva0hmhybn0c2aajndw5vnxar1jw4pjjajd2k2cr6vax29dw";
fetchSubmodules = true;
};
diff --git a/nixpkgs/pkgs/applications/misc/tint2/default.nix b/nixpkgs/pkgs/applications/misc/tint2/default.nix
index dc991402eec..326dd3c0d92 100644
--- a/nixpkgs/pkgs/applications/misc/tint2/default.nix
+++ b/nixpkgs/pkgs/applications/misc/tint2/default.nix
@@ -1,7 +1,25 @@
-{ stdenv, fetchFromGitLab, pkgconfig, cmake, gettext, cairo, pango, pcre
-, glib, imlib2, gtk2, libXinerama, libXrender, libXcomposite, libXdamage
-, libX11, libXrandr, librsvg, libpthreadstubs, libXdmcp
-, libstartup_notification, wrapGAppsHook
+{ stdenv
+, fetchFromGitLab
+, pkg-config
+, cmake
+, gettext
+, cairo
+, pango
+, pcre
+, glib
+, imlib2
+, gtk2
+, libXinerama
+, libXrender
+, libXcomposite
+, libXdamage
+, libX11
+, libXrandr
+, librsvg
+, libpthreadstubs
+, libXdmcp
+, libstartup_notification
+, wrapGAppsHook
}:
stdenv.mkDerivation rec {
@@ -15,13 +33,35 @@ stdenv.mkDerivation rec {
sha256 = "1937z0kixb6r82izj12jy4x8z4n96dfq1hx05vcsvsg1sx3wxgb0";
};
- enableParallelBuilding = true;
+ nativeBuildInputs = [
+ pkg-config
+ cmake
+ gettext
+ wrapGAppsHook
+ ];
- nativeBuildInputs = [ pkgconfig cmake gettext wrapGAppsHook ];
+ buildInputs = [
+ cairo
+ pango
+ pcre
+ glib
+ imlib2
+ gtk2
+ libXinerama
+ libXrender
+ libXcomposite
+ libXdamage
+ libX11
+ libXrandr
+ librsvg
+ libpthreadstubs
+ libXdmcp
+ libstartup_notification
+ ];
- buildInputs = [ cairo pango pcre glib imlib2 gtk2 libXinerama libXrender
- libXcomposite libXdamage libX11 libXrandr librsvg libpthreadstubs
- libXdmcp libstartup_notification ];
+ cmakeFlags = [
+ "-Ddocdir=share/doc/${pname}"
+ ];
postPatch = ''
for f in ./src/launcher/apps-common.c \
diff --git a/nixpkgs/pkgs/applications/misc/tipp10/default.nix b/nixpkgs/pkgs/applications/misc/tipp10/default.nix
index 8316fd918ab..689c5aa3a9e 100644
--- a/nixpkgs/pkgs/applications/misc/tipp10/default.nix
+++ b/nixpkgs/pkgs/applications/misc/tipp10/default.nix
@@ -3,13 +3,13 @@
mkDerivation rec {
pname = "tipp10";
- version = "3.1.0";
+ version = "unstable-20200616";
src = fetchFromGitLab {
- owner = "a_a";
- repo = pname;
- rev = "v${version}";
- sha256 = "1mksga1zyqz1y2s524nkw86irg36zpjwz7ff87n2ygrlysczvnx1";
+ owner = "tipp10";
+ repo = "tipp10";
+ rev = "2dd6d45c8a91cff7075675d8875721456cdd5f1b";
+ sha256 = "16x51rv4r6cz5vsmrfbakqzbfxy456h82ibzacknp35f41cjdqq4";
};
nativeBuildInputs = [ cmake qttools ];
diff --git a/nixpkgs/pkgs/applications/misc/tippecanoe/default.nix b/nixpkgs/pkgs/applications/misc/tippecanoe/default.nix
index c85192603cb..455876a772b 100644
--- a/nixpkgs/pkgs/applications/misc/tippecanoe/default.nix
+++ b/nixpkgs/pkgs/applications/misc/tippecanoe/default.nix
@@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "tippecanoe";
- version = "1.35.0";
+ version = "1.36.0";
src = fetchFromGitHub {
owner = "mapbox";
repo = pname;
rev = version;
- sha256 = "0v5ycc3gsqnl9pps3m45yrnb1gvw5pk6jdyr0q6516b4ac6x67m5";
+ sha256 = "0lbmhly4ivnqc6qk1k3sdqvsg6x3nfd8gnjx846bhqj4wag3f88m";
};
buildInputs = [ sqlite zlib ];
@@ -25,5 +25,6 @@ stdenv.mkDerivation rec {
license = licenses.bsd2;
maintainers = with maintainers; [ sikmir ];
platforms = with platforms; linux ++ darwin;
+ broken = stdenv.hostPlatform.isAarch64;
};
}
diff --git a/nixpkgs/pkgs/applications/misc/todiff/default.nix b/nixpkgs/pkgs/applications/misc/todiff/default.nix
index f55b3852e5b..431f922eeee 100644
--- a/nixpkgs/pkgs/applications/misc/todiff/default.nix
+++ b/nixpkgs/pkgs/applications/misc/todiff/default.nix
@@ -20,6 +20,5 @@ rustPlatform.buildRustPackage rec {
homepage = "https://github.com/Ekleog/todiff";
maintainers = with maintainers; [ ekleog ];
license = licenses.mit;
- platforms = platforms.all;
};
}
diff --git a/nixpkgs/pkgs/applications/misc/todoist-electron/default.nix b/nixpkgs/pkgs/applications/misc/todoist-electron/default.nix
index be9027f9d09..e1d578edb0f 100644
--- a/nixpkgs/pkgs/applications/misc/todoist-electron/default.nix
+++ b/nixpkgs/pkgs/applications/misc/todoist-electron/default.nix
@@ -4,11 +4,11 @@
stdenv.mkDerivation rec {
pname = "todoist-electron";
- version = "1.22";
+ version = "1.23.0";
src = fetchurl {
- url = "https://github.com/KryDos/todoist-linux/releases/download/${version}/Todoist_${version}.0_amd64.deb";
- sha256 = "09w2040xkvv78190fmhx99c0dwy7vpab5fvxs67s7yyjwh5n4693";
+ url = "https://github.com/KryDos/todoist-linux/releases/download/${version}/Todoist_${version}_amd64.deb";
+ sha256 = "1yxa0fdc3fnffny6jf1hm7545792pw7828mc27il17l4kn346g98";
};
desktopItem = makeDesktopItem {
diff --git a/nixpkgs/pkgs/applications/misc/todoist/default.nix b/nixpkgs/pkgs/applications/misc/todoist/default.nix
index b3b3561227f..68388376f8f 100644
--- a/nixpkgs/pkgs/applications/misc/todoist/default.nix
+++ b/nixpkgs/pkgs/applications/misc/todoist/default.nix
@@ -13,10 +13,12 @@ buildGoModule rec {
vendorSha256 = "0cznb8glh36dwyyn1gx1ggkwa9zffrrxg52k78brnaczsl0rsmky";
+ doCheck = false;
+
meta = {
homepage = "https://github.com/sachaos/todoist";
description = "Todoist CLI Client";
license = lib.licenses.mit;
platforms = lib.platforms.unix;
};
-} \ No newline at end of file
+}
diff --git a/nixpkgs/pkgs/applications/misc/toot/default.nix b/nixpkgs/pkgs/applications/misc/toot/default.nix
index 5ce35f3292b..f46af56ed45 100644
--- a/nixpkgs/pkgs/applications/misc/toot/default.nix
+++ b/nixpkgs/pkgs/applications/misc/toot/default.nix
@@ -1,14 +1,14 @@
{ stdenv, fetchFromGitHub, python3Packages }:
python3Packages.buildPythonApplication rec {
- version = "0.26.0";
+ version = "0.27.0";
name = "toot-${version}";
src = fetchFromGitHub {
owner = "ihabunek";
repo = "toot";
rev = version;
- sha256 = "146jj83jixahgxwh12bbkfvci2wrz398h5x01kgppdy59m4pa4pl";
+ sha256 = "197g9lvwg8qnsf18kifcqdj3cpfdnxz9vay766rn9bi4nfz0s6j2";
};
checkInputs = with python3Packages; [ pytest ];
@@ -23,7 +23,7 @@ python3Packages.buildPythonApplication rec {
meta = with stdenv.lib; {
description = "Mastodon CLI interface";
homepage = "https://github.com/ihabunek/toot";
- license = licenses.mit;
+ license = licenses.gpl3;
maintainers = [ maintainers.matthiasbeyer ];
};
diff --git a/nixpkgs/pkgs/applications/misc/tootle/default.nix b/nixpkgs/pkgs/applications/misc/tootle/default.nix
index 904782f3e1f..9c6008b7934 100644
--- a/nixpkgs/pkgs/applications/misc/tootle/default.nix
+++ b/nixpkgs/pkgs/applications/misc/tootle/default.nix
@@ -1,5 +1,6 @@
{ stdenv
, fetchFromGitHub
+, nix-update-script
, fetchpatch
, vala
, meson
@@ -63,7 +64,7 @@ stdenv.mkDerivation rec {
'';
passthru = {
- updateScript = pantheon.updateScript {
+ updateScript = nix-update-script {
attrPath = pname;
};
};
diff --git a/nixpkgs/pkgs/applications/misc/tty-solitaire/default.nix b/nixpkgs/pkgs/applications/misc/tty-solitaire/default.nix
new file mode 100644
index 00000000000..00e6efb713e
--- /dev/null
+++ b/nixpkgs/pkgs/applications/misc/tty-solitaire/default.nix
@@ -0,0 +1,27 @@
+{ stdenv, fetchFromGitHub, ncurses }:
+
+stdenv.mkDerivation rec {
+ pname = "tty-solitaire";
+ version = "1.3.0";
+
+ src = fetchFromGitHub {
+ owner = "mpereira";
+ repo = pname;
+ rev = "v${version}";
+ sha256 = "0kix7wfy2bda8cw5kfm7bm5acd5fqmdl9g52ms9bza4kf2jnb754";
+ };
+
+ buildInputs = [ ncurses ];
+
+ patchPhase = "sed -i -e '/^CFLAGS *?= *-g *$/d' Makefile";
+
+ makeFlags = [ "CC=cc" "PREFIX=${placeholder "out"}" ];
+
+ meta = with stdenv.lib; {
+ description = "Klondike Solitaire in your ncurses terminal";
+ license = licenses.mit;
+ homepage = "https://github.com/mpereira/tty-solitaire";
+ platforms = ncurses.meta.platforms;
+ maintainers = [ maintainers.AndersonTorres ];
+ };
+}
diff --git a/nixpkgs/pkgs/applications/misc/tut/default.nix b/nixpkgs/pkgs/applications/misc/tut/default.nix
index 30868a9900e..d65e894417e 100644
--- a/nixpkgs/pkgs/applications/misc/tut/default.nix
+++ b/nixpkgs/pkgs/applications/misc/tut/default.nix
@@ -2,7 +2,7 @@
buildGoPackage rec {
pname = "tut";
- version = "0.0.8";
+ version = "0.0.14";
goPackagePath = "github.com/RasmusLindroth/tut";
goDeps = ./deps.nix;
@@ -11,7 +11,7 @@ buildGoPackage rec {
owner = "RasmusLindroth";
repo = pname;
rev = version;
- sha256 = "0wb5lf0zbhmg962p71bqlpyxn8f1n9fp1jh7y7fcg6w5mga8gqq3";
+ sha256 = "1l7lc6cjx97v9zhc0b6lfzqjmyv1i3qj83drkck36if3mc60vvwi";
};
meta = with stdenv.lib; {
diff --git a/nixpkgs/pkgs/applications/misc/ulauncher/default.nix b/nixpkgs/pkgs/applications/misc/ulauncher/default.nix
index 34ca82b8d04..81e273dd39d 100644
--- a/nixpkgs/pkgs/applications/misc/ulauncher/default.nix
+++ b/nixpkgs/pkgs/applications/misc/ulauncher/default.nix
@@ -1,5 +1,6 @@
{ stdenv
, fetchurl
+, nix-update-script
, python3Packages
, gdk-pixbuf
, glib
@@ -19,13 +20,13 @@
python3Packages.buildPythonApplication rec {
pname = "ulauncher";
- version = "5.7.3";
+ version = "5.8.0";
disabled = python3Packages.isPy27;
src = fetchurl {
url = "https://github.com/Ulauncher/Ulauncher/releases/download/${version}/ulauncher_${version}.tar.gz";
- sha256 = "0wq2zsq3496fjfg89q01dsm7sb7kv92sycvqm6ad8z1z2kpisrbh";
+ sha256 = "1czxzcxix9iwv1sir1q64j5aavc7lzjjwqpisgdc1kidkwnk05zp";
};
nativeBuildInputs = with python3Packages; [
@@ -103,6 +104,13 @@ python3Packages.buildPythonApplication rec {
gappsWrapperArgs+=(--prefix PATH : "${stdenv.lib.makeBinPath [ wmctrl ]}")
'';
+ passthru = {
+ updateScript = nix-update-script {
+ attrPath = pname;
+ };
+ };
+
+
meta = with stdenv.lib; {
description = "A fast application launcher for Linux, written in Python, using GTK";
homepage = "https://ulauncher.io/";
diff --git a/nixpkgs/pkgs/applications/misc/urlscan/default.nix b/nixpkgs/pkgs/applications/misc/urlscan/default.nix
index ef4684689b8..c5edd9133b7 100644
--- a/nixpkgs/pkgs/applications/misc/urlscan/default.nix
+++ b/nixpkgs/pkgs/applications/misc/urlscan/default.nix
@@ -2,13 +2,13 @@
python3Packages.buildPythonApplication rec {
pname = "urlscan";
- version = "0.9.4";
+ version = "0.9.5";
src = fetchFromGitHub {
owner = "firecat53";
repo = pname;
rev = version;
- sha256 = "11wkwjqsq848ks6m2jqsb8h0xnz75fb60bm0c4jkxys9wzy4chg5";
+ sha256 = "16g7dzvjcfhaz52wbmcapamy55l7vfhgizqy3m8dv9gkmy8vap89";
};
propagatedBuildInputs = [ python3Packages.urwid ];
diff --git a/nixpkgs/pkgs/applications/misc/waybar/default.nix b/nixpkgs/pkgs/applications/misc/waybar/default.nix
index 7ecaabe9a92..259eb93771b 100644
--- a/nixpkgs/pkgs/applications/misc/waybar/default.nix
+++ b/nixpkgs/pkgs/applications/misc/waybar/default.nix
@@ -1,5 +1,5 @@
{ stdenv, fetchFromGitHub, meson, pkgconfig, ninja, wrapGAppsHook
-, wayland, wlroots, gtkmm3, libinput, libsigcxx, jsoncpp, fmt, scdoc, spdlog, gtk-layer-shell
+, wayland, wlroots, gtkmm3, libsigcxx, jsoncpp, fmt, scdoc, spdlog, gtk-layer-shell
, howard-hinnant-date, cmake
, traySupport ? true, libdbusmenu-gtk3
, pulseSupport ? false, libpulseaudio
@@ -11,13 +11,13 @@
}:
stdenv.mkDerivation rec {
pname = "waybar";
- version = "0.9.2";
+ version = "0.9.3";
src = fetchFromGitHub {
owner = "Alexays";
repo = "Waybar";
rev = version;
- sha256 = "1gfxyjzwfqznyrpyr3322z3w844i1lh77kly4hcpy9y5gsfmlafy";
+ sha256 = "0ks719khhg2zwpyiwa2079i6962qcxpapm28hmr4ckpsp2n659ck";
};
nativeBuildInputs = [
@@ -32,7 +32,7 @@
strictDeps = false;
buildInputs = with stdenv.lib;
- [ wayland wlroots gtkmm3 libinput libsigcxx jsoncpp fmt spdlog gtk-layer-shell howard-hinnant-date ]
+ [ wayland wlroots gtkmm3 libsigcxx jsoncpp fmt spdlog gtk-layer-shell howard-hinnant-date ]
++ optional traySupport libdbusmenu-gtk3
++ optional pulseSupport libpulseaudio
++ optional nlSupport libnl
diff --git a/nixpkgs/pkgs/applications/misc/weather/default.nix b/nixpkgs/pkgs/applications/misc/weather/default.nix
index ce4fae1cb22..f44b5f1f56a 100644
--- a/nixpkgs/pkgs/applications/misc/weather/default.nix
+++ b/nixpkgs/pkgs/applications/misc/weather/default.nix
@@ -1,12 +1,12 @@
{ stdenv, fetchurl, pythonPackages }:
stdenv.mkDerivation rec {
- version = "2.3";
+ version = "2.4.1";
pname = "weather";
src = fetchurl {
url = "http://fungi.yuggoth.org/weather/src/${pname}-${version}.tar.xz";
- sha256 = "0inij30prqqcmzjwcmfzjjn0ya5klv18qmajgxipz1jr3lpqs546";
+ sha256 = "0nf680dl7a2vlgavdhj6ljq8a7lkhvr6zghkpzad53vmilxsndys";
};
nativeBuildInputs = [ pythonPackages.wrapPython ];
@@ -31,11 +31,11 @@ stdenv.mkDerivation rec {
wrapPythonPrograms
'';
- meta = {
+ meta = with stdenv.lib; {
homepage = "http://fungi.yuggoth.org/weather";
description = "Quick access to current weather conditions and forecasts";
- license = stdenv.lib.licenses.isc;
- maintainers = [ stdenv.lib.maintainers.matthiasbeyer ];
- platforms = with stdenv.lib.platforms; linux; # my only platform
+ license = licenses.isc;
+ maintainers = [ maintainers.matthiasbeyer ];
+ platforms = platforms.linux; # my only platform
};
}
diff --git a/nixpkgs/pkgs/applications/misc/wofi/default.nix b/nixpkgs/pkgs/applications/misc/wofi/default.nix
index 37b991e6d47..4aeff6c9ec8 100644
--- a/nixpkgs/pkgs/applications/misc/wofi/default.nix
+++ b/nixpkgs/pkgs/applications/misc/wofi/default.nix
@@ -1,28 +1,27 @@
-{ stdenv, lib, fetchhg, fetchpatch, pkg-config, meson, ninja, wayland, gtk3, wrapGAppsHook }:
+{ stdenv, lib, fetchhg, fetchpatch, pkg-config, meson, ninja, wayland, gtk3, wrapGAppsHook, installShellFiles }:
stdenv.mkDerivation rec {
pname = "wofi";
- version = "1.1.2";
+ version = "1.2.1";
src = fetchhg {
url = "https://hg.sr.ht/~scoopta/wofi";
rev = "v${version}";
- sha256 = "086j5wshawjbwdmmmldivfagc2rr7g5a2gk11l0snqqslm294xsn";
+ sha256 = "0hx61br19dlmc3lay23ww3n9ry06m7b6xrkjx7sk4vrg1422iq99";
};
- nativeBuildInputs = [ pkg-config meson ninja wrapGAppsHook ];
+ nativeBuildInputs = [ pkg-config meson ninja wrapGAppsHook installShellFiles ];
buildInputs = [ wayland gtk3 ];
- # Fixes icon bug on NixOS.
- # Will need to be removed on next release
- # see https://todo.sr.ht/~scoopta/wofi/54
patches = [
- (fetchpatch {
- url = "https://paste.sr.ht/blob/1cbddafac3806afb203940c029e78ce8390d8f49";
- sha256 = "1n4jpmh66p7asjhj0z2s94ny91lmaq4hhh2356nj406vlqr15vbb";
- })
+ # https://todo.sr.ht/~scoopta/wofi/121
+ ./do_not_follow_symlinks.patch
];
+ postInstall = ''
+ installManPage man/wofi*
+ '';
+
meta = with lib; {
description = "A launcher/menu program for wlroots based wayland compositors such as sway";
homepage = "https://hg.sr.ht/~scoopta/wofi";
diff --git a/nixpkgs/pkgs/applications/misc/wofi/do_not_follow_symlinks.patch b/nixpkgs/pkgs/applications/misc/wofi/do_not_follow_symlinks.patch
new file mode 100644
index 00000000000..f917c4c1685
--- /dev/null
+++ b/nixpkgs/pkgs/applications/misc/wofi/do_not_follow_symlinks.patch
@@ -0,0 +1,39 @@
+diff -r 3414ab984249 modes/run.c
+--- a/modes/run.c Tue Aug 11 19:07:49 2020 -0700
++++ b/modes/run.c Sat Aug 22 13:39:52 2020 +0200
+@@ -91,23 +91,10 @@
+
+ char* path = strdup(getenv("PATH"));
+
+- struct map* paths = map_init();
+-
+ char* save_ptr;
+ char* str = strtok_r(path, ":", &save_ptr);
+ do {
+
+- str = realpath(str, NULL);
+- if(str == NULL) {
+- continue;
+- }
+- if(map_contains(paths, str)) {
+- free(str);
+- continue;
+- }
+-
+- map_put(paths, str, "true");
+-
+ DIR* dir = opendir(str);
+ if(dir == NULL) {
+ continue;
+@@ -132,11 +119,9 @@
+ }
+ free(full_path);
+ }
+- free(str);
+ closedir(dir);
+ } while((str = strtok_r(NULL, ":", &save_ptr)) != NULL);
+ free(path);
+- map_free(paths);
+ map_free(cached);
+ map_free(entries);
+ }
diff --git a/nixpkgs/pkgs/applications/misc/worker/default.nix b/nixpkgs/pkgs/applications/misc/worker/default.nix
index 9e3022457a0..b19b1b86cf5 100644
--- a/nixpkgs/pkgs/applications/misc/worker/default.nix
+++ b/nixpkgs/pkgs/applications/misc/worker/default.nix
@@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
pname = "worker";
- version = "4.4.0";
+ version = "4.5.0";
src = fetchurl {
url = "http://www.boomerangsworld.de/cms/worker/downloads/${pname}-${version}.tar.gz";
- sha256 = "1k2svpzq01n1h9365nhi7r2k7dmsviczxi9m6fb80ccccdz7i530";
+ sha256 = "02xrdg1v784p4gfqjm1mlxqwi40qlbzhp68p5ksj96cjv6av5b5s";
};
buildInputs = [ libX11 ];
diff --git a/nixpkgs/pkgs/applications/misc/wtf/default.nix b/nixpkgs/pkgs/applications/misc/wtf/default.nix
index aeece53e779..612b97b5b53 100644
--- a/nixpkgs/pkgs/applications/misc/wtf/default.nix
+++ b/nixpkgs/pkgs/applications/misc/wtf/default.nix
@@ -7,16 +7,18 @@
buildGoModule rec {
pname = "wtf";
- version = "0.30.0";
+ version = "0.31.0";
src = fetchFromGitHub {
owner = "wtfutil";
repo = pname;
rev = "v${version}";
- sha256 = "11vy39zygk1gxb1nc1zmxlgs6fn7yq68090fwm2jar0lsxx8a83i";
+ sha256 = "07ngk83p753w9qxm8bvw6n5vk0zldn14yv08d900sxny8cg2h0rb";
};
- vendorSha256 = "0qfb352gmsmy5glrsjwc3w57di5k2kjdsyfqn4xf7p4v12yg88va";
+ vendorSha256 = "09iy148pnbdrzjj2j50lbd8s9mkv7vggrx77mj88p1gnqclz3lip";
+
+ doCheck = false;
buildFlagsArray = [ "-ldflags=-s -w -X main.version=${version}" ];
diff --git a/nixpkgs/pkgs/applications/misc/x3270/default.nix b/nixpkgs/pkgs/applications/misc/x3270/default.nix
new file mode 100644
index 00000000000..747d2653876
--- /dev/null
+++ b/nixpkgs/pkgs/applications/misc/x3270/default.nix
@@ -0,0 +1,44 @@
+{ stdenv, fetchurl, openssl, m4, expat
+, libX11, libXt, libXaw, libXmu, bdftopcf, mkfontdir
+, fontadobe100dpi, fontadobeutopia100dpi, fontbh100dpi
+, fontbhlucidatypewriter100dpi, fontbitstream100dpi
+, tcl
+, ncurses }:
+
+let
+ majorVersion = "4";
+ minorVersion = "0";
+ versionSuffix = "ga9";
+in stdenv.mkDerivation rec {
+ pname = "x3270";
+ version = "${majorVersion}.${minorVersion}${versionSuffix}";
+
+ src = fetchurl {
+ url = "http://x3270.bgp.nu/download/0${majorVersion}.0${minorVersion}/suite3270-${version}-src.tgz";
+ sha256 = "0km24rgll0s4ji6iz8lvy5ra76ds162s95y33w5px6697cwqkp9j";
+ };
+
+ buildFlags = "unix";
+
+ postConfigure = ''
+ pushd c3270 ; ./configure ; popd
+ '';
+
+ nativeBuildInputs = [ m4 ];
+ buildInputs = [
+ expat
+ libX11 libXt libXaw libXmu bdftopcf mkfontdir
+ fontadobe100dpi fontadobeutopia100dpi fontbh100dpi
+ fontbhlucidatypewriter100dpi fontbitstream100dpi
+ tcl
+ ncurses
+ expat
+ ];
+
+ meta = with stdenv.lib; {
+ description = "IBM 3270 terminal emulator for the X Window System";
+ homepage = "http://x3270.bgp.nu/index.html";
+ license = licenses.bsd3;
+ maintainers = [ maintainers.anna328p ];
+ };
+}
diff --git a/nixpkgs/pkgs/applications/misc/xbattbar/default.nix b/nixpkgs/pkgs/applications/misc/xbattbar/default.nix
new file mode 100644
index 00000000000..0864e24f8c9
--- /dev/null
+++ b/nixpkgs/pkgs/applications/misc/xbattbar/default.nix
@@ -0,0 +1,46 @@
+{ stdenv, fetchgit, libX11, perl, ... }:
+
+stdenv.mkDerivation rec {
+ pname = "xbattbar";
+ version = "1.4.9";
+
+ # The current active upstream of xbattbar seems to be the Debian source
+ # repository.
+ src = fetchgit {
+ url = "https://salsa.debian.org/debian/xbattbar.git";
+ rev = "upstream/${version}";
+ sha256 = "10w7gs0l4hzhdn38yqyr3az7n4ncmfnd6hhhly6lk5dg7k441ck6";
+ };
+
+ buildInputs = [ libX11 ];
+
+ # The following patches are applied:
+ # - sys-by-default: remove the APM checker binary, make the sys checker
+ # script the default. Rationale: checking battery status by /proc/apm is
+ # extremely oldschool and does not work on NixOS, while the sysfs script
+ # does.
+ # - perl shebang patches for acpi/sys scripts
+ # - unhardcode path to checker scripts
+ patchPhase = ''
+ patch -p1 < ${./sys-by-default.patch}
+ sed -i -e "s,/usr/lib/xbattbar/,$out/libexec/," xbattbar.c
+ sed -i -e "s,/usr/bin/perl,${perl}/bin/perl," xbattbar-check-acpi
+ sed -i -e "s,/usr/bin/perl,${perl}/bin/perl," xbattbar-check-sys
+ '';
+
+ installPhase = ''
+ mkdir -p $out/bin
+ mkdir -p $out/libexec
+ install -m 0755 xbattbar $out/bin/
+ install -m 0755 xbattbar-check-acpi $out/libexec/
+ install -m 0755 xbattbar-check-sys $out/libexec/
+ '';
+
+ meta = with stdenv.lib; {
+ description = "Display battery status in X11";
+ homepage = "https://salsa.debian.org/debian/xbattbar";
+ license = licenses.gpl2Plus;
+ platforms = platforms.linux;
+ maintainers = [ maintainers.q3k ];
+ };
+}
diff --git a/nixpkgs/pkgs/applications/misc/xbattbar/sys-by-default.patch b/nixpkgs/pkgs/applications/misc/xbattbar/sys-by-default.patch
new file mode 100644
index 00000000000..367f7217eec
--- /dev/null
+++ b/nixpkgs/pkgs/applications/misc/xbattbar/sys-by-default.patch
@@ -0,0 +1,26 @@
+diff --git a/xbattbar.c b/xbattbar.c
+index 1e26019..cb3eab5 100644
+--- a/xbattbar.c
++++ b/xbattbar.c
+@@ -75,9 +75,8 @@ char *ONOUT_C = "olive drab";
+ char *OFFIN_C = "blue";
+ char *OFFOUT_C = "red";
+
+-char *EXTERNAL_CHECK = "/usr/lib/xbattbar/xbattbar-check-apm";
++char *EXTERNAL_CHECK = "/usr/lib/xbattbar/xbattbar-check-sys";
+ char *EXTERNAL_CHECK_ACPI = "/usr/lib/xbattbar/xbattbar-check-acpi";
+-char *EXTERNAL_CHECK_SYS = "/usr/lib/xbattbar/xbattbar-check-sys";
+
+ int alwaysontop = False;
+
+@@ -245,10 +244,6 @@ main(int argc, char **argv)
+ EXTERNAL_CHECK = EXTERNAL_CHECK_ACPI;
+ break;
+
+- case 'r':
+- EXTERNAL_CHECK = EXTERNAL_CHECK_SYS;
+- break;
+-
+ case 's':
+ EXTERNAL_CHECK = optarg;
+ break;
diff --git a/nixpkgs/pkgs/applications/misc/xdragon/default.nix b/nixpkgs/pkgs/applications/misc/xdragon/default.nix
new file mode 100644
index 00000000000..74f1f755ec8
--- /dev/null
+++ b/nixpkgs/pkgs/applications/misc/xdragon/default.nix
@@ -0,0 +1,28 @@
+{ stdenv, fetchFromGitHub, pkg-config, gtk3 }:
+
+stdenv.mkDerivation rec {
+ pname = "xdragon";
+ version = "1.1.1";
+
+ src = fetchFromGitHub {
+ owner = "mwh";
+ repo = "dragon";
+ rev = "v${version}";
+ sha256 = "0fgzz39007fdjwq72scp0qygp2v3zc5f1xkm0sxaa8zxm25g1bra";
+ };
+
+ nativeBuildInputs = [ pkg-config ];
+ buildInputs = [ gtk3 ];
+
+ installFlags = [ "PREFIX=${placeholder "out"}/bin" ];
+ postInstall = ''
+ ln -s $out/bin/dragon $out/bin/xdragon
+ '';
+
+ meta = with stdenv.lib; {
+ description = "Simple drag-and-drop source/sink for X (called dragon in upstream)";
+ homepage = "https://github.com/mwh/dragon";
+ license = licenses.gpl3;
+ maintainers = with maintainers; [ das_j ];
+ };
+}
diff --git a/nixpkgs/pkgs/applications/misc/xmenu/default.nix b/nixpkgs/pkgs/applications/misc/xmenu/default.nix
new file mode 100644
index 00000000000..0904d1d048f
--- /dev/null
+++ b/nixpkgs/pkgs/applications/misc/xmenu/default.nix
@@ -0,0 +1,25 @@
+{ stdenv, fetchFromGitHub, imlib2, libX11, libXft, libXinerama }:
+
+stdenv.mkDerivation rec {
+ pname = "xmenu";
+ version = "4.3.1";
+
+ src = fetchFromGitHub {
+ owner = "phillbush";
+ repo = "xmenu";
+ rev = "v${version}";
+ sha256 = "0m97w1nwak5drcxxlyisqb73fxkapy2rlph9mg531kbx3k2h30r1";
+ };
+
+ buildInputs = [ imlib2 libX11 libXft libXinerama ];
+
+ postPatch = "sed -i \"s:/usr/local:$out:\" config.mk";
+
+ meta = with stdenv.lib; {
+ description = "XMenu is a menu utility for X";
+ homepage = "https://github.com/phillbush/xmenu";
+ license = licenses.publicDomain;
+ maintainers = with maintainers; [ neonfuz ];
+ platforms = platforms.all;
+ };
+}
diff --git a/nixpkgs/pkgs/applications/misc/xmrig/default.nix b/nixpkgs/pkgs/applications/misc/xmrig/default.nix
index 8fb07b1ae79..d4d93c77ed4 100644
--- a/nixpkgs/pkgs/applications/misc/xmrig/default.nix
+++ b/nixpkgs/pkgs/applications/misc/xmrig/default.nix
@@ -4,13 +4,13 @@
stdenv.mkDerivation rec {
pname = "xmrig";
- version = "5.11.2";
+ version = "5.11.3";
src = fetchFromGitHub {
owner = "xmrig";
repo = "xmrig";
rev = "v${version}";
- sha256 = "1mhqa9jb4475phhqnkc7k1mwgkan7zp7y4z2c7n2x43r48ghxpfx";
+ sha256 = "019g64rp6g0b0w17bm9l4q5lh7szc6ai8r3bfmy98ngi929r4rl7";
};
nativeBuildInputs = [ cmake ];
diff --git a/nixpkgs/pkgs/applications/misc/xmrig/proxy.nix b/nixpkgs/pkgs/applications/misc/xmrig/proxy.nix
index 524e2a99ae9..39cd5020409 100644
--- a/nixpkgs/pkgs/applications/misc/xmrig/proxy.nix
+++ b/nixpkgs/pkgs/applications/misc/xmrig/proxy.nix
@@ -4,13 +4,13 @@
stdenv.mkDerivation rec {
pname = "xmrig-proxy";
- version = "5.10.2";
+ version = "5.11.0";
src = fetchFromGitHub {
owner = "xmrig";
repo = "xmrig-proxy";
rev = "v${version}";
- sha256 = "1mkamkqhqj7nbvaxdim1rbc3f5sw410wzly4ln73ackzlvdwn319";
+ sha256 = "0wwvsmanvcn0kbb5zqrj8786yg9rmdbink6rsnsm7ifak1iwvls9";
};
nativeBuildInputs = [ cmake ];
diff --git a/nixpkgs/pkgs/applications/misc/xpdf/libxpdf.nix b/nixpkgs/pkgs/applications/misc/xpdf/libxpdf.nix
index 3b982b1766f..7b7d9051ada 100644
--- a/nixpkgs/pkgs/applications/misc/xpdf/libxpdf.nix
+++ b/nixpkgs/pkgs/applications/misc/xpdf/libxpdf.nix
@@ -8,7 +8,7 @@ stdenv.mkDerivation {
url = "ftp://ftp.foolabs.com/pub/xpdf/xpdf-3.02.tar.gz";
sha256 = "000zq4ddbwyxiki4vdwpmxbnw5n9hsg9hvwra2p33hslyib7sfmk";
};
-
+
patches = [
(fetchurl {
url = "ftp://ftp.foolabs.com/pub/xpdf/xpdf-3.02pl1.patch";
@@ -39,14 +39,15 @@ stdenv.mkDerivation {
cp -v goo/libGoo.a $out/lib/goo
cp -v fofi/libfofi.a $out/lib/fofi
cp -v xpdf/libxpdf.a $out/lib/xpdf
-
+
cp -v *.h $out/include
cp -v goo/*.h $out/include
cp -v fofi/*.h $out/include
cp -v xpdf/*.h $out/include
'';
-
- meta = {
- platforms = stdenv.lib.platforms.unix;
+
+ meta = with stdenv.lib; {
+ platforms = platforms.unix;
+ license = licenses.gpl2;
};
}
diff --git a/nixpkgs/pkgs/applications/misc/zathura/core/default.nix b/nixpkgs/pkgs/applications/misc/zathura/core/default.nix
index 44f200174d9..58b1a81c90f 100644
--- a/nixpkgs/pkgs/applications/misc/zathura/core/default.nix
+++ b/nixpkgs/pkgs/applications/misc/zathura/core/default.nix
@@ -24,18 +24,17 @@ stdenv.mkDerivation rec {
mesonFlags = [
"-Dsqlite=enabled"
"-Dmagic=enabled"
- # "-Dseccomp=enabled"
"-Dmanpages=enabled"
"-Dconvert-icon=enabled"
"-Dsynctex=enabled"
# Make sure tests are enabled for doCheck
"-Dtests=enabled"
- ];
+ ] ++ optional (!stdenv.isLinux) "-Dseccomp=disabled";
nativeBuildInputs = [
meson ninja pkgconfig desktop-file-utils python3.pkgs.sphinx
- gettext wrapGAppsHook libxml2 check
- ] ++ optional stdenv.isLinux appstream-glib;
+ gettext wrapGAppsHook libxml2 check appstream-glib
+ ];
buildInputs = [
gtk girara libintl sqlite glib file librsvg
diff --git a/nixpkgs/pkgs/applications/misc/zathura/pdf-mupdf/default.nix b/nixpkgs/pkgs/applications/misc/zathura/pdf-mupdf/default.nix
index 82c94d48068..32a2ec42011 100644
--- a/nixpkgs/pkgs/applications/misc/zathura/pdf-mupdf/default.nix
+++ b/nixpkgs/pkgs/applications/misc/zathura/pdf-mupdf/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, lib, meson, ninja, fetchurl
+{ stdenv, lib, meson, ninja, fetchurl, fetchpatch
, pkgconfig, zathura_core, cairo , gtk-mac-integration, girara, mupdf }:
stdenv.mkDerivation rec {
@@ -10,6 +10,14 @@ stdenv.mkDerivation rec {
sha256 = "1pjwsb7zwclxsvz229fl7y2saf1pv3ifwv3ay8viqxgrp9x3z9hq";
};
+ patches = [
+ # compatibility with MuPDF 1.17
+ (fetchpatch {
+ url = "https://git.pwmt.org/pwmt/zathura-pdf-mupdf/-/commit/c7f341addb76d5e6fd8c24c666d8fe97c451a4cb.patch";
+ sha256 = "12rikx2j7dpngfma9x4i504w58a8xx3rc0gmyz183v19hn54c075";
+ })
+ ];
+
nativeBuildInputs = [ meson ninja pkgconfig ];
buildInputs = [
diff --git a/nixpkgs/pkgs/applications/misc/zathura/wrapper.nix b/nixpkgs/pkgs/applications/misc/zathura/wrapper.nix
index 5d37b5190d0..7cd52e0c74f 100644
--- a/nixpkgs/pkgs/applications/misc/zathura/wrapper.nix
+++ b/nixpkgs/pkgs/applications/misc/zathura/wrapper.nix
@@ -1,21 +1,16 @@
{ symlinkJoin, lib, makeWrapper, zathura_core, file, plugins ? [] }:
-
-let
- pluginsPath = lib.makeSearchPath "lib/zathura" plugins;
-
-in symlinkJoin {
+symlinkJoin {
name = "zathura-with-plugins-${zathura_core.version}";
- paths = with zathura_core; [ man dev out ];
+ paths = with zathura_core; [ man dev out ] ++ plugins;
- inherit plugins;
buildInputs = [ makeWrapper ];
postBuild = ''
makeWrapper ${zathura_core.bin}/bin/zathura $out/bin/zathura \
--prefix PATH ":" "${lib.makeBinPath [ file ]}" \
- --add-flags --plugins-dir=${pluginsPath}
+ --add-flags --plugins-dir="$out/lib/zathura"
'';
meta = with lib; {
@@ -29,6 +24,6 @@ in symlinkJoin {
'';
license = licenses.zlib;
platforms = platforms.unix;
- maintainers = with maintainers; [ smironov globin ];
+ maintainers = with maintainers; [ smironov globin TethysSvensson ];
};
}
diff --git a/nixpkgs/pkgs/applications/misc/zettlr/default.nix b/nixpkgs/pkgs/applications/misc/zettlr/default.nix
new file mode 100644
index 00000000000..3d762d9ab2a
--- /dev/null
+++ b/nixpkgs/pkgs/applications/misc/zettlr/default.nix
@@ -0,0 +1,38 @@
+{ appimageTools, lib, fetchurl, gtk3, gsettings-desktop-schemas}:
+
+# Based on https://gist.github.com/msteen/96cb7df66a359b827497c5269ccbbf94 and joplin-desktop nixpkgs.
+let
+ pname = "zettlr";
+ version = "1.7.5";
+ name = "${pname}-${version}";
+ src = fetchurl {
+ url = "https://github.com/Zettlr/Zettlr/releases/download/v${version}/Zettlr-${version}-x86_64.appimage";
+ sha256 = "040lx01ywdpla34d4abkmh51kchr11s17la6fk6yq77y8zb87xzi";
+ };
+ appimageContents = appimageTools.extractType2 {
+ inherit name src;
+ };
+in appimageTools.wrapType2 rec {
+ inherit name src;
+
+ profile = ''
+ export XDG_DATA_DIRS=${gsettings-desktop-schemas}/share/gsettings-schemas/${gsettings-desktop-schemas.name}:${gtk3}/share/gsettings-schemas/${gtk3.name}:$XDG_DATA_DIRS
+ '';
+
+ multiPkgs = null; # no 32bit needed
+ extraPkgs = appimageTools.defaultFhsEnvArgs.multiPkgs;
+ extraInstallCommands = ''
+ mv $out/bin/{${name},${pname}}
+ install -m 444 -D ${appimageContents}/zettlr.desktop $out/share/applications/zettlr.desktop
+ install -m 444 -D ${appimageContents}/zettlr.png $out/share/icons/hicolor/512x512/apps/zettlr.png
+ substituteInPlace $out/share/applications/zettlr.desktop --replace 'Exec=AppRun' 'Exec=${pname}'
+ '';
+
+ meta = with lib; {
+ description = "A markdown editor for writing academic texts and taking notes";
+ homepage = "https://www.zettlr.com";
+ platforms = [ "x86_64-linux" ];
+ license = licenses.gpl3;
+ maintainers = with maintainers; [ tfmoraes ];
+ };
+}
diff --git a/nixpkgs/pkgs/applications/misc/zola/default.nix b/nixpkgs/pkgs/applications/misc/zola/default.nix
index d88d7296fd6..5c4df9880d9 100644
--- a/nixpkgs/pkgs/applications/misc/zola/default.nix
+++ b/nixpkgs/pkgs/applications/misc/zola/default.nix
@@ -1,22 +1,24 @@
-{ stdenv, fetchFromGitHub, rustPlatform, cmake, pkg-config, openssl, CoreServices }:
+{ stdenv, fetchFromGitHub, rustPlatform, cmake, pkg-config, openssl, oniguruma, CoreServices }:
rustPlatform.buildRustPackage rec {
pname = "zola";
- version = "0.11.0";
+ version = "0.12.0";
src = fetchFromGitHub {
owner = "getzola";
repo = pname;
rev = "v${version}";
- sha256 = "137ak9gzcn3689fmcb90wa4szw43rh2m51mf26l77a5gksn5y6cn";
+ sha256 = "119ikgall6bv1r6h1pqcmc6nxkxld2lch04gk860zzk54jragbrp";
};
- cargoSha256 = "0v40bcqh48dlhdc0kz7wm3q9r3i1m6j9s74bfiv237dqx5dymmsg";
+ cargoSha256 = "1jx5bgfmbv0wljps1yv6yir2pjlb0vwzzba4i2sv32awv9y0q3v6";
nativeBuildInputs = [ cmake pkg-config ];
- buildInputs = [ openssl ]
+ buildInputs = [ openssl oniguruma ]
++ stdenv.lib.optional stdenv.isDarwin CoreServices;
+ RUSTONIG_SYSTEM_LIBONIG = true;
+
postInstall = ''
install -D -m 444 completions/zola.bash \
-t $out/share/bash-completion/completions
@@ -31,6 +33,5 @@ rustPlatform.buildRustPackage rec {
homepage = "https://www.getzola.org/";
license = licenses.mit;
maintainers = with maintainers; [ dywedir ];
- platforms = platforms.all;
};
}