diff options
Diffstat (limited to 'pkgs/applications')
-rw-r--r-- | pkgs/applications/editors/neovim/wrapper.nix | 2 | ||||
-rw-r--r-- | pkgs/applications/misc/deckmaster/default.nix | 46 | ||||
-rw-r--r-- | pkgs/applications/misc/dwdiff/default.nix | 32 | ||||
-rw-r--r-- | pkgs/applications/networking/cluster/tilt/default.nix | 4 | ||||
-rw-r--r-- | pkgs/applications/networking/sync/wdt/default.nix | 24 | ||||
-rw-r--r-- | pkgs/applications/science/math/jags/default.nix | 4 | ||||
-rw-r--r-- | pkgs/applications/version-management/dvc/default.nix | 23 |
7 files changed, 116 insertions, 19 deletions
diff --git a/pkgs/applications/editors/neovim/wrapper.nix b/pkgs/applications/editors/neovim/wrapper.nix index 4fa666bc787..2a0d60ce5a7 100644 --- a/pkgs/applications/editors/neovim/wrapper.nix +++ b/pkgs/applications/editors/neovim/wrapper.nix @@ -45,7 +45,7 @@ let finalMakeWrapperArgs = [ "${neovim}/bin/nvim" "${placeholder "out"}/bin/nvim" ] ++ [ "--set" "NVIM_SYSTEM_RPLUGIN_MANIFEST" "${placeholder "out"}/rplugin.vim" ] - ++ optionals wrapRc [ "--add-flags" "--clean" "--add-flags" "-u ${writeText "init.vim" neovimRcContent}" ] + ++ optionals wrapRc [ "--add-flags" "-u ${writeText "init.vim" neovimRcContent}" ] ; in assert withPython2 -> throw "Python2 support has been removed from the neovim wrapper, please remove withPython2 and python2Env."; diff --git a/pkgs/applications/misc/deckmaster/default.nix b/pkgs/applications/misc/deckmaster/default.nix new file mode 100644 index 00000000000..34da4fe9394 --- /dev/null +++ b/pkgs/applications/misc/deckmaster/default.nix @@ -0,0 +1,46 @@ +{ lib +, stdenv +, buildGoModule +, fetchFromGitHub +, makeWrapper +, roboto +}: + +buildGoModule rec { + pname = "deckmaster"; + version = "0.8.0"; + + src = fetchFromGitHub { + owner = "muesli"; + repo = "deckmaster"; + rev = "v${version}"; + sha256 = "sha256-q2rUHfAvTGXBAGrZUtHMuZr6fYWmpha+al2FG8sCC0Y="; + }; + + vendorSha256 = "sha256-kj4lRHuQ9e0TOC4p4Ak3AB3Lx0JN1jqXaVKlee9EtCg="; + + proxyVendor = true; + + nativeBuildInputs = [ + makeWrapper + ]; + + ldflags = [ + "-s" + "-w" + ]; + + # Let the app find Roboto-*.ttf files (hard-coded file names). + postFixup = '' + wrapProgram $out/bin/deckmaster \ + --prefix XDG_DATA_DIRS : "${roboto.out}/share/" \ + ''; + + meta = with lib; { + description = "An application to control your Elgato Stream Deck on Linux"; + homepage = "https://github.com/muesli/deckmaster"; + license = licenses.mit; + maintainers = with maintainers; [ ianmjones ]; + platforms = platforms.linux; + }; +} diff --git a/pkgs/applications/misc/dwdiff/default.nix b/pkgs/applications/misc/dwdiff/default.nix new file mode 100644 index 00000000000..320f8e25bcb --- /dev/null +++ b/pkgs/applications/misc/dwdiff/default.nix @@ -0,0 +1,32 @@ +{ lib +, stdenv +, fetchurl +, gettext +, pkg-config +, icu +}: + +stdenv.mkDerivation rec { + pname = "dwdiff"; + version = "2.1.4"; + + src = fetchurl { + url = "https://os.ghalkes.nl/dist/dwdiff-${version}.tar.bz2"; + sha256 = "sha256-3xb+xE3LRn1lpCRqQ2KPk3QZlsF3PpMLkMbd4i3Vjgo="; + }; + + nativeBuildInputs = [ pkg-config ]; + + buildInputs = [ + gettext + icu + ]; + + meta = with lib; { + description = "Front-end for the diff program that operates at the word level instead of the line level"; + homepage = "https://os.ghalkes.nl/dwdiff.html"; + license = licenses.gpl3Only; + maintainers = with maintainers; [ onny ]; + }; + +} diff --git a/pkgs/applications/networking/cluster/tilt/default.nix b/pkgs/applications/networking/cluster/tilt/default.nix index 1dd8361f203..b97b20d6be6 100644 --- a/pkgs/applications/networking/cluster/tilt/default.nix +++ b/pkgs/applications/networking/cluster/tilt/default.nix @@ -5,13 +5,13 @@ buildGoModule rec { /* Do not use "dev" as a version. If you do, Tilt will consider itself running in development environment and try to serve assets from the source tree, which is not there once build completes. */ - version = "0.30.4"; + version = "0.30.5"; src = fetchFromGitHub { owner = "tilt-dev"; repo = pname; rev = "v${version}"; - sha256 = "sha256-AdT3qL0frsTi4R4AbmZlPDx0Q2RixC3e4AyEMgGgnlc="; + sha256 = "sha256-K7vQ2Pz35/ye5AhUez/fN7PhW3KRv5/4duG4JpvO5vY="; }; vendorSha256 = null; diff --git a/pkgs/applications/networking/sync/wdt/default.nix b/pkgs/applications/networking/sync/wdt/default.nix index 53a112790ba..f24e1255d5e 100644 --- a/pkgs/applications/networking/sync/wdt/default.nix +++ b/pkgs/applications/networking/sync/wdt/default.nix @@ -1,14 +1,26 @@ -{ stdenv, lib, fetchFromGitHub, cmake, folly, boost, gflags, glog, openssl, double-conversion, fmt }: +{ stdenv +, lib +, fetchFromGitHub +, cmake +, folly +, boost +, gflags +, glog +, openssl +, double-conversion +, fmt +, unstableGitUpdater +}: stdenv.mkDerivation { pname = "wdt"; - version = "unstable-2022-03-24"; + version = "unstable-2022-07-08"; src = fetchFromGitHub { owner = "facebook"; repo = "wdt"; - rev = "43319e59d0c77092468367cdadab37d12d7a2383"; - sha256 = "sha256-MajYK2eTUbWhEql0iTlgW5yLg9xAGZQk+Dx4fNxFFqw="; + rev = "8f01b7558a80e5f08b06244d2821c3eb5c1d6e9b"; + sha256 = "sha256-ozii7EA3j3F/o+lE2mPsUY5lrm3OOtK75gjGkrvoaQ0="; }; nativeBuildInputs = [ cmake ]; @@ -24,6 +36,10 @@ stdenv.mkDerivation { "-DWDT_USE_SYSTEM_FOLLY=ON" ]; + passthru = { + updateScript = unstableGitUpdater { }; + }; + meta = with lib; { description = "Warp speed Data Transfer"; homepage = "https://github.com/facebook/wdt"; diff --git a/pkgs/applications/science/math/jags/default.nix b/pkgs/applications/science/math/jags/default.nix index 3ddcd6206d6..1acc6a287ca 100644 --- a/pkgs/applications/science/math/jags/default.nix +++ b/pkgs/applications/science/math/jags/default.nix @@ -2,11 +2,11 @@ stdenv.mkDerivation rec { pname = "JAGS"; - version = "4.3.0"; + version = "4.3.1"; src = fetchurl { url = "mirror://sourceforge/mcmc-jags/JAGS-${version}.tar.gz"; - sha256 = "1z3icccg2ic56vmhyrpinlsvpq7kcaflk1731rgpvz9bk1bxvica"; + sha256 = "sha256-+SWDVbXp6xO9M8X6cg8MvrrOp9CkpCtxsPsUUB7hQik="; }; nativeBuildInputs = [ gfortran ]; diff --git a/pkgs/applications/version-management/dvc/default.nix b/pkgs/applications/version-management/dvc/default.nix index 382f08f7afc..2389cd98d89 100644 --- a/pkgs/applications/version-management/dvc/default.nix +++ b/pkgs/applications/version-management/dvc/default.nix @@ -20,6 +20,17 @@ python3.pkgs.buildPythonApplication rec { hash = "sha256-d1Tjqomr8Lcf+X+LZgi0wHlxXBUqHq/nAzDBbrxHAl4="; }; + postPatch = '' + substituteInPlace setup.cfg \ + --replace "grandalf==0.6" "grandalf" \ + --replace "scmrepo==0.0.25" "scmrepo" \ + --replace "dvc-data==0.0.16" "dvc-data" \ + --replace "dvc-render==0.0.6" "dvc-render" \ + --replace "setuptools_scm_git_archive==1.1" "setuptools_scm_git_archive" + substituteInPlace dvc/daemon.py \ + --subst-var-by dvc "$out/bin/dcv" + ''; + nativeBuildInputs = with python3.pkgs; [ setuptools-scm setuptools-scm-git-archive @@ -82,16 +93,6 @@ python3.pkgs.buildPythonApplication rec { importlib-resources ]; - postPatch = '' - substituteInPlace setup.cfg \ - --replace "grandalf==0.6" "grandalf" \ - --replace "scmrepo==0.0.25" "scmrepo" \ - --replace "dvc-data==0.0.16" "dvc-data" \ - --replace "dvc-render==0.0.6" "dvc-render" - substituteInPlace dvc/daemon.py \ - --subst-var-by dvc "$out/bin/dcv" - ''; - # Tests require access to real cloud services doCheck = false; @@ -100,5 +101,7 @@ python3.pkgs.buildPythonApplication rec { homepage = "https://dvc.org"; license = licenses.asl20; maintainers = with maintainers; [ cmcdragonkai fab ]; + # ImportError: cannot import name 'GDriveAuthError' from 'dvc_objects.fs.implementations.gdrive' + broken = true; }; } |