Merge master into staging-next

This commit is contained in:
github-actions[bot] 2022-05-06 06:01:36 +00:00 committed by GitHub
commit ff5c4d3404
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
217 changed files with 2244 additions and 1212 deletions

View file

@ -248,7 +248,7 @@ $ nix-env -p /nix/var/nix/profiles/system -f '<nixpkgs/nixos>' -I nixos-co
(since your Nix install was probably single user):
</para>
<programlisting>
$ sudo chown -R 0.0 /nix
$ sudo chown -R 0:0 /nix
</programlisting>
</listitem>
<listitem>

View file

@ -177,7 +177,7 @@ The first steps to all these are the same:
was probably single user):
```ShellSession
$ sudo chown -R 0.0 /nix
$ sudo chown -R 0:0 /nix
```
1. Set up the `/etc/NIXOS` and `/etc/NIXOS_LUSTRATE` files:

View file

@ -98,7 +98,7 @@ let
# Prevent races
chmod 0000 "$wrapperDir/${program}"
chown ${owner}.${group} "$wrapperDir/${program}"
chown ${owner}:${group} "$wrapperDir/${program}"
# Set desired capabilities on the file plus cap_setpcap so
# the wrapper program can elevate the capabilities set on
@ -126,7 +126,7 @@ let
# Prevent races
chmod 0000 "$wrapperDir/${program}"
chown ${owner}.${group} "$wrapperDir/${program}"
chown ${owner}:${group} "$wrapperDir/${program}"
chmod "u${if setuid then "+" else "-"}s,g${if setgid then "+" else "-"}s,${permissions}" "$wrapperDir/${program}"
'';

View file

@ -300,17 +300,17 @@ in
};
preStart = ''
mkdir -p ${baseDir}
chown hydra.hydra ${baseDir}
chown hydra:hydra ${baseDir}
chmod 0750 ${baseDir}
ln -sf ${hydraConf} ${baseDir}/hydra.conf
mkdir -m 0700 -p ${baseDir}/www
chown hydra-www.hydra ${baseDir}/www
chown hydra-www:hydra ${baseDir}/www
mkdir -m 0700 -p ${baseDir}/queue-runner
mkdir -m 0750 -p ${baseDir}/build-logs
chown hydra-queue-runner.hydra ${baseDir}/queue-runner ${baseDir}/build-logs
chown hydra-queue-runner:hydra ${baseDir}/queue-runner ${baseDir}/build-logs
${optionalString haveLocalDB ''
if ! [ -e ${baseDir}/.db-created ]; then
@ -338,7 +338,7 @@ in
rmdir /nix/var/nix/gcroots/per-user/hydra-www/hydra-roots
fi
chown hydra.hydra ${cfg.gcRootsDir}
chown hydra:hydra ${cfg.gcRootsDir}
chmod 2775 ${cfg.gcRootsDir}
'';
serviceConfig.ExecStart = "${hydra-package}/bin/hydra-init";

View file

@ -36,11 +36,11 @@ config = mkIf cfg.enable {
preStart = ''
if [ ! -d ${cfg.settingsDir} ] ; then
mkdir -m 0750 -p ${cfg.settingsDir}
chown -R gateone.gateone ${cfg.settingsDir}
chown -R gateone:gateone ${cfg.settingsDir}
fi
if [ ! -d ${cfg.pidDir} ] ; then
mkdir -m 0750 -p ${cfg.pidDir}
chown -R gateone.gateone ${cfg.pidDir}
chown -R gateone:gateone ${cfg.pidDir}
fi
'';
#unitConfig.RequiresMountsFor = "${cfg.settingsDir}";

View file

@ -98,7 +98,7 @@ serverinfo {
*
* openssl genrsa -out rsa.key 2048
* openssl rsa -in rsa.key -pubout -out rsa.pub
* chown <ircd-user>.<ircd.group> rsa.key rsa.pub
* chown <ircd-user>:<ircd.group> rsa.key rsa.pub
* chmod 0600 rsa.key
* chmod 0644 rsa.pub
*/

View file

@ -108,7 +108,7 @@ with lib;
#username pptpd password *
EOF
chown root.root "$secrets"
chown root:root "$secrets"
chmod 600 "$secrets"
'';

View file

@ -82,7 +82,7 @@ in
serviceConfig.Type = "forking";
preStart = ''
mkdir -m 0755 -p ${stateDir}
chown ${prayerUser}.${prayerGroup} ${stateDir}
chown ${prayerUser}:${prayerGroup} ${stateDir}
'';
script = "${prayer}/sbin/prayer --config-file=${prayerCfg}";
};

View file

@ -4,7 +4,7 @@ with lib;
let cfg = config.services.tailscale;
in {
meta.maintainers = with maintainers; [ danderson mbaillie ];
meta.maintainers = with maintainers; [ danderson mbaillie twitchyliquid64 ];
options.services.tailscale = {
enable = mkEnableOption "Tailscale client daemon";
@ -40,13 +40,29 @@ in {
systemd.packages = [ cfg.package ];
systemd.services.tailscaled = {
wantedBy = [ "multi-user.target" ];
path = [ pkgs.openresolv pkgs.procps ];
path = [
pkgs.openresolv # for configuring DNS in some configs
pkgs.procps # for collecting running services (opt-in feature)
pkgs.glibc # for `getent` to look up user shells
];
serviceConfig.Environment = [
"PORT=${toString cfg.port}"
''"FLAGS=--tun ${lib.escapeShellArg cfg.interfaceName}"''
] ++ (lib.optionals (cfg.permitCertUid != null) [
"TS_PERMIT_CERT_UID=${cfg.permitCertUid}"
]);
# Restart tailscaled with a single `systemctl restart` at the
# end of activation, rather than a `stop` followed by a later
# `start`. Activation over Tailscale can hang for tens of
# seconds in the stop+start setup, if the activation script has
# a significant delay between the stop and start phases
# (e.g. script blocked on another unit with a slow shutdown).
#
# Tailscale is aware of the correctness tradeoff involved, and
# already makes its upstream systemd unit robust against unit
# version mismatches on restart for compatibility with other
# linux distros.
stopIfChanged = false;
};
};
}

View file

@ -383,9 +383,9 @@ in
};
preStart = ''
mkdir -p /etc/tinc/${network}/hosts
chown tinc.${network} /etc/tinc/${network}/hosts
chown tinc:${network} /etc/tinc/${network}/hosts
mkdir -p /etc/tinc/${network}/invitations
chown tinc.${network} /etc/tinc/${network}/invitations
chown tinc:${network} /etc/tinc/${network}/invitations
# Determine how we should generate our keys
if type tinc >/dev/null 2>&1; then

View file

@ -116,18 +116,18 @@ with lib;
#username xl2tpd password *
EOF
chown root.root ppp/chap-secrets
chown root:root ppp/chap-secrets
chmod 600 ppp/chap-secrets
# The documentation says this file should be present but doesn't explain why and things work even if not there:
[ -f l2tp-secrets ] || (echo -n "* * "; ${pkgs.apg}/bin/apg -n 1 -m 32 -x 32 -a 1 -M LCN) > l2tp-secrets
chown root.root l2tp-secrets
chown root:root l2tp-secrets
chmod 600 l2tp-secrets
popd > /dev/null
mkdir -p /run/xl2tpd
chown root.root /run/xl2tpd
chown root:root /run/xl2tpd
chmod 700 /run/xl2tpd
'';

View file

@ -294,7 +294,7 @@ in
ln -sf "${cfg.dataDir}/client/img" "${runDir}/client/img"
chmod g+w "${runDir}/tmp/cache"
chown -R "${cfg.user}"."${cfg.group}" "${runDir}"
chown -R "${cfg.user}":"${cfg.group}" "${runDir}"
mkdir -m 0750 -p "${cfg.dataDir}"
@ -302,9 +302,9 @@ in
mkdir -m 0750 -p "${cfg.dataDir}/client/img"
cp -r "${pkgs.restya-board}/media/"* "${cfg.dataDir}/media"
cp -r "${pkgs.restya-board}/client/img/"* "${cfg.dataDir}/client/img"
chown "${cfg.user}"."${cfg.group}" "${cfg.dataDir}"
chown -R "${cfg.user}"."${cfg.group}" "${cfg.dataDir}/media"
chown -R "${cfg.user}"."${cfg.group}" "${cfg.dataDir}/client/img"
chown "${cfg.user}":"${cfg.group}" "${cfg.dataDir}"
chown -R "${cfg.user}":"${cfg.group}" "${cfg.dataDir}/media"
chown -R "${cfg.user}":"${cfg.group}" "${cfg.dataDir}/client/img"
${optionalString (cfg.database.host == null) ''
if ! [ -e "${cfg.dataDir}/.db-initialized" ]; then

View file

@ -222,7 +222,7 @@ let
machine.execute(ru("VBoxManage controlvm ${name} poweroff"))
machine.succeed("rm -rf ${sharePath}")
machine.succeed("mkdir -p ${sharePath}")
machine.succeed("chown alice.users ${sharePath}")
machine.succeed("chown alice:users ${sharePath}")
def create_vm_${name}():

View file

@ -24,9 +24,10 @@ stdenv.mkDerivation rec {
'';
meta = with lib; {
homepage = "https://github.com/ibara/oed";
description = "Portable ed editor from OpenBSD";
homepage = "https://github.com/ibara/oed";
license = with licenses; [ bsd2 ];
mainProgram = "ed";
platforms = platforms.unix;
};
}

View file

@ -60,6 +60,7 @@ in
downloadPage = "https://github.com/VSCodium/vscodium/releases";
license = licenses.mit;
maintainers = with maintainers; [ synthetica turion bobby285271 ];
mainProgram = "codium";
platforms = [ "x86_64-linux" "x86_64-darwin" "aarch64-linux" "aarch64-darwin" "armv7l-linux" ];
};
}

View file

@ -29,10 +29,11 @@ stdenv.mkDerivation rec {
'';
meta = with lib; {
homepage = "https://www.commanderx16.com/forum/index.php?/home/";
description = "The official emulator of CommanderX16 8-bit computer";
homepage = "https://www.commanderx16.com/forum/index.php?/home/";
license = licenses.bsd2;
maintainers = with maintainers; [ AndersonTorres ];
mainProgram = "x16emu";
inherit (SDL2.meta) platforms;
};

View file

@ -25,6 +25,7 @@ stdenv.mkDerivation rec {
description = "Small weblog engine written in Bash for the command line";
homepage = "http://nanoblogger.sourceforge.net/";
license = lib.licenses.gpl2;
mainProgram = "nb";
platforms = lib.platforms.unix;
};
}

View file

@ -38,7 +38,8 @@ stdenvNoCC.mkDerivation rec {
description = "Search-as-you-type cli frontend for the buku bookmarks manager using peco";
homepage = "https://github.com/AndreiUlmeyda/oil";
license = licenses.gpl3Only;
platforms = platforms.unix;
maintainers = with maintainers; [ atila ];
mainProgram = "oil";
platforms = platforms.unix;
};
}

View file

@ -37,6 +37,7 @@ stdenv.mkDerivation rec {
homepage = "https://taskwarrior.org";
license = licenses.mit;
maintainers = with maintainers; [ marcweber oxalica ];
mainProgram = "task";
platforms = platforms.unix;
};
}

View file

@ -33,6 +33,7 @@ stdenv.mkDerivation rec {
description = "Command-line translator using Google Translate, Bing Translator, Yandex.Translate, and Apertium";
license = licenses.unlicense;
maintainers = with maintainers; [ ebzzry infinisil ];
mainProgram = "trans";
platforms = platforms.unix;
};
}

View file

@ -24,6 +24,7 @@ stdenv.mkDerivation rec {
description = "MPRIS proxy for usage with 'Web Media Controller' web extension";
license = licenses.unlicense;
maintainers = with maintainers; [ doronbehar ];
mainProgram = "web-media-controller";
platforms = platforms.all;
};
}

View file

@ -39,5 +39,6 @@ buildGoModule rec {
changelog = "https://github.com/cloudfoundry/bosh-cli/releases/tag/v${version}";
license = licenses.asl20;
maintainers = with maintainers; [ ris ];
mainProgram = "bosh";
};
}

View file

@ -66,5 +66,6 @@ in buildGoModule rec {
homepage = "https://fluxcd.io";
license = licenses.asl20;
maintainers = with maintainers; [ bryanasdev000 jlesquembre superherointj ];
mainProgram = "flux";
};
}

View file

@ -27,5 +27,6 @@ buildGoModule rec {
changelog = "https://github.com/knight42/krelay/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ ivankovnatsky ];
mainProgram = "kubectl-relay";
};
}

View file

@ -60,9 +60,10 @@ buildGoModule rec {
meta = with lib; {
description = "Build, deploy, and manage your applications with Docker and Kubernetes";
license = licenses.asl20;
homepage = "http://www.openshift.org";
license = licenses.asl20;
maintainers = with maintainers; [ offline bachp moretea stehessel ];
mainProgram = "oc";
platforms = platforms.unix;
};
}

View file

@ -1,51 +1,18 @@
{ bcg729
, bctoolbox
, bcunit
{ bctoolbox
, belcard
, belle-sip
, belr
, bzrtp
, cairo
, cmake
, cyrus_sasl
, fetchFromGitLab
, fetchurl
, ffmpeg
, gdk-pixbuf
, glib
, graphviz
, gtk2
, intltool
, lib
, libexosip
, liblinphone
, libmatroska
, libnotify
, libosip
, libsoup
, libupnp
, libX11
, libxml2
, makeWrapper
, mbedtls
, mediastreamer
, mediastreamer-openh264
, minizip2
, mkDerivation
, openldap
, ortp
, pango
, pkg-config
, qtbase
, qtgraphicaleffects
, qtquickcontrols2
, qttranslations
, readline
, speex
, sqlite
, udev
, zlib
}:
# How to update Linphone? (The Qt desktop app)
@ -95,57 +62,22 @@ mkDerivation rec {
# linphone-desktop.
buildInputs = [
# Made by BC
bcg729
bctoolbox
belcard
belle-sip
belr
bzrtp
liblinphone
mediastreamer
mediastreamer-openh264
ortp
# Vendored by BC but we use upstream, might cause problems
libmatroska
cairo
cyrus_sasl
ffmpeg
gdk-pixbuf
glib
gtk2
libX11
libexosip
libnotify
libosip
libsoup
libupnp
libxml2
mbedtls
minizip2
openldap
pango
qtbase
qtgraphicaleffects
qtquickcontrols2
qttranslations
readline
speex
sqlite
udev
zlib
];
nativeBuildInputs = [
# Made by BC
bcunit
cmake
graphviz
intltool
makeWrapper
pkg-config
];
cmakeFlags = [

View file

@ -45,6 +45,7 @@ let
changelog = "https://github.com/syncthing/syncthing/releases/tag/v${version}";
license = licenses.mpl20;
maintainers = with maintainers; [ joko peterhoeg andrew-d ];
mainProgram = target;
platforms = platforms.unix;
};
};

View file

@ -7,31 +7,26 @@
}:
let
version = "4.7.1";
version = "4.8.0";
pname = "timeular";
name = "${pname}-${version}";
src = fetchurl {
url = "https://s3.amazonaws.com/timeular-desktop-packages/linux/production/Timeular-${version}.AppImage";
sha256 = "sha256:0k8ywbdb41imq10ya9y27zks67a6drjb1h0hn8ycd7a6z6703rjz";
sha256 = "sha256:0y2asw3jf2n4c7y0yr669jfqw4frp5nzzv3lffimfdr78gihma66";
};
appimageContents = appimageTools.extractType2 {
inherit name src;
inherit pname version 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
'';
inherit pname version src;
extraPkgs = pkgs: with pkgs; [
libsecret
];
extraInstallCommands = ''
mv $out/bin/{${name},${pname}}
mv $out/bin/{${pname}-${version},${pname}}
install -m 444 -D ${appimageContents}/timeular.desktop $out/share/applications/timeular.desktop
install -m 444 -D ${appimageContents}/timeular.png $out/share/icons/hicolor/512x512/apps/timeular.png
substituteInPlace $out/share/applications/timeular.desktop \

View file

@ -23,6 +23,7 @@ in stdenv.mkDerivation {
description = "Simple plaintext todo list manager";
homepage = "http://todotxt.com";
license = lib.licenses.gpl3;
mainProgram = "todo.sh";
platforms = lib.platforms.all;
};
}

View file

@ -26,7 +26,8 @@ stdenv.mkDerivation {
'';
homepage = "https://github.com/steve-m/kalibrate-rtl";
license = licenses.bsd2;
platforms = platforms.linux ++ platforms.darwin;
maintainers = with maintainers; [ bjornfor viraptor ];
mainProgram = "kal";
platforms = platforms.linux ++ platforms.darwin;
};
}

View file

@ -51,6 +51,7 @@ in stdenv.mkDerivation {
description = "Vendor and platform neutral SDR support library";
license = licenses.boost;
maintainers = with maintainers; [ markuskowa ];
mainProgram = "SoapySDRUtil";
platforms = platforms.unix;
};
}

View file

@ -25,7 +25,8 @@ stdenv.mkDerivation rec {
description = "A tool for squential logic synthesis and formal verification";
homepage = "https://people.eecs.berkeley.edu/~alanmi/abc";
license = licenses.mit;
platforms = platforms.unix;
maintainers = with maintainers; [ thoughtpolice ];
mainProgram = "abc";
platforms = platforms.unix;
};
}

View file

@ -115,6 +115,7 @@ in stdenv.mkDerivation rec {
'';
license = licenses.gpl2;
maintainers = with maintainers; [ fgaz ];
mainProgram = executable-name;
platforms = platforms.all;
};
}

View file

@ -2,17 +2,17 @@
let
pname = "radicle-upstream";
version = "0.2.12";
version = "0.3.0";
name = "${pname}-${version}";
srcs = {
x86_64-linux = fetchurl {
url = "https://releases.radicle.xyz/radicle-upstream-${version}.AppImage";
sha256 = "7520c7feb94234df6f8523689d098e0d19510e2ac0122e482d1e01086c9b02fe";
sha256 = "sha256-Y7V89G+nXRtknOukvBN8Q+sNx91YNPDT0p5hrFYe/Sk=";
};
x86_64-darwin = fetchurl {
url = "https://releases.radicle.xyz/radicle-upstream-${version}.dmg";
sha256 = "8bbff051f169f029044e4c4965cad88f48e939b945fd5c253f0c39665a19ce44";
sha256 = "sha256-EuWGbn6qggi8/9Rci8iaXfuVKE+QXb1BHEYDvotR/q4=";
};
};
src = srcs.${stdenv.hostPlatform.system};

View file

@ -1,6 +1,6 @@
{
"commit": "762464dcc5ce93f1c6a9a746feb6bd1bd0c47006",
"url": "https://github.com/commercialhaskell/all-cabal-hashes/archive/762464dcc5ce93f1c6a9a746feb6bd1bd0c47006.tar.gz",
"sha256": "0k1qp34lsc08a99p669v8n0fxs6mdzwc2bz87v0hdah4qagi4z4g",
"msg": "Update from Hackage at 2022-04-20T23:34:08Z"
"commit": "08ae12813ead00810e00ffe9dae284fcafe6a08a",
"url": "https://github.com/commercialhaskell/all-cabal-hashes/archive/08ae12813ead00810e00ffe9dae284fcafe6a08a.tar.gz",
"sha256": "00jc08pifnp791s1scscdhgwlf75v9682a7vjis1djnhj3y5s3ny",
"msg": "Update from Hackage at 2022-05-01T06:09:30Z"
}

View file

@ -2,11 +2,12 @@
stdenv.mkDerivation rec {
pname = "cmdstan";
version = "2.17.1";
version = "2.29.2";
# includes stanc binaries needed to build cmdstand
src = fetchurl {
url = "https://github.com/stan-dev/cmdstan/releases/download/v${version}/cmdstan-${version}.tar.gz";
sha256 = "1vq1cnrkvrvbfl40j6ajc60jdrjcxag1fi6kff5pqmadfdz9564j";
sha256 = "sha256-VntTH6c//fcGyqF+szROHftB6GmTyvi6QIdf+RAzUVM=";
};
buildFlags = [ "build" ];
@ -14,7 +15,16 @@ stdenv.mkDerivation rec {
doCheck = true;
checkInputs = [ python3 ];
checkPhase = "python ./runCmdStanTests.py src/test/interface"; # see #5368
postPatch = ''
substituteInPlace stan/lib/stan_math/make/libraries \
--replace "/usr/bin/env bash" "bash"
patchShebangs .
'';
checkPhase = ''
./runCmdStanTests.py -j$NIX_BUILD_CORES src/test/interface
'';
installPhase = ''
mkdir -p $out/opt $out/bin
@ -28,6 +38,9 @@ stdenv.mkDerivation rec {
chmod a+x $out/bin/stan
'';
# Hack to ensure that patchelf --shrink-rpath get rids of a $TMPDIR reference.
preFixup = "rm -rf $(pwd)";
meta = {
description = "Command-line interface to Stan";
longDescription = ''

View file

@ -87,10 +87,11 @@ in stdenv.mkDerivation rec {
'';
meta = with lib; {
homepage = "https://dotnet.github.io/";
description = builtins.getAttr type descriptions;
platforms = builtins.attrNames srcs;
maintainers = with maintainers; [ kuznero ];
homepage = "https://dotnet.github.io/";
license = licenses.mit;
maintainers = with maintainers; [ kuznero ];
mainProgram = "dotnet";
platforms = builtins.attrNames srcs;
};
}

View file

@ -64,9 +64,10 @@ stdenv.mkDerivation rec {
meta = with lib; {
description = "ML-like functional programming language aimed at program verification";
homepage = "https://www.fstar-lang.org";
license = licenses.asl20;
changelog = "https://github.com/FStarLang/FStar/raw/v${version}/CHANGES.md";
platforms = with platforms; darwin ++ linux;
license = licenses.asl20;
maintainers = with maintainers; [ gebner pnmadelaine ];
mainProgram = "fstar.exe";
platforms = with platforms; darwin ++ linux;
};
}

View file

@ -54,19 +54,19 @@ stdenv.mkDerivation rec {
# https://github.com/intel/intel-graphics-compiler/issues/98
doCheck = false;
patchPhase = ''
postPatch = ''
substituteInPlace ./external/SPIRV-Tools/CMakeLists.txt \
--replace '$'''{SPIRV-Tools_DIR}../../..' \
'${spirv-tools}' \
--replace 'SPIRV-Headers_INCLUDE_DIR "/usr/include"' \
'SPIRV-Headers_INCLUDE_DIR "${spirv-headers}/include"' \
--replace 'set_target_properties(SPIRV-Tools' \
'set_target_properties(SPIRV-Tools-shared' \
--replace 'IGC_BUILD__PROJ__SPIRV-Tools SPIRV-Tools' \
'IGC_BUILD__PROJ__SPIRV-Tools SPIRV-Tools-shared'
substituteInPlace ./IGC/AdaptorOCL/igc-opencl.pc.in \
--replace '/@CMAKE_INSTALL_INCLUDEDIR@' "/include" \
--replace '/@CMAKE_INSTALL_LIBDIR@' "/lib"
--replace '$'''{SPIRV-Tools_DIR}../../..' \
'${spirv-tools}' \
--replace 'SPIRV-Headers_INCLUDE_DIR "/usr/include"' \
'SPIRV-Headers_INCLUDE_DIR "${spirv-headers}/include"' \
--replace 'set_target_properties(SPIRV-Tools' \
'set_target_properties(SPIRV-Tools-shared' \
--replace 'IGC_BUILD__PROJ__SPIRV-Tools SPIRV-Tools' \
'IGC_BUILD__PROJ__SPIRV-Tools SPIRV-Tools-shared'
substituteInPlace ./IGC/AdaptorOCL/igc-opencl.pc.in \
--replace '/@CMAKE_INSTALL_INCLUDEDIR@' "/include" \
--replace '/@CMAKE_INSTALL_LIBDIR@' "/lib"
'';
# Handholding the braindead build script
@ -84,7 +84,6 @@ stdenv.mkDerivation rec {
"-Wno-dev"
"-DVC_INTRINSICS_SRC=${vc_intrinsics_src}"
"-DIGC_OPTION__SPIRV_TOOLS_MODE=Prebuilds"
"-DINSTALL_SPIRVDLL=0"
"-DCCLANG_BUILD_PREBUILDS=ON"
"-DCCLANG_BUILD_PREBUILDS_DIR=${prebuilds}"
"-DIGC_PREFERRED_LLVM_VERSION=${getVersion llvm}"

View file

@ -34,8 +34,9 @@ stdenv.mkDerivation rec {
meta = {
description = "A workbench for high-assurance and high-speed cryptography";
homepage = "https://github.com/jasmin-lang/jasmin/";
platforms = lib.platforms.all;
license = lib.licenses.mit;
maintainers = [ lib.maintainers.vbgl ];
mainProgram = "jasminc";
platforms = lib.platforms.all;
};
}

View file

@ -183,6 +183,14 @@ in {
install -Dt $out/bin src/nimble
runHook postBuild
'';
meta = with lib; {
description = "Package manager for the Nim programming language";
homepage = "https://github.com/nim-lang/nimble";
license = licenses.bsd3;
maintainers = with maintainers; [ ehmry ];
mainProgram = "nimble";
};
};
nim = let

View file

@ -19,9 +19,9 @@ stdenv.mkDerivation rec {
sha256 = "sha256-/vUyL6Wh8hykoGz1QmT1F7lfGDEmG4U3iqmqrJxizOg=";
};
nativeBuildInputs = [ pkg-config cmake llvm_11.dev ];
nativeBuildInputs = [ pkg-config cmake llvm_11.dev spirv-tools ];
buildInputs = [ spirv-headers spirv-tools llvm_11 ];
buildInputs = [ spirv-headers llvm_11 ];
checkInputs = [ lit ];
@ -34,12 +34,6 @@ stdenv.mkDerivation rec {
"-DLLVM_SPIRV_BUILD_EXTERNAL=YES"
];
prePatch = ''
substituteInPlace ./test/CMakeLists.txt \
--replace 'SPIRV-Tools' 'SPIRV-Tools-shared'
'';
# FIXME: CMake tries to run "/llvm-lit" which of course doesn't exist
doCheck = false;

View file

@ -47,6 +47,7 @@ stdenv.mkDerivation rec {
description = "Simple, fast, safe, compiled language for developing maintainable software";
license = licenses.mit;
maintainers = with maintainers; [ Madouura ];
mainProgram = "v";
platforms = platforms.all;
};
}

View file

@ -99,19 +99,22 @@ self: super: {
hls-class-plugin = dontCheck super.hls-class-plugin;
hls-selection-range-plugin = dontCheck super.hls-selection-range-plugin;
# Similar RTS issue in test suite:
# rts/linker/elf_reloc_aarch64.c:98: encodeAddendAarch64: Assertion `isInt64(21+12, addend)' failed.
hls-hlint-plugin = dontCheck super.hls-hlint-plugin;
hls-ormolu-plugin = dontCheck super.hls-ormolu-plugin;
hls-haddock-comments-plugin = dontCheck super.hls-haddock-comments-plugin;
# https://github.com/ekmett/half/issues/35
half = dontCheck super.half;
# We disable profiling on aarch64, so tests naturally fail
ghc-prof = dontCheck super.ghc-prof;
} // lib.optionalAttrs (pkgs.stdenv.hostPlatform.isAarch64 && builtins.compareVersions super.ghc.version "9.2" < 0) {
# Some aarch64 issues have been fixed since 9.2
# Similar RTS issue in test suite:
# rts/linker/elf_reloc_aarch64.c:98: encodeAddendAarch64: Assertion `isInt64(21+12, addend)' failed.
# Fixed since 9.2
hls-ormolu-plugin = dontCheck super.hls-ormolu-plugin;
hls-haddock-comments-plugin = dontCheck super.hls-haddock-comments-plugin;
hls-rename-plugin = dontCheck super.hls-rename-plugin;
hls-fourmolu-plugin = dontCheck super.hls-fourmolu-plugin;
} // lib.optionalAttrs pkgs.stdenv.hostPlatform.isAarch32 {
# AARCH32-SPECIFIC OVERRIDES

View file

@ -1667,19 +1667,6 @@ self: super: {
lsp = assert super.lsp.version == "1.4.0.0"; dontCheck super.lsp;
hls-test-utils = assert super.hls-test-utils.version == "1.2.0.0"; appendPatches [
(fetchpatch {
url = "https://github.com/haskell/haskell-language-server/commit/074593987e9086e308b89ecde336de2c64861dc0.patch";
sha256 = "sha256-uTlIbGQKulP3963UPL2V9cqMoIvPscK+s2W/HtBmMWc=";
relative = "hls-test-utils";
})
(fetchpatch {
url = "https://github.com/haskell/haskell-language-server/commit/78305f21783807b04baebca4860c255bfe84d4ab.patch";
sha256 = "sha256-oe8Q8kBJBkel+pR5imFj43NVpm4afcyLgAUCWhrIoPk=";
relative = "hls-test-utils";
})
] super.hls-test-utils;
# 2021-05-08: Tests fail: https://github.com/haskell/haskell-language-server/issues/1809
hls-eval-plugin = dontCheck super.hls-eval-plugin;
@ -2321,6 +2308,10 @@ self: super: {
# 2021-09-18: https://github.com/haskell/haskell-language-server/issues/2205
hls-stylish-haskell-plugin = doJailbreak super.hls-stylish-haskell-plugin;
# Necesssary .txt files are not included in sdist.
# https://github.com/haskell/haskell-language-server/pull/2887
hls-change-type-signature-plugin = dontCheck super.hls-change-type-signature-plugin;
# Too strict bounds on hspec
# https://github.com/haskell-works/hw-hspec-hedgehog/issues/62
# https://github.com/haskell-works/hw-prim/issues/132
@ -2657,4 +2648,9 @@ self: super: {
sha256 = "sha256-fW5bVbAGQxU/gd9zqgVNclwKraBtUjkKDek7L0c4+O0=";
}) super.wstunnel;
# Adjustment of bounds on servant is unreleased
# https://github.com/haskell-servant/servant-cassava/commit/66617547851d38d48f5f1d1b786db1286bdafa9d
servant-cassava = assert super.servant-cassava.version == "0.10.1";
doJailbreak super.servant-cassava;
} // import ./configuration-tensorflow.nix {inherit pkgs haskellLib;} self super

View file

@ -200,6 +200,8 @@ self: super: ({
hls-haddock-comments-plugin = dontCheck super.hls-haddock-comments-plugin;
hls-floskell-plugin = dontCheck super.hls-floskell-plugin;
hls-call-hierarchy-plugin = dontCheck super.hls-call-hierarchy-plugin;
# 2022-05-05: Tests fail and I have no way to debug them.
hls-rename-plugin = dontCheck super.hls-rename-plugin;
# We are lacking pure pgrep at the moment for tests to work
tmp-postgres = dontCheck super.tmp-postgres;
@ -289,4 +291,7 @@ self: super: ({
# tests appear to be failing to link or something:
# https://hydra.nixos.org/build/174540882/nixlog/9
regex-rure = dontCheck super.regex-rure;
# same
# https://hydra.nixos.org/build/174540882/nixlog/9
jacinda = dontCheck super.jacinda;
})

View file

@ -43,7 +43,9 @@ self: super: {
time = null;
transformers = null;
unix = null;
xhtml = null;
# GHC only bundles the xhtml library if haddock is enabled, check if this is
# still the case when updating: https://gitlab.haskell.org/ghc/ghc/-/blob/0198841877f6f04269d6050892b98b5c3807ce4c/ghc.mk#L463
xhtml = if self.ghc.hasHaddock or true then null else self.xhtml_3000_2_2_1;
# cabal-install needs more recent versions of Cabal and base16-bytestring.
cabal-install = super.cabal-install.overrideScope (self: super: {

View file

@ -42,7 +42,9 @@ self: super: {
time = null;
transformers = null;
unix = null;
xhtml = null;
# GHC only bundles the xhtml library if haddock is enabled, check if this is
# still the case when updating: https://gitlab.haskell.org/ghc/ghc/-/blob/0198841877f6f04269d6050892b98b5c3807ce4c/ghc.mk#L463
xhtml = if self.ghc.hasHaddock or true then null else self.xhtml_3000_2_2_1;
# Needs Cabal 3.0.x.
cabal-install = super.cabal-install.overrideScope (self: super: { Cabal = self.Cabal_3_2_1_0; });

View file

@ -42,7 +42,9 @@ self: super: {
time = null;
transformers = null;
unix = null;
xhtml = null;
# GHC only bundles the xhtml library if haddock is enabled, check if this is
# still the case when updating: https://gitlab.haskell.org/ghc/ghc/-/blob/0198841877f6f04269d6050892b98b5c3807ce4c/ghc.mk#L463
xhtml = if self.ghc.hasHaddock or true then null else self.xhtml_3000_2_2_1;
# GHC 8.8.x can build haddock version 2.23.*
haddock = self.haddock_2_23_1;

View file

@ -44,7 +44,9 @@ self: super: {
time = null;
transformers = null;
unix = null;
xhtml = null;
# GHC only bundles the xhtml library if haddock is enabled, check if this is
# still the case when updating: https://gitlab.haskell.org/ghc/ghc/-/blob/0198841877f6f04269d6050892b98b5c3807ce4c/ghc.mk#L463
xhtml = if self.ghc.hasHaddock or true then null else self.xhtml_3000_2_2_1;
# cabal-install needs more recent versions of Cabal and base16-bytestring.
cabal-install = (doJailbreak super.cabal-install).overrideScope (self: super: {

View file

@ -44,7 +44,9 @@ self: super: {
time = null;
transformers = null;
unix = null;
xhtml = null;
# GHC only bundles the xhtml library if haddock is enabled, check if this is
# still the case when updating: https://gitlab.haskell.org/ghc/ghc/-/blob/0198841877f6f04269d6050892b98b5c3807ce4c/ghc.mk#L463
xhtml = if self.ghc.hasHaddock or true then null else self.xhtml_3000_2_2_1;
# Tests fail because of typechecking changes
conduit = dontCheck super.conduit;
@ -90,7 +92,7 @@ self: super: {
# causing the build-depends to be skipped. Since the dependency
# list hasn't changed much since 0.6.4, we can just reuse the
# normal expression.
inherit (self.ghc-exactprint_1_4_1) src version;
inherit (self.ghc-exactprint_1_5_0) src version;
revision = null; editedCabalFile = null;
libraryHaskellDepends = [
self.fail
@ -195,17 +197,7 @@ self: super: {
} super.memory);
# Use hlint from git for GHC 9.2.1 support
hlint = doDistribute (
overrideSrc {
version = "unstable-2021-12-12";
src = pkgs.fetchFromGitHub {
owner = "ndmitchell";
repo = "hlint";
rev = "77a9702e10b772a7695c08682cd4f450fd0e9e46";
sha256 = "0hpp3iw7m7w2abr8vb86gdz3x6c8lj119zxln933k90ia7bmk8jc";
};
} super.hlint
);
hlint = self.hlint_3_4;
# https://github.com/sjakobi/bsb-http-chunked/issues/38
bsb-http-chunked = dontCheck super.bsb-http-chunked;
@ -216,7 +208,7 @@ self: super: {
some = doJailbreak super.some;
fourmolu = super.fourmolu_0_6_0_0;
# hls-fourmolu-plugin in this version has a to strict upper bound of fourmolu <= 0.5.0.0
hls-fourmolu-plugin = assert super.hls-fourmolu-plugin.version == "1.0.2.0"; doJailbreak super.hls-fourmolu-plugin;
hls-fourmolu-plugin = assert super.hls-fourmolu-plugin.version == "1.0.3.0"; doJailbreak super.hls-fourmolu-plugin;
implicit-hie-cradle = doJailbreak super.implicit-hie-cradle;
# 1.3 introduced support for GHC 9.2.x, so when this assert fails, the jailbreak can be removed
hashtables = assert super.hashtables.version == "1.2.4.2"; doJailbreak super.hashtables;
@ -226,18 +218,11 @@ self: super: {
# Compare: https://haskell-language-server.readthedocs.io/en/latest/supported-versions.html
haskell-language-server = overrideCabal (old: {libraryHaskellDepends = builtins.filter (x: x != super.hls-tactics-plugin) old.libraryHaskellDepends;})
(appendConfigureFlags [
"-f-alternateNumberFormat"
"-f-class"
"-f-eval"
"-f-haddockComments"
"-f-hlint"
"-f-retrie"
"-f-splice"
"-f-tactics"
] (super.haskell-language-server.override {
hls-alternate-number-format-plugin = null;
hls-class-plugin = null;
hls-eval-plugin = null;
hls-haddock-comments-plugin = null;
hls-hlint-plugin = null;
hls-retrie-plugin = null;

View file

@ -52,7 +52,9 @@ self: super: {
time = null;
transformers = null;
unix = null;
xhtml = null;
# GHC only bundles the xhtml library if haddock is enabled, check if this is
# still the case when updating: https://gitlab.haskell.org/ghc/ghc/-/blob/0198841877f6f04269d6050892b98b5c3807ce4c/ghc.mk#L463
xhtml = if self.ghc.hasHaddock or true then null else self.xhtml_3000_2_2_1;
# https://github.com/tibbe/unordered-containers/issues/214
unordered-containers = dontCheck super.unordered-containers;

View file

@ -455,6 +455,7 @@ broken-packages:
- bower-json
- bowntz
- bpath
- BPS
- braid
- brain-bleep
- Bravo
@ -511,6 +512,7 @@ broken-packages:
- bytestring-substring
- bytestring-time
- bytestring-typenats
- bzlib-conduit-jappie
- c10k
- c2ats
- cab
@ -523,6 +525,7 @@ broken-packages:
- cabal-constraints
- cabal-db
- cabal-dependency-licenses
- cabal-detailed-quickcheck
- cabal-dev
- cabal-dir
- cabal-edit
@ -854,6 +857,7 @@ broken-packages:
- CoreDump
- CoreErlang
- core-haskell
- core-webserver-warp
- Coroutine
- coroutine-object
- CouchDB
@ -1236,6 +1240,7 @@ broken-packages:
- ede
- edenmodules
- edis
- EdisonAPI
- EdisonCore
- edit
- edit-lenses
@ -2100,6 +2105,7 @@ broken-packages:
- hdo
- hdph-closure
- hdr-histogram
- HDRUtils
- headergen
- heap-console
- heapsort
@ -3932,6 +3938,7 @@ broken-packages:
- polysemy-mocks
- polysemy-readline
- polysemy-req
- polysemy-scoped-fs
- polysemy-zoo
- polytypeable
- polyvariadic
@ -4221,6 +4228,7 @@ broken-packages:
- Referees
- references
- refined-http-api-data
- refined-with
- reflection-extras
- reflex-basic-host
- reflex-dom-ace
@ -4486,7 +4494,6 @@ broken-packages:
- servant-auth-hmac
- servant-avro
- servant-benchmark
- servant-cassava
- servant-client-js
- servant-db
- servant-dhall
@ -5269,6 +5276,7 @@ broken-packages:
- typalyze
- typeable-mock
- typeable-th
- typecheck-plugin-nat-simple
- type-combinators
- typed-digits
- typed-encoding
@ -5388,6 +5396,7 @@ broken-packages:
- utf8-prelude
- utf8-validator
- UTFTConverter
- util
- util-logict
- util-plus
- util-primitive
@ -5804,3 +5813,4 @@ broken-packages:
- Zwaluw
- zxcvbn-hs
- zydiskell
- zyre2

View file

@ -121,7 +121,6 @@ extra-packages:
- brick == 0.64.* # 2021-12-03: matterhorn depends on brick < 0.65
- path == 0.9.0 # 2021-12-03: path version building with stackage genvalidity and GHC 9.0.2
- ormolu == 0.2.* # 2022-02-21: For ghc 8.8 and 8.10
- ghc-exactprint == 1.4.* # 2022-02-07: preserve for now, 1.5.0 has a breaking change without type changes
- ShellCheck == 0.7.2 # 2022-02-20: haskell-ci 0.14 needs this
- weeder == 2.2.* # 2022-02-21: preserve for GHC 8.10.7
- attoparsec == 0.13.* # 2022-02-23: Needed to compile elm for now

View file

@ -1,4 +1,4 @@
# Stackage LTS 19.4
# Stackage LTS 19.5
# This file is auto-generated by
# maintainers/scripts/haskell/update-stackage.sh
default-package-overrides:
@ -78,7 +78,7 @@ default-package-overrides:
- array-memoize ==0.6.0
- arrow-extras ==0.1.0.1
- arrows ==0.4.4.2
- ascii ==1.1.2.0
- ascii ==1.1.3.0
- ascii-case ==1.0.0.10
- ascii-char ==1.0.0.14
- asciidiagram ==1.3.3.3
@ -86,7 +86,7 @@ default-package-overrides:
- ascii-numbers ==1.0.0.0
- ascii-predicates ==1.0.0.10
- ascii-progress ==0.3.3.0
- ascii-superset ==1.0.1.12
- ascii-superset ==1.0.1.13
- ascii-th ==1.0.0.10
- asn1-encoding ==0.9.6
- asn1-parse ==0.9.5
@ -297,8 +297,8 @@ default-package-overrides:
- cast ==0.1.0.2
- caster ==0.0.3.0
- cayley-client ==0.4.17
- cborg ==0.2.6.0
- cborg-json ==0.2.3.0
- cborg ==0.2.7.0
- cborg-json ==0.2.4.0
- cdar-mBound ==0.1.0.4
- c-enum ==0.1.1.3
- cereal ==0.5.8.2
@ -630,7 +630,7 @@ default-package-overrides:
- dual ==0.1.1.1
- dual-tree ==0.2.3.0
- dublincore-xml-conduit ==0.1.0.2
- dunai ==0.8.1
- dunai ==0.8.2
- duration ==0.2.0.0
- dvorak ==0.1.0.0
- dynamic-state ==0.3.1
@ -874,7 +874,7 @@ default-package-overrides:
- ghc-check ==0.5.0.6
- ghc-compact ==0.1.0.0
- ghc-core ==0.5.6
- ghc-events ==0.17.0.2
- ghc-events ==0.17.0.3
- ghc-exactprint ==0.6.4
- ghcid ==0.8.7
- ghci-hexcalc ==0.1.1.0
@ -980,7 +980,7 @@ default-package-overrides:
- HandsomeSoup ==0.4.2
- handwriting ==0.1.0.3
- happstack-server ==7.7.2
- happstack-server-tls ==7.2.1.1
- happstack-server-tls ==7.2.1.2
- happy ==1.20.0
- happy-meta ==0.2.0.11
- HasBigDecimal ==0.1.1
@ -1012,7 +1012,7 @@ default-package-overrides:
- hasql-optparse-applicative ==0.3.0.8
- hasql-pool ==0.5.2.2
- hasql-queue ==1.2.0.2
- hasql-th ==0.4.0.11
- hasql-th ==0.4.0.12
- hasql-transaction ==1.0.1.1
- has-transformers ==0.1.0.4
- hasty-hamiltonian ==1.3.4
@ -1216,6 +1216,7 @@ default-package-overrides:
- hw-json-simd ==0.1.1.1
- hw-json-simple-cursor ==0.1.1.1
- hw-json-standard-cursor ==0.2.3.2
- hwk ==0.6
- hw-kafka-client ==4.0.3
- hw-mquery ==0.2.1.1
- hworker ==0.1.0.1
@ -1240,7 +1241,7 @@ default-package-overrides:
- hxt-unicode ==9.0.2.4
- hybrid-vectors ==0.2.2
- hyper ==0.2.1.1
- hyperloglog ==0.4.5
- hyperloglog ==0.4.6
- hyphenation ==0.8.2
- iconv ==0.4.1.3
- identicon ==0.2.2
@ -1787,7 +1788,7 @@ default-package-overrides:
- pattern-arrows ==0.0.2
- pava ==0.1.1.3
- pcg-random ==0.1.3.7
- pcre2 ==2.1.0.1
- pcre2 ==2.1.1
- pcre-heavy ==1.0.0.2
- pcre-light ==0.4.1.0
- pcre-utils ==0.1.8.2
@ -2030,10 +2031,10 @@ default-package-overrides:
- ref-fd ==0.5
- refined ==0.6.3
- reflection ==2.1.6
- reform ==0.2.7.4
- reform-blaze ==0.2.4.3
- reform ==0.2.7.5
- reform-blaze ==0.2.4.4
- reform-hamlet ==0.0.5.3
- reform-happstack ==0.2.5.4
- reform-happstack ==0.2.5.5
- RefSerialize ==0.4.0
- ref-tf ==0.5.0.1
- regex ==1.1.0.1
@ -2136,7 +2137,7 @@ default-package-overrides:
- sdl2 ==2.5.3.0
- sdl2-ttf ==2.1.2
- search-algorithms ==0.3.2
- secp256k1-haskell ==0.6.0
- secp256k1-haskell ==0.6.1
- securemem ==0.1.10
- selda ==0.5.1.0
- selda-sqlite ==0.1.7.1
@ -2158,7 +2159,7 @@ default-package-overrides:
- sequence-formats ==1.6.6.1
- sequenceTools ==1.5.2
- serf ==0.1.1.0
- serialise ==0.2.4.0
- serialise ==0.2.5.0
- servant ==0.19
- servant-auth ==0.4.1.0
- servant-auth-client ==0.4.1.0
@ -2245,6 +2246,7 @@ default-package-overrides:
- singletons-presburger ==0.6.1.0
- singletons-th ==3.0
- siphash ==1.0.3
- Sit ==0.2022.3.18
- sitemap-gen ==0.1.0.0
- sized ==1.0.0.0
- skein ==1.0.9.4
@ -2382,7 +2384,7 @@ default-package-overrides:
- SVGFonts ==1.8.0.1
- svg-tree ==0.6.2.4
- swagger2 ==2.8.2
- swish ==0.10.1.0
- swish ==0.10.2.0
- syb ==0.7.2.1
- sydtest-discover ==0.0.0.1
- symbol ==0.2.4
@ -2716,7 +2718,7 @@ default-package-overrides:
- wai-cors ==0.2.7
- wai-enforce-https ==1.0.0.0
- wai-eventsource ==3.0.0
- wai-extra ==3.1.8
- wai-extra ==3.1.10
- wai-feature-flags ==0.1.0.3
- wai-handler-launch ==3.0.3.1
- wai-logger ==2.4.0
@ -2749,11 +2751,11 @@ default-package-overrides:
- webgear-server ==1.0.1
- webpage ==0.0.5.1
- web-plugins ==0.4.1
- web-routes ==0.27.14.3
- web-routes-boomerang ==0.28.4.2
- web-routes-happstack ==0.23.12.1
- web-routes-hsp ==0.24.6.1
- web-routes-wai ==0.24.3.1
- web-routes ==0.27.14.4
- web-routes-boomerang ==0.28.4.3
- web-routes-happstack ==0.23.12.2
- web-routes-hsp ==0.24.6.2
- web-routes-wai ==0.24.3.2
- webrtc-vad ==0.1.0.3
- websockets ==0.12.7.3
- websockets-simple ==0.2.0
@ -2839,7 +2841,7 @@ default-package-overrides:
- yesod-auth-hashdb ==1.7.1.7
- yesod-auth-oauth2 ==0.7.0.1
- yesod-bin ==1.6.2.1
- yesod-core ==1.6.22.0
- yesod-core ==1.6.23
- yesod-eventsource ==1.6.0.1
- yesod-form ==1.7.0
- yesod-form-bootstrap4 ==3.0.1
@ -2854,7 +2856,7 @@ default-package-overrides:
- yesod-routes-flow ==3.0.0.2
- yesod-sitemap ==1.6.0
- yesod-static ==1.6.1.0
- yesod-test ==1.6.12
- yesod-test ==1.6.13
- yesod-websockets ==0.3.0.3
- yes-precure5-command ==5.5.3
- yi-rope ==0.11

View file

@ -436,12 +436,14 @@ dont-distribute-packages:
- adp-multi-monadiccp
- aeson-native
- aeson-result
- affine
- afv
- agda-server
- agda-snippets-hakyll
- agentx
- aip
- aivika-distributed
- alg
- algebra-checkers
- algebra-driven-design
- algebra-sql
@ -647,6 +649,7 @@ dont-distribute-packages:
- apiary-websockets
- apis
- apotiki
- appendful-persistent
- approx-rand-test
- arbor-monad-metric-datadog
- archive-tar-bytestring
@ -663,7 +666,7 @@ dont-distribute-packages:
- ascii
- ascii-cows
- ascii-table
- ascii_1_2_0_0
- ascii_1_2_2_0
- asic
- asif
- assert4hs-hspec
@ -770,6 +773,7 @@ dont-distribute-packages:
- berp
- bff
- bglib
- bifunctor
- billboard-parser
- billeksah-forms
- billeksah-main
@ -784,6 +788,7 @@ dont-distribute-packages:
- bindings-ppdev
- bindynamic
- binembed-example
- binrep
- bioace
- bioalign
- biofasta
@ -864,6 +869,7 @@ dont-distribute-packages:
- bytelog
- bytestring-builder-varword
- bytestring-read
- ca
- cabal-bounds
- cabal-cache
- cabal-cargs
@ -913,6 +919,7 @@ dont-distribute-packages:
- cassy
- casui
- categorical-algebra
- category
- category-extras
- cautious-gen
- cctools-workqueue
@ -1068,7 +1075,9 @@ dont-distribute-packages:
- configifier
- configurator-ng
- conic-graphs
- constraint
- constraint-manip
- constraint-reflection
- constructible
- consumers
- container
@ -1095,6 +1104,7 @@ dont-distribute-packages:
- copilot-libraries
- copilot-sbv
- copilot-theorem
- core-webserver-servant
- coroutine-enumerator
- coroutine-iteratee
- couch-simple
@ -1389,6 +1399,8 @@ dont-distribute-packages:
- exinst-deepseq
- exinst-hashable
- exinst-serialise
- exist
- exist-instances
- expand
- expat-enumerator
- expiring-containers
@ -1404,6 +1416,7 @@ dont-distribute-packages:
- extract-dependencies
- factual-api
- fadno
- fair
- fallingblocks
- family-tree
- fast-arithmetic
@ -1484,6 +1497,7 @@ dont-distribute-packages:
- fluent-logger
- fluent-logger-conduit
- fmt-for-rio
- foldable1
- follower
- foo
- formal
@ -1565,6 +1579,7 @@ dont-distribute-packages:
- geniconvert
- geniserver
- genvalidity-aeson
- genvalidity-appendful
- genvalidity-hspec-aeson
- genvalidity-mergeful
- genvalidity-mergeless
@ -2379,6 +2394,7 @@ dont-distribute-packages:
- iteratee-parsec
- iteratee-stm
- iterio-server
- ival
- ivor
- ivory-avr-atmega328p-registers
- ivory-backend-c
@ -2391,6 +2407,7 @@ dont-distribute-packages:
- ivory-serialize
- ivory-stdlib
- ivy-web
- ix
- ixset
- ixset-typed-binary-instance
- ixset-typed-cassava
@ -2474,6 +2491,7 @@ dont-distribute-packages:
- keid-sound-openal
- keid-ui-dearimgui
- kevin
- key-vault
- keyring
- keysafe
- keystore
@ -3058,7 +3076,6 @@ dont-distribute-packages:
- phonetic-languages-simplified-base
- phonetic-languages-simplified-common
- phonetic-languages-simplified-examples-array
- phonetic-languages-simplified-examples-common
- phonetic-languages-simplified-generalized-examples-array
- phonetic-languages-simplified-generalized-examples-common
- phonetic-languages-simplified-generalized-properties-array
@ -3154,6 +3171,7 @@ dont-distribute-packages:
- process-streaming
- procrastinating-structure
- producer
- product
- product-isomorphic
- prof2dot
- profiterole
@ -3249,9 +3267,11 @@ dont-distribute-packages:
- raketka
- rallod
- random-access-file
- random-class
- random-effin
- random-hypergeometric
- range-space
- ranged-list
- rasa
- rasa-example-config
- rasa-ext-bufs
@ -3414,6 +3434,7 @@ dont-distribute-packages:
- roundtrip-xml
- route-generator
- route-planning
- row
- rpc
- rpf
- rsagl
@ -3602,6 +3623,7 @@ dont-distribute-packages:
- smcdel
- smith-cli
- smith-client
- smt
- smtlib2-debug
- smtlib2-pipe
- smtlib2-quickcheck
@ -3936,6 +3958,7 @@ dont-distribute-packages:
- twitter-conduit
- twitter-enumerator
- twitter-types-lens
- txt
- type-assertions
- type-cache
- type-cereal
@ -3981,6 +4004,7 @@ dont-distribute-packages:
- uniqueness-periods-vector-filters
- uniqueness-periods-vector-general
- uniqueness-periods-vector-properties
- universal
- universe
- universe-dependent-sum
- universe-th
@ -4021,6 +4045,7 @@ dont-distribute-packages:
- vacuum-graphviz
- vacuum-opengl
- vacuum-ubigraph
- valid
- variable-precision
- vault-tool-server
- vault-trans

File diff suppressed because it is too large Load diff

View file

@ -18,6 +18,7 @@ stdenv.mkDerivation rec {
description = "An interpreter of K, APL-like programming language";
homepage = "https://github.com/kevinlawler/kona/";
maintainers = with maintainers; [ raskin ];
mainProgram = "k";
platforms = platforms.all;
license = licenses.isc;
};

View file

@ -35,7 +35,8 @@ stdenv.mkDerivation rec {
description = "VM with adaptive optimization and JIT compilation, built for Rakudo";
homepage = "https://moarvm.org";
license = licenses.artistic2;
platforms = platforms.unix;
maintainers = with maintainers; [ thoughtpolice vrthra sgo ];
mainProgram = "moar";
platforms = platforms.unix;
};
}

View file

@ -93,14 +93,15 @@ stdenv.mkDerivation rec {
meta = with lib; {
description = "Software metadata handling library";
homepage = "https://www.freedesktop.org/wiki/Distributions/AppStream/";
longDescription = ''
AppStream is a cross-distro effort for building Software-Center applications
and enhancing metadata provided by software components. It provides
specifications for meta-information which is shipped by upstream projects and
can be consumed by other software.
'';
homepage = "https://www.freedesktop.org/wiki/Distributions/AppStream/";
license = licenses.lgpl21Plus;
mainProgram = "appstreamcli";
platforms = platforms.unix;
};
}

View file

@ -48,10 +48,11 @@ stdenv.mkDerivation rec {
lib.optional stdenv.isDarwin "pcsclite_CFLAGS=-I${PCSC}/Library/Frameworks/PCSC.framework/Headers";
meta = with lib; {
homepage = "https://code.videolan.org/videolan/aribb25";
description = "Sample implementation of the ARIB STD-B25 standard";
platforms = platforms.all;
homepage = "https://code.videolan.org/videolan/aribb25";
license = licenses.isc;
maintainers = with maintainers; [ midchildan ];
mainProgram = "b25";
platforms = platforms.all;
};
}

View file

@ -19,6 +19,7 @@ stdenv.mkDerivation rec {
homepage = "https://github.com/stump/libsmf";
license = licenses.bsd2;
maintainers = [ maintainers.goibhniu ];
mainProgram = "smfsh";
platforms = platforms.unix;
};
}

View file

@ -44,7 +44,8 @@ stdenv.mkDerivation rec {
description = "C99 library implementation for communicating with the S3 service";
homepage = "https://github.com/awslabs/aws-c-s3";
license = licenses.asl20;
platforms = platforms.unix;
maintainers = with maintainers; [ r-burns ];
mainProgram = "s3";
platforms = platforms.unix;
};
}

View file

@ -22,8 +22,10 @@ stdenv.mkDerivation rec {
buildInputs = [ bctoolbox belr ];
nativeBuildInputs = [ cmake ];
# Do not build static libraries
cmakeFlags = [ "-DENABLE_STATIC=NO" ];
cmakeFlags = [
"-DENABLE_STATIC=NO" # Do not build static libraries
"-DENABLE_UNIT_TESTS=NO" # Do not build test executables
];
meta = with lib; {
description = "C++ library to manipulate VCard standard format. Part of the Linphone project.";

View file

@ -15,6 +15,7 @@ stdenv.mkDerivation rec {
homepage = "http://perso.b2b2c.ca/~sarrazip/dev/boolstuff.html";
license = "GPL";
maintainers = [ lib.maintainers.marcweber ];
mainProgram = "booldnf";
platforms = lib.platforms.all;
};
}

View file

@ -39,7 +39,8 @@ stdenv.mkDerivation rec {
description = "Advanced disassembly library";
homepage = "http://www.capstone-engine.org";
license = lib.licenses.bsd3;
platforms = lib.platforms.unix;
maintainers = with lib.maintainers; [ thoughtpolice ris ];
mainProgram = "cstool";
platforms = lib.platforms.unix;
};
}

View file

@ -31,6 +31,7 @@ stdenv.mkDerivation rec {
homepage = "https://libcheck.github.io/check/";
license = licenses.lgpl2Plus;
mainProgram = "checkmk";
platforms = platforms.all;
};
}

View file

@ -21,8 +21,10 @@ stdenv.mkDerivation rec {
meta = {
description = "An open source MPEG-4 and MPEG-2 AAC decoder";
homepage = "https://sourceforge.net/projects/faac/";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ codyopel ];
mainProgram = "faad";
platforms = platforms.all;
};
}

View file

@ -19,6 +19,7 @@ stdenv.mkDerivation rec {
description = "A language independent, scalable, open extension to CG";
homepage = "https://fastcgi-archives.github.io/"; # Formerly http://www.fastcgi.com/
license = "FastCGI see LICENSE.TERMS";
mainProgram = "cgi-fcgi";
platforms = platforms.all;
};
}

View file

@ -38,9 +38,10 @@ stdenv.mkDerivation rec {
access serialized data without unpacking/parsing it first, while still
having great forwards/backwards compatibility.
'';
maintainers = [ maintainers.teh ];
license = licenses.asl20;
platforms = platforms.unix;
homepage = "https://google.github.io/flatbuffers/";
license = licenses.asl20;
maintainers = [ maintainers.teh ];
mainProgram = "flatc";
platforms = platforms.unix;
};
}

View file

@ -149,8 +149,9 @@ stdenv.mkDerivation rec {
meta = with lib; {
description = "A library for image loading and manipulation";
homepage = "https://gitlab.gnome.org/GNOME/gdk-pixbuf";
maintainers = [ maintainers.eelco ] ++ teams.gnome.members;
license = licenses.lgpl21Plus;
maintainers = [ maintainers.eelco ] ++ teams.gnome.members;
mainProgram = "gdk-pixbuf-thumbnailer";
platforms = platforms.unix;
};
}

View file

@ -34,6 +34,7 @@ stdenv.mkDerivation rec {
homepage = "https://sourceforge.net/projects/ser2net/";
license = licenses.gpl2;
maintainers = with maintainers; [ emantor ];
mainProgram = "gensiot";
platforms = platforms.unix;
};
}

View file

@ -73,6 +73,7 @@ stdenv.mkDerivation rec {
license = licenses.gpl3Plus;
maintainers = with maintainers; [ bjg ] ++ teams.sage.members;
mainProgram = "glpsol";
platforms = platforms.all;
};
}

View file

@ -32,6 +32,7 @@ stdenv.mkDerivation rec {
homepage = "https://www.keystone-engine.org";
license = licenses.gpl2Only;
maintainers = with maintainers; [ luc65r ];
mainProgram = "kstool";
platforms = platforms.unix;
};
}

View file

@ -42,9 +42,10 @@ stdenv.mkDerivation rec {
meta = with lib; {
description = "Library with the aim of simplifying DNS programming in C";
license = licenses.bsd3;
homepage = "http://www.nlnetlabs.nl/projects/ldns/";
platforms = platforms.unix;
license = licenses.bsd3;
maintainers = with maintainers; [ dtzWill ];
mainProgram = "drill";
platforms = platforms.unix;
};
}

View file

@ -43,6 +43,7 @@ stdenv.mkDerivation rec {
homepage = "https://www.argon2.com/";
license = with licenses; [ asl20 cc0 ];
maintainers = with maintainers; [ taeer olynch ];
mainProgram = "argon2";
platforms = platforms.linux ++ platforms.darwin;
};
}

View file

@ -18,9 +18,10 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ meson ninja pkg-config ];
meta = with lib; {
homepage = "https://www.zrythm.org";
description = "A library for reading and resampling audio files";
homepage = "https://www.zrythm.org";
license = licenses.agpl3Plus;
mainProgram = "audec";
platforms = platforms.all;
};
}

View file

@ -36,7 +36,9 @@ stdenv.mkDerivation rec {
meta = {
description = "ANSI C routines for fast base64 encoding/decoding";
homepage = "https://github.com/libb64/libb64";
license = lib.licenses.publicDomain;
mainProgram = "base64";
platforms = lib.platforms.unix;
};
}

View file

@ -25,6 +25,7 @@ stdenv.mkDerivation rec {
homepage = "https://gitlab.com/heikkiorsila/bencodetools";
license = licenses.bsd2;
maintainers = with maintainers; [ OPNA2608 ];
mainProgram = "bencat";
platforms = platforms.unix;
};
}

View file

@ -10,10 +10,11 @@ stdenv.mkDerivation rec {
};
meta = with lib; {
homepage = "http://libburnia-project.org/";
description = "A library by which preformatted data get onto optical media: CD, DVD, BD (Blu-Ray)";
homepage = "http://libburnia-project.org/";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ abbradar vrthra ];
mainProgram = "cdrskin";
platforms = with platforms; unix;
};
}

View file

@ -22,6 +22,7 @@ stdenv.mkDerivation rec {
description = "C library to access data on a CDDB server (freedb.org)";
homepage = "http://libcddb.sourceforge.net/";
license = licenses.lgpl2Plus;
mainProgram = "cddb_query";
platforms = platforms.linux ++ platforms.darwin;
};
}

View file

@ -28,9 +28,10 @@ stdenv.mkDerivation rec {
This is a port of xiph.org's cdda paranoia to use libcdio for CDROM
access. By doing this, cdparanoia runs on platforms other than GNU/Linux.
'';
license = licenses.gpl3;
homepage = "https://github.com/rocky/libcdio-paranoia";
platforms = platforms.linux ++ platforms.darwin;
license = licenses.gpl3;
maintainers = [ ];
mainProgram = "cd-paranoia";
platforms = platforms.linux ++ platforms.darwin;
};
}

View file

@ -25,8 +25,9 @@ stdenv.mkDerivation rec {
meta = with lib; {
description = "C++ client library for the CMIS interface";
homepage = "https://sourceforge.net/projects/libcmis/";
homepage = "https://github.com/tdf/libcmis";
license = licenses.gpl2;
mainProgram = "cmis-client";
platforms = platforms.unix;
};
}

View file

@ -15,10 +15,11 @@ stdenv.mkDerivation rec {
++ lib.optional stdenv.isDarwin CoreServices;
meta = with lib; {
homepage = "https://sourceforge.net/projects/libdc1394/";
description = "Capture and control API for IIDC compliant cameras";
homepage = "https://sourceforge.net/projects/libdc1394/";
license = licenses.lgpl21Plus;
maintainers = [ maintainers.viric ];
mainProgram = "dc1394_reset_bus";
platforms = platforms.unix;
};
}

View file

@ -21,7 +21,8 @@ stdenv.mkDerivation rec {
description = "Library for creating DigiDoc signature files";
homepage = "https://github.com/open-eid/libdigidoc";
license = licenses.lgpl2;
platforms = platforms.unix;
maintainers = [ maintainers.jagajaga ];
mainProgram = "cdigidoc";
platforms = platforms.unix;
};
}

View file

@ -36,6 +36,7 @@ stdenv.mkDerivation rec {
description = "Small LD_PRELOAD library to disable fsync and friends";
homepage = "https://www.flamingspork.com/projects/libeatmydata/";
license = licenses.gpl3Plus;
mainProgram = "eatmydata";
platforms = platforms.unix;
};
}

View file

@ -12,9 +12,10 @@ stdenv.mkDerivation rec {
buildInputs = [ libestr];
meta = {
homepage = "http://www.libee.org/";
description = "An Event Expression Library inspired by CEE";
platforms = lib.platforms.unix;
homepage = "http://www.libee.org/";
license = lib.licenses.lgpl21Plus;
mainProgram = "libee-convert";
platforms = lib.platforms.unix;
};
}

View file

@ -12,7 +12,8 @@ stdenv.mkDerivation rec {
meta = with lib; {
description = "An N-Gram-Based Text Categorization library primarily intended for language guessing";
homepage = "https://wiki.documentfoundation.org/Libexttextcat";
platforms = platforms.all;
license = licenses.bsd3;
mainProgram = "createfp";
platforms = platforms.all;
};
}

View file

@ -50,6 +50,7 @@ stdenv.mkDerivation rec {
license = lib.licenses.lgpl2Plus;
maintainers = [ ];
mainProgram = "iconv";
# This library is not needed on GNU platforms.
hydraPlatforms = with lib.platforms; cygwin ++ darwin ++ freebsd;

View file

@ -39,16 +39,17 @@ stdenv.mkDerivation rec {
];
meta = with lib; {
homepage = "https://github.com/libimobiledevice/libirecovery";
description = "Library and utility to talk to iBoot/iBSS via USB on Mac OS X, Windows, and Linux";
longDescription = ''
libirecovery is a cross-platform library which implements communication to
iBoot/iBSS found on Apple's iOS devices via USB. A command-line utility is also
provided.
'';
homepage = "https://github.com/libimobiledevice/libirecovery";
license = licenses.lgpl21;
maintainers = with maintainers; [ nh2 ];
mainProgram = "irecovery";
# Upstream description says it works on more platforms, but packager hasn't tried that yet
platforms = platforms.linux ++ platforms.darwin;
maintainers = with maintainers; [ nh2 ];
};
}

View file

@ -1,50 +1,20 @@
{ bcg729
, bctoolbox
, bcunit
{ bctoolbox
, belcard
, belle-sip
, belr
, bzrtp
, cairo
, cmake
, cyrus_sasl
, doxygen
, fetchFromGitLab
, ffmpeg
, gdk-pixbuf
, glib
, graphviz
, gtk2
, intltool
, jsoncpp
, libexosip
, libmatroska
, libnotify
, libosip
, libsoup
, libupnp
, libX11
, libxml2
, lime
, makeWrapper
, mbedtls
, mediastreamer
, openldap
, ortp
, pango
, pkg-config
, python3
, readline
, bc-soci
, boost
, speex
, sqlite
, lib
, stdenv
, udev
, xercesc
, xsd
, zlib
}:
stdenv.mkDerivation rec {
@ -62,69 +32,31 @@ stdenv.mkDerivation rec {
patches = [ ./use-normal-jsoncpp.patch ];
# Do not build static libraries
cmakeFlags = [ "-DENABLE_STATIC=NO" ];
cmakeFlags = [
"-DENABLE_STATIC=NO" # Do not build static libraries
"-DENABLE_UNIT_TESTS=NO" # Do not build test executables
];
# TODO: Not sure if all these inputs are actually needed. Most of them were
# defined when liblinphone and linphone-desktop weren't separated yet, so some
# of them might not be needed for liblinphone alone.
buildInputs = [
(python3.withPackages (ps: [ ps.pystache ps.six ]))
# Made by BC
bcg729
bctoolbox
belcard
belle-sip
belr
bzrtp
lime
mediastreamer
ortp
# Vendored by BC
bc-soci
# Vendored by BC but we use upstream, might cause problems
libmatroska
cairo
cyrus_sasl
ffmpeg
gdk-pixbuf
glib
gtk2
libX11
libexosip
libnotify
libosip
libsoup
libupnp
libxml2
mbedtls
openldap
pango
readline
boost
speex
sqlite
udev
xercesc
xsd
zlib
jsoncpp
libxml2
(python3.withPackages (ps: [ ps.pystache ps.six ]))
sqlite
xercesc
];
nativeBuildInputs = [
# Made by BC
bcunit
cmake
doxygen
graphviz
intltool
makeWrapper
pkg-config
];
strictDeps = true;

View file

@ -15,9 +15,10 @@ stdenv.mkDerivation rec {
configureFlags = [ "--enable-regexp" ];
meta = with lib; {
homepage = "https://www.liblognorm.com/";
description = "Help to make sense out of syslog data, or, actually, any event data that is present in text form";
homepage = "https://www.liblognorm.com/";
license = licenses.lgpl21;
mainProgram = "lognormalizer";
platforms = platforms.all;
};
}

View file

@ -13,7 +13,8 @@ stdenv.mkDerivation rec {
description = "C library for working with MaxMind geolocation DB files";
homepage = "https://github.com/maxmind/libmaxminddb";
license = licenses.asl20;
platforms = platforms.all;
maintainers = [ maintainers.vcunat ];
mainProgram = "mmdblookup";
platforms = platforms.all;
};
}

View file

@ -22,10 +22,11 @@ stdenv.mkDerivation rec {
'';
meta = with lib; {
homepage = "http://miniupnp.free.fr/libnatpmp.html";
description = "NAT-PMP client";
homepage = "http://miniupnp.free.fr/libnatpmp.html";
license = licenses.bsd3;
maintainers = with maintainers; [ orivej ];
mainProgram = "natpmpc";
platforms = platforms.all;
};
}

View file

@ -61,10 +61,11 @@ stdenv.mkDerivation rec {
};
meta = with lib; {
homepage = "https://gitlab.gnome.org/GNOME/libnotify";
description = "A library that sends desktop notifications to a notification daemon";
platforms = platforms.unix;
maintainers = teams.gnome.members;
homepage = "https://gitlab.gnome.org/GNOME/libnotify";
license = licenses.lgpl21;
maintainers = teams.gnome.members;
mainProgram = "notify-send";
platforms = platforms.unix;
};
}

View file

@ -22,6 +22,7 @@ stdenv.mkDerivation rec {
homepage = "https://github.com/openvenues/libpostal";
license = licenses.mit;
maintainers = [ maintainers.Thra11 ];
mainProgram = "libpostal_data";
platforms = platforms.unix;
};
}

View file

@ -85,7 +85,8 @@ in stdenv.mkDerivation rec {
homepage = "https://rockdaboot.github.io/libpsl/";
changelog = "https://raw.githubusercontent.com/rockdaboot/${pname}/${pname}-${version}/NEWS";
license = licenses.mit;
platforms = platforms.unix;
maintainers = [ maintainers.c0bw3b ];
mainProgram = "psl";
platforms = platforms.unix;
};
}

View file

@ -41,8 +41,9 @@ stdenv.mkDerivation rec {
meta = with lib; {
description = "An advanced calculator library";
homepage = "http://qalculate.github.io";
maintainers = with maintainers; [ gebner doronbehar ];
license = licenses.gpl2Plus;
maintainers = with maintainers; [ gebner doronbehar ];
mainProgram = "qalc";
platforms = platforms.all;
};
}

View file

@ -10,10 +10,11 @@ stdenv.mkDerivation rec {
};
meta = with lib; {
homepage = "https://www.libroxml.net/";
description = "This library is minimum, easy-to-use, C implementation for xml file parsing";
homepage = "https://www.libroxml.net/";
license = licenses.lgpl3;
platforms = platforms.unix;
maintainers = with maintainers; [ mpickering ];
mainProgram = "roxml";
platforms = platforms.unix;
};
}

View file

@ -146,6 +146,7 @@ stdenv.mkDerivation rec {
homepage = "https://wiki.gnome.org/Projects/LibRsvg";
license = licenses.lgpl2Plus;
maintainers = teams.gnome.members;
mainProgram = "rsvg-convert";
platforms = platforms.unix;
};
}

Some files were not shown because too many files have changed in this diff Show more