Merge master into haskell-updates

This commit is contained in:
github-actions[bot] 2022-12-25 00:13:17 +00:00 committed by GitHub
commit 9d4c902748
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
42 changed files with 371 additions and 118 deletions

View File

@ -55,7 +55,7 @@ Package version upgrades usually allow for simpler commit messages, including at
Pull requests should not be squash merged in order to keep complete commit messages and GPG signatures intact and must not be when the change doesn't make sense as a single commit. Pull requests should not be squash merged in order to keep complete commit messages and GPG signatures intact and must not be when the change doesn't make sense as a single commit.
This means that, when addressing review comments in order to keep the pull request in an always mergeable status, you will sometimes need to rewrite your branch's history and then force-push it with `git push --force-with-lease`. This means that, when addressing review comments in order to keep the pull request in an always mergeable status, you will sometimes need to rewrite your branch's history and then force-push it with `git push --force-with-lease`.
Useful git commands that can help a lot with this are `git commit --patch --amend` and `git rebase --interactive @~3`. For more details consult the git man pages. Useful git commands that can help a lot with this are `git commit --patch --amend` and `git rebase --interactive`. For more details consult the git man pages or online resources like [git-rebase.io](https://git-rebase.io/) or [The Pro Git Book](https://git-scm.com/book/en/v2/Git-Tools-Rewriting-History).
## Rebasing between branches (i.e. from master to staging) ## Rebasing between branches (i.e. from master to staging)

View File

@ -11,13 +11,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "fulcrum"; pname = "fulcrum";
version = "1.8.2"; version = "1.9.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "cculianu"; owner = "cculianu";
repo = "Fulcrum"; repo = "Fulcrum";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-sX9GeY+c/mcsAWApQ0E5LwoXZgWUC4w7YY8/PEzMhl8="; sha256 = "sha256-HAA5YRShLzxVP9aIP1RdDH09cZqjiZhZOxxc2EVGvx8=";
}; };
nativeBuildInputs = [ pkg-config qmake ]; nativeBuildInputs = [ pkg-config qmake ];

View File

@ -29,6 +29,8 @@ stdenv.mkDerivation rec {
rm -r external/{miniupnp,randomx,rapidjson,unbound} rm -r external/{miniupnp,randomx,rapidjson,unbound}
# export patched source for haven-gui # export patched source for haven-gui
cp -r . $source cp -r . $source
# fix build on aarch64-darwin
substituteInPlace CMakeLists.txt --replace "-march=x86-64" ""
''; '';
nativeBuildInputs = [ cmake pkg-config ]; nativeBuildInputs = [ cmake pkg-config ];
@ -59,7 +61,5 @@ stdenv.mkDerivation rec {
license = licenses.bsd3; license = licenses.bsd3;
platforms = platforms.all; platforms = platforms.all;
maintainers = with maintainers; [ kim0 ]; maintainers = with maintainers; [ kim0 ];
# never built on aarch64-darwin since first introduction in nixpkgs
broken = stdenv.isDarwin && stdenv.isAarch64;
}; };
} }

View File

@ -1,9 +1,6 @@
{ lib, stdenv { lib
, stdenv
, rtpPath , rtpPath
, vim
, vimCommandCheckHook
, vimGenDocHook
, neovimRequireCheckHook
, toVimPlugin , toVimPlugin
}: }:
@ -14,20 +11,22 @@ rec {
overrideAttrs = f: addRtp (drv.overrideAttrs f); overrideAttrs = f: addRtp (drv.overrideAttrs f);
}; };
buildVimPlugin = attrs@{ buildVimPlugin =
name ? "${attrs.pname}-${attrs.version}", { name ? "${attrs.pname}-${attrs.version}"
namePrefix ? "vimplugin-", , namePrefix ? "vimplugin-"
src, , src
unpackPhase ? "", , unpackPhase ? ""
configurePhase ? "", , configurePhase ? ""
buildPhase ? "", , buildPhase ? ""
preInstall ? "", , preInstall ? ""
postInstall ? "", , postInstall ? ""
path ? ".", , path ? "."
addonInfo ? null, , addonInfo ? null
... , meta ? { }
}: , ...
let drv = stdenv.mkDerivation (attrs // { }@attrs:
let
drv = stdenv.mkDerivation (attrs // {
name = namePrefix + name; name = namePrefix + name;
inherit unpackPhase configurePhase buildPhase addonInfo preInstall postInstall; inherit unpackPhase configurePhase buildPhase addonInfo preInstall postInstall;
@ -41,12 +40,17 @@ rec {
runHook postInstall runHook postInstall
''; '';
meta = {
platforms = lib.platforms.all;
} // meta;
}); });
in addRtp (toVimPlugin drv); in
addRtp (toVimPlugin drv);
buildVimPluginFrom2Nix = attrs: buildVimPlugin ({ buildVimPluginFrom2Nix = attrs: buildVimPlugin ({
# vim plugins may override this # vim plugins may override this
buildPhase = ":"; buildPhase = ":";
configurePhase =":"; configurePhase = ":";
} // attrs); } // attrs);
} }

View File

@ -533,6 +533,18 @@ final: prev:
meta.homepage = "https://github.com/derekelkins/agda-vim/"; meta.homepage = "https://github.com/derekelkins/agda-vim/";
}; };
ai-vim = buildVimPluginFrom2Nix {
pname = "ai.vim";
version = "2022-12-16";
src = fetchFromGitHub {
owner = "aduros";
repo = "ai.vim";
rev = "b5098a1d70be968444b6f3d9441443af3e357035";
sha256 = "1hx4zilzc0vf62hiwk3qgyn12mjs8fw0wq1fw9g1v3k9v512z4fb";
};
meta.homepage = "https://github.com/aduros/ai.vim/";
};
alchemist-vim = buildVimPluginFrom2Nix { alchemist-vim = buildVimPluginFrom2Nix {
pname = "alchemist.vim"; pname = "alchemist.vim";
version = "2020-04-27"; version = "2020-04-27";
@ -3310,6 +3322,18 @@ final: prev:
meta.homepage = "https://github.com/ellisonleao/glow.nvim/"; meta.homepage = "https://github.com/ellisonleao/glow.nvim/";
}; };
godbolt-nvim = buildVimPluginFrom2Nix {
pname = "godbolt.nvim";
version = "2022-12-17";
src = fetchFromGitHub {
owner = "p00f";
repo = "godbolt.nvim";
rev = "c7b3785afb3fcc28088acbddfba588d7552f664d";
sha256 = "0r5yfjhfkkpqpghy7pid7wd5r75cqhxh14iamvh65lmi79hs0hn3";
};
meta.homepage = "https://github.com/p00f/godbolt.nvim/";
};
golden-ratio = buildVimPluginFrom2Nix { golden-ratio = buildVimPluginFrom2Nix {
pname = "golden-ratio"; pname = "golden-ratio";
version = "2022-06-28"; version = "2022-06-28";

View File

@ -1151,6 +1151,8 @@ self: super: {
pname = "vim-markdown-composer-bin"; pname = "vim-markdown-composer-bin";
inherit (super.vim-markdown-composer) src version; inherit (super.vim-markdown-composer) src version;
cargoSha256 = "sha256-Vie8vLTplhaVU4E9IohvxERfz3eBpd62m8/1Ukzk8e4="; cargoSha256 = "sha256-Vie8vLTplhaVU4E9IohvxERfz3eBpd62m8/1Ukzk8e4=";
# tests require network access
doCheck = false;
}; };
in in
super.vim-markdown-composer.overrideAttrs (old: { super.vim-markdown-composer.overrideAttrs (old: {

View File

@ -43,6 +43,7 @@ https://github.com/eikenb/acp/,,
https://github.com/stevearc/aerial.nvim/,, https://github.com/stevearc/aerial.nvim/,,
https://github.com/Numkil/ag.nvim/,, https://github.com/Numkil/ag.nvim/,,
https://github.com/derekelkins/agda-vim/,, https://github.com/derekelkins/agda-vim/,,
https://github.com/aduros/ai.vim/,HEAD,
https://github.com/slashmili/alchemist.vim/,, https://github.com/slashmili/alchemist.vim/,,
https://github.com/dense-analysis/ale/,, https://github.com/dense-analysis/ale/,,
https://github.com/vim-scripts/align/,, https://github.com/vim-scripts/align/,,
@ -276,6 +277,7 @@ https://github.com/lewis6991/gitsigns.nvim/,,
https://github.com/gregsexton/gitv/,, https://github.com/gregsexton/gitv/,,
https://github.com/gleam-lang/gleam.vim/,, https://github.com/gleam-lang/gleam.vim/,,
https://github.com/ellisonleao/glow.nvim/,, https://github.com/ellisonleao/glow.nvim/,,
https://github.com/p00f/godbolt.nvim/,HEAD,
https://github.com/roman/golden-ratio/,, https://github.com/roman/golden-ratio/,,
https://github.com/buoto/gotests-vim/,, https://github.com/buoto/gotests-vim/,,
https://github.com/rmagatti/goto-preview/,, https://github.com/rmagatti/goto-preview/,,

View File

@ -391,8 +391,7 @@ rec {
} ./neovim-require-check-hook.sh) {}; } ./neovim-require-check-hook.sh) {};
inherit (import ./build-vim-plugin.nix { inherit (import ./build-vim-plugin.nix {
inherit lib stdenv rtpPath vim vimGenDocHook inherit lib stdenv rtpPath toVimPlugin;
toVimPlugin vimCommandCheckHook neovimRequireCheckHook;
}) buildVimPlugin buildVimPluginFrom2Nix; }) buildVimPlugin buildVimPluginFrom2Nix;

View File

@ -31,6 +31,9 @@ stdenv.mkDerivation {
''; '';
configureFlags = lib.optional withGNOME "--enable-gnome"; configureFlags = lib.optional withGNOME "--enable-gnome";
# error: implicitly declaring library function 'finite' with type 'int (double)'
NIX_CFLAGS_COMPILE = lib.optionalString (stdenv.isDarwin && stdenv.isAarch64) "-Dfinite=isfinite";
hardeningDisable = [ "format" ]; hardeningDisable = [ "format" ];
meta = with lib; { meta = with lib; {
@ -39,7 +42,5 @@ stdenv.mkDerivation {
maintainers = with maintainers; [ raskin ]; maintainers = with maintainers; [ raskin ];
license = licenses.gpl2; license = licenses.gpl2;
platforms = platforms.unix; platforms = platforms.unix;
# never built on aarch64-darwin since first introduction in nixpkgs
broken = stdenv.isDarwin && stdenv.isAarch64;
}; };
} }

View File

@ -35,6 +35,11 @@ stdenv.mkDerivation rec {
sha256 = "sha256-WjsVvFhwVCzclHxA+Gu2YtR2yK0Opqhncwlg9FEhOLk="; sha256 = "sha256-WjsVvFhwVCzclHxA+Gu2YtR2yK0Opqhncwlg9FEhOLk=";
}; };
postPatch = ''
substituteInPlace CMakeLists.txt \
--replace "set(CMAKE_OSX_ARCHITECTURES x86_64)" ""
'';
nativeBuildInputs = [ cmake pkg-config makeWrapper ]; nativeBuildInputs = [ cmake pkg-config makeWrapper ];
buildInputs = [ zlib ] buildInputs = [ zlib ]
@ -70,7 +75,5 @@ stdenv.mkDerivation rec {
license = licenses.unlicense; license = licenses.unlicense;
maintainers = with maintainers; [ OPNA2608 ]; maintainers = with maintainers; [ OPNA2608 ];
platforms = platforms.all; platforms = platforms.all;
# never built on aarch64-darwin since first introduction in nixpkgs
broken = stdenv.isDarwin && stdenv.isAarch64;
}; };
} }

View File

@ -1,11 +1,11 @@
{ lib, buildGoModule, fetchFromGitHub }: { lib, buildGoModule, fetchFromGitHub }:
# SHA of ${version} for the tool's help output. Unfortunately this is needed in build flags. # SHA of ${version} for the tool's help output. Unfortunately this is needed in build flags.
let rev = "5b97033257d0276c7b0d1b20412667a69d79261e"; let rev = "bd5465d6b2b2b92b517f4c6074008d22338ff509";
in in
buildGoModule rec { buildGoModule rec {
pname = "sonobuoy"; pname = "sonobuoy";
version = "0.56.13"; # Do not forget to update `rev` above version = "0.56.14"; # Do not forget to update `rev` above
ldflags = ldflags =
let t = "github.com/vmware-tanzu/sonobuoy"; let t = "github.com/vmware-tanzu/sonobuoy";
@ -20,10 +20,10 @@ buildGoModule rec {
owner = "vmware-tanzu"; owner = "vmware-tanzu";
repo = "sonobuoy"; repo = "sonobuoy";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-T0G0S8bj0QO1/eC/XMwiJ0ZcJC6KYB6gmj/bq2yYgAE="; sha256 = "sha256-YiVCdAdwdK9PcQ6VQQNAjLQq2X54vJmZfbHRjV2d8VQ=";
}; };
vendorSha256 = "sha256-SRR4TmNHbMOOMv6AXv/Qpn2KUQh+ZsFlzc5DpdyPLEU="; vendorSha256 = "sha256-Fqxkyl9AKZ7H4QSp2V/yztpeXHt57+LjpzzGtOPndX0=";
subPackages = [ "." ]; subPackages = [ "." ];

View File

@ -29,16 +29,15 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "chatty"; pname = "chatty";
version = "unstable-2022-09-20"; version = "0.7.0_rc4";
src = fetchFromGitLab { src = fetchFromGitLab {
domain = "source.puri.sm"; domain = "source.puri.sm";
owner = "Librem5"; owner = "Librem5";
repo = "chatty"; repo = "chatty";
# https://source.puri.sm/Librem5/chatty/-/tree/247c53fd990f7472ddd1a92c2f9e1299ae3ef4e4 rev = "v${version}";
rev = "247c53fd990f7472ddd1a92c2f9e1299ae3ef4e4";
fetchSubmodules = true; fetchSubmodules = true;
hash = "sha256-9hgQC0vLmmJJxrBWTdTIrJbSSwLS23uVoJri2ieCj4E="; hash = "sha256-/8Y82PYlR9ucnT7/BsUk+STmsftpUvSNJM3cwG+Iv/A=";
}; };
postPatch = '' postPatch = ''

View File

@ -0,0 +1,76 @@
{ lib
, stdenvNoCC
, fetchFromGitHub
, gitUpdater
, gnome-themes-extra
, gtk-engine-murrine
, jdupes
, sassc
, themeVariants ? [] # default: blue
, colorVariants ? [] # default: all
, sizeVariants ? [] # default: standard
, tweaks ? []
}:
let
pname = "fluent-gtk-theme";
in
lib.checkListOfEnum "${pname}: theme variants" [ "default" "purple" "pink" "red" "orange" "yellow" "green" "teal" "grey" "all" ] themeVariants
lib.checkListOfEnum "${pname}: color variants" [ "standard" "light" "dark" ] colorVariants
lib.checkListOfEnum "${pname}: size variants" [ "standard" "compact" ] sizeVariants
lib.checkListOfEnum "${pname}: tweaks" [ "solid" "float" "round" "blur" "noborder" "square" ] tweaks
stdenvNoCC.mkDerivation rec {
inherit pname;
version = "2022-12-15";
src = fetchFromGitHub {
owner = "vinceliuice";
repo = pname;
rev = version;
hash = "sha256-lGT6MIpc7cdAznZlbSJJ7aBzZPHucyfR8ZNMdJI0LP8=";
};
nativeBuildInputs = [
jdupes
sassc
];
buildInputs = [
gnome-themes-extra
];
propagatedUserEnvPkgs = [
gtk-engine-murrine
];
postPatch = ''
patchShebangs install.sh
'';
installPhase = ''
runHook preInstall
name= HOME="$TMPDIR" ./install.sh \
${lib.optionalString (themeVariants != []) "--theme " + builtins.toString themeVariants} \
${lib.optionalString (colorVariants != []) "--color " + builtins.toString colorVariants} \
${lib.optionalString (sizeVariants != []) "--size " + builtins.toString sizeVariants} \
${lib.optionalString (tweaks != []) "--tweaks " + builtins.toString tweaks} \
--dest $out/share/themes
jdupes --quiet --link-soft --recurse $out/share
runHook postInstall
'';
passthru.updateScript = gitUpdater { };
meta = with lib; {
description = "Fluent design gtk theme";
homepage = "https://github.com/vinceliuice/Fluent-gtk-theme";
license = licenses.gpl3Only;
platforms = platforms.unix;
maintainers = [ maintainers.romildo ];
};
}

View File

@ -86,7 +86,9 @@ stdenv.mkDerivation rec {
checkPhase = '' checkPhase = ''
runHook preCheck runHook preCheck
env \
XDG_DATA_DIRS="$XDG_DATA_DIRS:${shared-mime-info}/share" \ XDG_DATA_DIRS="$XDG_DATA_DIRS:${shared-mime-info}/share" \
GTK_A11Y=none \
xvfb-run -s '-screen 0 800x600x24' dbus-run-session \ xvfb-run -s '-screen 0 800x600x24' dbus-run-session \
--config-file=${dbus}/share/dbus-1/session.conf \ --config-file=${dbus}/share/dbus-1/session.conf \
meson test --no-rebuild --print-errorlogs meson test --no-rebuild --print-errorlogs

View File

@ -61,7 +61,10 @@ stdenv.mkDerivation rec {
checkPhase = '' checkPhase = ''
runHook preCheck runHook preCheck
HOME=$TMPDIR xvfb-run meson test --print-errorlogs env \
HOME="$TMPDIR" \
GTK_A11Y=none \
xvfb-run meson test --print-errorlogs
runHook postCheck runHook postCheck
''; '';

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchgit, autoreconfHook, pkg-config, gtk-doc, xkeyboard_config, libxml2, xorg, docbook_xsl { lib, stdenv, fetchgit, fetchpatch, autoreconfHook, pkg-config, gtk-doc, xkeyboard_config, libxml2, xorg, docbook_xsl
, glib, isocodes, gobject-introspection , glib, isocodes, gobject-introspection
, withDoc ? (stdenv.buildPlatform == stdenv.hostPlatform) , withDoc ? (stdenv.buildPlatform == stdenv.hostPlatform)
}: }:
@ -13,7 +13,14 @@ stdenv.mkDerivation rec {
sha256 = "1w1x5mrgly2ldiw3q2r6y620zgd89gk7n90ja46775lhaswxzv7a"; sha256 = "1w1x5mrgly2ldiw3q2r6y620zgd89gk7n90ja46775lhaswxzv7a";
}; };
patches = [ ./honor-XKB_CONFIG_ROOT.patch ]; patches = [
./honor-XKB_CONFIG_ROOT.patch
] ++ lib.optionals stdenv.isDarwin [
(fetchpatch {
url = "https://gitlab.freedesktop.org/archived-projects/libxklavier/-/commit/1387c21a788ec1ea203c8392ea1460fc29d83f70.patch";
sha256 = "sha256-fyWu7sVfDv/ozjhLSLCVsv+iNFawWgJqHUsQHHSkQn4=";
})
];
outputs = [ "out" "dev" ] ++ lib.optionals withDoc [ "devdoc" ]; outputs = [ "out" "dev" ] ++ lib.optionals withDoc [ "devdoc" ];
@ -38,6 +45,6 @@ stdenv.mkDerivation rec {
description = "Library providing high-level API for X Keyboard Extension known as XKB"; description = "Library providing high-level API for X Keyboard Extension known as XKB";
homepage = "http://freedesktop.org/wiki/Software/LibXklavier"; homepage = "http://freedesktop.org/wiki/Software/LibXklavier";
license = licenses.lgpl2Plus; license = licenses.lgpl2Plus;
platforms = platforms.linux; platforms = platforms.unix;
}; };
} }

View File

@ -5,13 +5,13 @@
buildDunePackage rec { buildDunePackage rec {
pname = "dap"; pname = "dap";
version = "1.0.6"; version = "1.0.6";
useDune2 = true; duneVersion = "3";
src = fetchurl { src = fetchurl {
url = "https://github.com/hackwaly/ocaml-dap/releases/download/${version}/dap-${version}.tbz"; url = "https://github.com/hackwaly/ocaml-dap/releases/download/${version}/dap-${version}.tbz";
sha256 = "1zq0f8429m38a4x3h9n3rv7n1vsfjbs72pfi5902a89qwyilkcp0"; sha256 = "1zq0f8429m38a4x3h9n3rv7n1vsfjbs72pfi5902a89qwyilkcp0";
}; };
minimumOCamlVersion = "4.08"; minimalOCamlVersion = "4.08";
buildInputs = [ buildInputs = [
lwt_ppx lwt_ppx

View File

@ -11,9 +11,9 @@ buildDunePackage rec {
pname = "earlybird"; pname = "earlybird";
version = "1.1.0"; version = "1.1.0";
useDune2 = true; duneVersion = "3";
minimumOCamlVersion = "4.11"; minimalOCamlVersion = "4.11";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "hackwaly"; owner = "hackwaly";

View File

@ -2,11 +2,10 @@
buildDunePackage { buildDunePackage {
pname = "lwt_ppx"; pname = "lwt_ppx";
version = "2.0.2"; version = "2.1.0";
duneVersion = "3";
useDune2 = true; minimalOCamlVersion = "4.04";
minimumOCamlVersion = "4.04";
# `lwt_ppx` has a different release cycle than Lwt, but it's included in # `lwt_ppx` has a different release cycle than Lwt, but it's included in
# one of its release bundles. # one of its release bundles.
@ -18,8 +17,8 @@ buildDunePackage {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "ocsigen"; owner = "ocsigen";
repo = "lwt"; repo = "lwt";
rev = "5.4.0"; rev = "5.6.0";
sha256 = "sha256-rRivROVbQbXkHWen1n8+9AwrRJaOK0Fhyilw29T7was="; hash = "sha256-DLQupCkZ14kOuSQatbb7j07I+jvvDCKpdlaR3rijT4s=";
}; };
propagatedBuildInputs = [ lwt ppxlib ]; propagatedBuildInputs = [ lwt ppxlib ];

View File

@ -5,7 +5,8 @@
buildDunePackage { buildDunePackage {
pname = "ocsipersist"; pname = "ocsipersist";
inherit (ocsipersist-lib) src version useDune2; inherit (ocsipersist-lib) src version;
duneVersion = "3";
buildInputs = [ buildInputs = [
ocsipersist-pgsql ocsipersist-pgsql

View File

@ -6,7 +6,7 @@ buildDunePackage rec {
pname = "ocsipersist-lib"; pname = "ocsipersist-lib";
version = "1.1.0"; version = "1.1.0";
useDune2 = true; duneVersion = "3";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "ocsigen"; owner = "ocsigen";

View File

@ -7,7 +7,8 @@
buildDunePackage { buildDunePackage {
pname = "ocsipersist-pgsql"; pname = "ocsipersist-pgsql";
inherit (ocsipersist-lib) version src useDune2; inherit (ocsipersist-lib) version src;
duneVersion = "3";
propagatedBuildInputs = [ propagatedBuildInputs = [
lwt_log lwt_log

View File

@ -7,7 +7,8 @@
buildDunePackage { buildDunePackage {
pname = "ocsipersist-sqlite"; pname = "ocsipersist-sqlite";
inherit (ocsipersist-lib) version src useDune2; inherit (ocsipersist-lib) version src;
duneVersion = "3";
propagatedBuildInputs = [ propagatedBuildInputs = [
lwt_log lwt_log

View File

@ -14,8 +14,8 @@
buildPecl { buildPecl {
pname = "mongodb"; pname = "mongodb";
version = "1.14.2"; version = "1.15.0";
sha256 = "1amayawrkyl1f44b8qwvm9567nxxfpv12pkn65adgjbwk5ds6z3g"; sha256 = "sha256-7rYmjTS9C0o9zGDd5OSE9c9PokOco9nwJMAADpnuckA=";
nativeBuildInputs = [ pkg-config ]; nativeBuildInputs = [ pkg-config ];
buildInputs = [ buildInputs = [

View File

@ -14,14 +14,14 @@
}: }:
buildPythonPackage rec { buildPythonPackage rec {
version = "0.4.0"; version = "0.4.1";
pname = "atsim-potentials"; pname = "atsim-potentials";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "mjdrushton"; owner = "mjdrushton";
repo = pname; repo = pname;
rev = version; rev = "refs/tags/${version}";
sha256 = "sha256-MwjRVd54qa8uJOi9yRXU+Vrve50ndftJUl+TFZKVzQM="; sha256 = "sha256-G7lNqwEUwAT0f7M2nUTCxpXOAl6FWKlh7tcsvbur1eM=";
}; };
postPatch = '' postPatch = ''

View File

@ -4,11 +4,11 @@ let
pythonEnv = lib.optional isPy27 mock; pythonEnv = lib.optional isPy27 mock;
in buildPythonPackage rec { in buildPythonPackage rec {
pname = "json-rpc"; pname = "json-rpc";
version = "1.13.0"; version = "1.14.0";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "12bmblnznk174hqg2irggx4hd3cq1nczbwkpsqqzr13hbg7xpw6y"; sha256 = "sha256-/13xx/2G4dvQJZ8GWZdRzpGnx5DykEFHk6Vlq1ht3FI=";
}; };
checkInputs = pythonEnv ++ [ pytestCheckHook ]; checkInputs = pythonEnv ++ [ pytestCheckHook ];

View File

@ -11,7 +11,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "masky"; pname = "masky";
version = "0.1.1"; version = "0.1.2";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -20,7 +20,7 @@ buildPythonPackage rec {
owner = "Z4kSec"; owner = "Z4kSec";
repo = "Masky"; repo = "Masky";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-uxq4SBudxFbBiV3Cu+oBRKezIWf5p+8VJlIIqQjtSXA="; hash = "sha256-awPPpdw6/zlVa7/DY1iafrbqIHJERN5+cfX1bTnCjl0=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [

View File

@ -0,0 +1,33 @@
{ lib
, buildPythonPackage
, fetchPypi
, six
, isPy27
}:
buildPythonPackage rec {
pname = "mongoquery";
version = "1.4.2";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "bd19fc465f0aa9feb3070f144fde41fc68cf28ea32dd3b7565f7df3ab6fc0ac2";
};
propagatedBuildInputs = [
six
];
pythonImportsCheck = [
"mongoquery"
];
meta = with lib; {
description = "A python implementation of mongodb queries";
homepage = "https://github.com/kapouille/mongoquery";
license = with licenses; [ unlicense ];
maintainers = with maintainers; [ misuzu ];
};
}

View File

@ -5,17 +5,20 @@
, setuptools , setuptools
, typing-extensions , typing-extensions
, pytestCheckHook , pytestCheckHook
, pythonOlder
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "pyvisa"; pname = "pyvisa";
version = "1.12.0"; version = "1.13.0";
disabled = pythonOlder "3.7";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "pyvisa"; owner = "pyvisa";
repo = "pyvisa"; repo = "pyvisa";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-2khTfj0RRna9YDPOs5kQHHhkeMwv3kTtGyDBYnu+Yhw="; hash = "sha256-TBu3Xko0IxFBT2vzrsOxqEG3y4XfPzISEtbkWkIaCvM=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View File

@ -9,13 +9,13 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "sphinxext-opengraph"; pname = "sphinxext-opengraph";
version = "0.7.3"; version = "0.7.4";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "wpilibsuite"; owner = "wpilibsuite";
repo = "sphinxext-opengraph"; repo = "sphinxext-opengraph";
rev = "v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-KzbtuDTMXsp9yf3hiiG6VzpUbSEm3bOtujApsG37H14="; hash = "sha256-N8448GHg/lR7z7Y4F4vO7z+wAeaboo8Cj0X+HSyToAA=";
}; };
SETUPTOOLS_SCM_PRETEND_VERSION = version; SETUPTOOLS_SCM_PRETEND_VERSION = version;

View File

@ -1,16 +1,19 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, pythonOlder
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "striprtf"; pname = "striprtf";
version = "0.0.21"; version = "0.0.22";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "sha256-/wqYbdJ+OI/RTODnKB34e7zADHzCPEX0LkTausqFNtY="; hash = "sha256-T7rb6EJPQStbJjv3L7PA2rTdtXTWCd1NCE9uK4sEQCs=";
}; };
pythonImportsCheck = [ pythonImportsCheck = [
@ -18,6 +21,7 @@ buildPythonPackage rec {
]; ];
meta = with lib; { meta = with lib; {
changelog = "https://github.com/joshy/striprtf/blob/v${version}/CHANGELOG.md";
homepage = "https://github.com/joshy/striprtf"; homepage = "https://github.com/joshy/striprtf";
description = "A simple library to convert rtf to text"; description = "A simple library to convert rtf to text";
maintainers = with maintainers; [ aanderse ]; maintainers = with maintainers; [ aanderse ];

View File

@ -10,7 +10,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "xdis"; pname = "xdis";
version = "6.0.4"; version = "6.0.5";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.6"; disabled = pythonOlder "3.6";
@ -18,8 +18,8 @@ buildPythonPackage rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "rocky"; owner = "rocky";
repo = "python-xdis"; repo = "python-xdis";
rev = version; rev = "refs/tags/${version}";
hash = "sha256-CRZG898xCwukq+9YVkyXMP8HcuJ9GtvDhy96kxvRFks="; hash = "sha256-3mL0EuPHF/dithovrYvMjweYGwGhrN75N9MRfLjNC34=";
}; };
postPatch = '' postPatch = ''

View File

@ -1,17 +1,21 @@
{ {
"version": "0.1.18", "version": "0.1.19",
"assets": { "assets": {
"aarch64-darwin": { "aarch64-darwin": {
"asset": "scala-cli-aarch64-apple-darwin.gz", "asset": "scala-cli-aarch64-apple-darwin.gz",
"sha256": "10aygxlhm579yb4rzdissw3a41vq1sh78zlfpl2qphfc6zj7jlg2" "sha256": "1n5x07n3g7r8cx22mv9prfq1gs9sjj41xdj615lbs4dbfjp8z66d"
},
"aarch64-linux": {
"asset": "scala-cli-aarch64-pc-linux.gz",
"sha256": "02mwinm4ggpqr9j6c0ap1nsa4bgad5h3xgkplamwrzqa2kvqxx2i"
}, },
"x86_64-darwin": { "x86_64-darwin": {
"asset": "scala-cli-x86_64-apple-darwin.gz", "asset": "scala-cli-x86_64-apple-darwin.gz",
"sha256": "1bm6wnnln1f7z5hgkdjqqhkwf7wljlgdw5m6f16k8y9nii1cad0y" "sha256": "0cz5dd6f3j6czrbjiz9l6bf0ycfrba9h2wjpa6l80nn86yyr7i4r"
}, },
"x86_64-linux": { "x86_64-linux": {
"asset": "scala-cli-x86_64-pc-linux.gz", "asset": "scala-cli-x86_64-pc-linux.gz",
"sha256": "1h8s8w1qi0y1psgaqpjwd206g39ljs7qyifng08dpb2a6f37hba8" "sha256": "19fcj631gwg6cjx3q5rqywgdafw18bdjkan52jj2awh2vxpikgdm"
} }
} }
} }

View File

@ -0,0 +1,35 @@
{ buildPythonApplication
, lib
, fetchFromGitHub
, setuptools-scm
, json5
, packaging
}:
buildPythonApplication rec {
pname = "fortls";
version = "2.13.0";
src = fetchFromGitHub {
owner = "fortran-lang";
repo = pname;
rev = "v${version}";
hash = "sha256-kFk2Dlnb0FXM3Ysvsy+g2AAMgpWmwzxuyJPovDm/FJU=";
};
nativeBuildInputs = [ setuptools-scm ];
propagatedBuildInputs = [ json5 packaging ];
preBuild = "export SETUPTOOLS_SCM_PRETEND_VERSION=${version}";
doCheck = true;
checkPhase = "$out/bin/fortls --help 1>/dev/null";
meta = with lib; {
description = "Fortran Language Server ";
homepage = "https://github.com/fortran-lang/fortls";
license = [ licenses.mit ];
maintainers = [ maintainers.sheepforce ];
};
}

View File

@ -0,0 +1,54 @@
{ lib
, stdenv
, fetchFromGitHub
, cmake
, zlib
, openssl
, c-ares
, readline
, icu
, git
, gbenchmark
, nghttp2
}:
stdenv.mkDerivation rec {
pname = "tarantool";
version = "2.10.4";
src = fetchFromGitHub {
owner = "tarantool";
repo = pname;
rev = version;
sha256 = "sha256-yCRU5IxC6gNS+O2KYtKWjFk35EHkBnnzWy5UnyuB9f4=";
fetchSubmodules = true;
};
buildInputs = [
nghttp2
git
readline
icu
zlib
openssl
c-ares
];
checkInputs = [ gbenchmark ];
nativeBuildInputs = [ cmake ];
cmakeFlags = [
"-DCMAKE_BUILD_TYPE=RelWithDebInfo"
"-DENABLE_DIST=ON"
"-DTARANTOOL_VERSION=${version}.builtByNix" # expects the commit hash as well
];
meta = with lib; {
description = "An in-memory computing platform consisting of a database and an application server";
homepage = "https://www.tarantool.io/";
license = licenses.bsd2;
mainProgram = "tarantool";
maintainers = with maintainers; [ dit7ya ];
};
}

View File

@ -21,17 +21,5 @@ stdenv.mkDerivation rec {
license = licenses.gpl3Plus; license = licenses.gpl3Plus;
maintainers = with maintainers; [ qyliss ]; maintainers = with maintainers; [ qyliss ];
platforms = platforms.unix; platforms = platforms.unix;
# TODO: Remove once nixpkgs uses newer SDKs that supports '*at' functions.
# Probably macOS SDK 10.13 or later. Check the current version in
# ../../../../os-specific/darwin/apple-sdk/default.nix
#
# From the build logs:
#
# > Undefined symbols for architecture x86_64:
# > "_utimensat", referenced from:
# > _set_attribs in rdsquashfs-restore_fstree.o
# > ld: symbol(s) not found for architecture x86_64
broken = stdenv.isDarwin && stdenv.isx86_64;
}; };
} }

View File

@ -1,15 +1,15 @@
{ lib, stdenv, fetchCrate, rustPlatform }: { lib, stdenv, fetchCrate, rustPlatform }:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
version = "7.0.0"; version = "8.0.0";
pname = "oxipng"; pname = "oxipng";
src = fetchCrate { src = fetchCrate {
inherit version pname; inherit version pname;
hash = "sha256-egAt2XypPFxsOuo8RsIXTmFdmBUe+eZh3p3vlnnx8wo="; hash = "sha256-stTwsU9XK3lF4q2sDgb9A1KG1NnhCfVxYWRiBvlmiqQ=";
}; };
cargoHash = "sha256-GbJU31UBdRai2JLEdx9sPh6rJWnU4RlDL8DooI9MCUg="; cargoHash = "sha256-XMIsdv2AHMGs0tDEWe3cfplZU9CbqEkHd7L5eS+V7j0=";
doCheck = !stdenv.isAarch64 && !stdenv.isDarwin; doCheck = !stdenv.isAarch64 && !stdenv.isDarwin;

View File

@ -15,14 +15,14 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "broot"; pname = "broot";
version = "1.17.1"; version = "1.18.0";
src = fetchCrate { src = fetchCrate {
inherit pname version; inherit pname version;
sha256 = "sha256-cDB4gkogjW8+lHyzA84aKogIT8hvySqVqnXTb9ohCHE="; sha256 = "sha256-GR0a5NDJBcRLoNOeG6S+fP3Fr7r5fVB9oEcjANRYJt4=";
}; };
cargoHash = "sha256-M3YLgRG3UEluGapqWpIsPgHPp288DlCNV79tajPIsMc="; cargoHash = "sha256-Hk9bc1mo8GxcPICKXc9zDq18S5TZElDncxJ+w2fC2do=";
nativeBuildInputs = [ nativeBuildInputs = [
installShellFiles installShellFiles

View File

@ -11,7 +11,7 @@ ocamlPackages.buildDunePackage rec {
# request to tag releases: https://github.com/alexozer/flitter/issues/34 # request to tag releases: https://github.com/alexozer/flitter/issues/34
version = "unstable-2020-10-05"; version = "unstable-2020-10-05";
useDune2 = true; duneVersion = "3";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "alexozer"; owner = "alexozer";

View File

@ -5,16 +5,16 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "automatic-timezoned"; pname = "automatic-timezoned";
version = "1.0.50"; version = "1.0.53";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "maxbrunet"; owner = "maxbrunet";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-GWM5PimmCSRRkKrcUuUUWS0gj5j5XZYvIXIhgdsnKbI="; sha256 = "sha256-HxlaJwrek01yM8CDeaZ24lKBsA3VuanTcMNxnf4MwZc=";
}; };
cargoSha256 = "sha256-hDkkpBDgGHRYYGaDdN+9tMl6wsLEBtT3AXSbkAhAJDM="; cargoSha256 = "sha256-jz58E7t8UfYezVozc95ncK96Sv3zHv4jSzgNQjsGc+k=";
meta = with lib; { meta = with lib; {
description = "Automatically update system timezone based on location"; description = "Automatically update system timezone based on location";

View File

@ -11889,7 +11889,7 @@ with pkgs;
squashfsTools = callPackage ../tools/filesystems/squashfs { }; squashfsTools = callPackage ../tools/filesystems/squashfs { };
squashfs-tools-ng = callPackage ../tools/filesystems/squashfs-tools-ng { }; squashfs-tools-ng = darwin.apple_sdk_11_0.callPackage ../tools/filesystems/squashfs-tools-ng { };
squashfuse = callPackage ../tools/filesystems/squashfuse { }; squashfuse = callPackage ../tools/filesystems/squashfuse { };
@ -12115,6 +12115,8 @@ with pkgs;
tarsnapper = callPackage ../tools/backup/tarsnapper { }; tarsnapper = callPackage ../tools/backup/tarsnapper { };
tarantool = callPackage ../servers/tarantool { };
tarssh = callPackage ../servers/tarssh { }; tarssh = callPackage ../servers/tarssh { };
tartan = callPackage ../development/tools/analysis/tartan {}; tartan = callPackage ../development/tools/analysis/tartan {};
@ -17310,6 +17312,8 @@ with pkgs;
fprettify = callPackage ../development/tools/fprettify { }; fprettify = callPackage ../development/tools/fprettify { };
fortls = python3.pkgs.callPackage ../development/tools/fortls { };
fortran-language-server = python3.pkgs.callPackage ../development/tools/fortran-language-server { }; fortran-language-server = python3.pkgs.callPackage ../development/tools/fortran-language-server { };
framac = callPackage ../development/tools/analysis/frama-c { }; framac = callPackage ../development/tools/analysis/frama-c { };
@ -26645,6 +26649,8 @@ with pkgs;
flat-remix-gtk = callPackage ../data/themes/flat-remix-gtk { }; flat-remix-gtk = callPackage ../data/themes/flat-remix-gtk { };
flat-remix-gnome = callPackage ../data/themes/flat-remix-gnome { }; flat-remix-gnome = callPackage ../data/themes/flat-remix-gnome { };
fluent-gtk-theme = callPackage ../data/themes/fluent-gtk-theme { };
fluent-icon-theme = callPackage ../data/icons/fluent-icon-theme { }; fluent-icon-theme = callPackage ../data/icons/fluent-icon-theme { };
font-awesome_4 = (callPackage ../data/fonts/font-awesome { }).v4; font-awesome_4 = (callPackage ../data/fonts/font-awesome { }).v4;

View File

@ -5892,6 +5892,8 @@ self: super: with self; {
mongoengine = callPackage ../development/python-modules/mongoengine { }; mongoengine = callPackage ../development/python-modules/mongoengine { };
mongoquery = callPackage ../development/python-modules/mongoquery { };
monkeyhex = callPackage ../development/python-modules/monkeyhex { }; monkeyhex = callPackage ../development/python-modules/monkeyhex { };
monosat = pkgs.monosat.python { monosat = pkgs.monosat.python {