Merge master into haskell-updates

This commit is contained in:
github-actions[bot] 2023-02-12 00:14:34 +00:00 committed by GitHub
commit b893658602
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
178 changed files with 1402 additions and 665 deletions

View file

@ -6,18 +6,29 @@ let
cfg = config.services.envoy;
format = pkgs.formats.json { };
conf = format.generate "envoy.json" cfg.settings;
validateConfig = file:
validateConfig = required: file:
pkgs.runCommand "validate-envoy-conf" { } ''
${pkgs.envoy}/bin/envoy --log-level error --mode validate -c "${file}"
${cfg.package}/bin/envoy --log-level error --mode validate -c "${file}" ${lib.optionalString (!required) "|| true"}
cp "${file}" "$out"
'';
in
{
options.services.envoy = {
enable = mkEnableOption (lib.mdDoc "Envoy reverse proxy");
package = mkPackageOptionMD pkgs "envoy" { };
requireValidConfig = mkOption {
type = types.bool;
default = true;
description = lib.mdDoc ''
Whether a failure during config validation at build time is fatal.
When the config can't be checked during build time, for example when it includes
other files, disable this option.
'';
};
settings = mkOption {
type = format.type;
default = { };
@ -46,38 +57,44 @@ in
};
config = mkIf cfg.enable {
environment.systemPackages = [ pkgs.envoy ];
environment.systemPackages = [ cfg.package ];
systemd.services.envoy = {
description = "Envoy reverse proxy";
after = [ "network-online.target" ];
requires = [ "network-online.target" ];
wantedBy = [ "multi-user.target" ];
serviceConfig = {
ExecStart = "${pkgs.envoy}/bin/envoy -c ${validateConfig conf}";
DynamicUser = true;
ExecStart = "${cfg.package}/bin/envoy -c ${validateConfig cfg.requireValidConfig conf}";
CacheDirectory = [ "envoy" ];
LogsDirectory = [ "envoy" ];
Restart = "no";
CacheDirectory = "envoy";
LogsDirectory = "envoy";
AmbientCapabilities = "CAP_NET_BIND_SERVICE";
CapabilityBoundingSet = "CAP_NET_BIND_SERVICE";
RestrictAddressFamilies = "AF_UNIX AF_INET AF_INET6 AF_NETLINK AF_XDP";
SystemCallArchitectures = "native";
# Hardening
AmbientCapabilities = [ "CAP_NET_BIND_SERVICE" ];
CapabilityBoundingSet = [ "CAP_NET_BIND_SERVICE" ];
DeviceAllow = [ "" ];
DevicePolicy = "closed";
DynamicUser = true;
LockPersonality = true;
RestrictNamespaces = true;
RestrictRealtime = true;
PrivateUsers = false; # breaks CAP_NET_BIND_SERVICE
MemoryDenyWriteExecute = false; # at least wasmr needs WX permission
PrivateDevices = true;
PrivateUsers = false; # breaks CAP_NET_BIND_SERVICE
ProcSubset = "pid";
ProtectClock = true;
ProtectControlGroups = true;
ProtectHome = true;
ProtectHostname = true;
ProtectKernelLogs = true;
ProtectKernelModules = true;
ProtectKernelTunables = true;
ProtectProc = "ptraceable";
ProtectHostname = true;
ProtectSystem = "strict";
RestrictAddressFamilies = [ "AF_UNIX" "AF_INET" "AF_INET6" "AF_NETLINK" "AF_XDP" ];
RestrictNamespaces = true;
RestrictRealtime = true;
SystemCallArchitectures = "native";
SystemCallErrorNumber = "EPERM";
SystemCallFilter = [ "@system-service" "~@privileged" "~@resources" ];
UMask = "0066";
SystemCallFilter = "~@clock @module @mount @reboot @swap @obsolete @cpu-emulation";
};
};
};

View file

@ -20,6 +20,8 @@ let
ssid=${cfg.ssid}
hw_mode=${cfg.hwMode}
channel=${toString cfg.channel}
ieee80211n=1
ieee80211ac=1
${optionalString (cfg.countryCode != null) "country_code=${cfg.countryCode}"}
${optionalString (cfg.countryCode != null) "ieee80211d=1"}
@ -34,6 +36,7 @@ let
${optionalString cfg.wpa ''
wpa=2
wpa_pairwise=CCMP
wpa_passphrase=${cfg.wpaPassphrase}
''}
${optionalString cfg.noScan "noscan=1"}
@ -66,7 +69,6 @@ in
};
interface = mkOption {
default = "";
example = "wlp2s0";
type = types.str;
description = lib.mdDoc ''

View file

@ -57,6 +57,9 @@ in
];
};
# Yubikey-agent expects pcsd to be running in order to function.
services.pcscd.enable = true;
environment.extraInit = ''
if [ -z "$SSH_AUTH_SOCK" -a -n "$XDG_RUNTIME_DIR" ]; then
export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/yubikey-agent/yubikey-agent.sock"

View file

@ -13,7 +13,7 @@ import ./make-test-python.nix ({ pkgs, lib, ...} : {
socket_address = {
protocol = "TCP";
address = "127.0.0.1";
port_value = 9901;
port_value = 80;
};
};
};
@ -22,12 +22,33 @@ import ./make-test-python.nix ({ pkgs, lib, ...} : {
clusters = [];
};
};
specialisation = {
withoutConfigValidation.configuration = { ... }: {
services.envoy = {
requireValidConfig = false;
settings.admin.access_log_path = lib.mkForce "/var/log/envoy/access.log";
};
};
};
};
testScript = ''
machine.start()
machine.wait_for_unit("envoy.service")
machine.wait_for_open_port(9901)
machine.wait_until_succeeds("curl -fsS localhost:9901/ready")
'';
testScript = { nodes, ... }:
let
specialisations = "${nodes.machine.system.build.toplevel}/specialisation";
in
''
machine.start()
with subtest("envoy.service starts and responds with ready"):
machine.wait_for_unit("envoy.service")
machine.wait_for_open_port(80)
machine.wait_until_succeeds("curl -fsS localhost:80/ready")
with subtest("envoy.service works with config path not available at eval time"):
machine.succeed('${specialisations}/withoutConfigValidation/bin/switch-to-configuration test')
machine.wait_for_unit("envoy.service")
machine.wait_for_open_port(80)
machine.wait_until_succeeds("curl -fsS localhost:80/ready")
machine.succeed('test -f /var/log/envoy/access.log')
'';
})

View file

@ -19,13 +19,13 @@
buildGoModule rec {
pname = "gtkcord4";
version = "0.0.8";
version = "0.0.9";
src = fetchFromGitHub {
owner = "diamondburned";
repo = pname;
rev = "v${version}";
hash = "sha256-aJRVk9KFCJbIFInkg5BCJ6ygBlDCFF53WXO9qyACFus=";
hash = "sha256-55mS+hrhLLRkhgih5lvdM9Xka+WKg2iliFm6TYF6n3w=";
};
nativeBuildInputs = [
@ -61,7 +61,7 @@ buildGoModule rec {
install -D -m 444 internal/icons/png/logo.png $out/share/icons/hicolor/256x256/apps/gtkcord4.png
'';
vendorHash = "sha256-usnlaOqyMd8rdnFpuCqfaCES8bPaB+NbdL4pFybKJbM=";
vendorHash = "sha256-IQpokMeo46vZIdVA1F7JILXCN9bUqTMOCa/SQ0JSjaM=";
meta = with lib; {
description = "GTK4 Discord client in Go, attempt #4.";

View file

@ -24,13 +24,13 @@
stdenv.mkDerivation rec {
pname = if withGui then "elements" else "elementsd";
version = "22.0.2";
version = "22.1";
src = fetchFromGitHub {
owner = "ElementsProject";
repo = "elements";
rev = "elements-${version}";
sha256 = "sha256-20Tem6CD7XAt1EDfkl46Nxhb+Vq3sCk/UqnLCAm85FU=";
sha256 = "sha256-HDV06O9k+TpYR0ZwLas2hvDwxvnfoa8VUzgvkXv/WV8=";
};
nativeBuildInputs =

View file

@ -1,14 +1,11 @@
{ lib, vscode-utils, jq, moreutils }:
let
inherit (vscode-utils) buildVscodeMarketplaceExtension;
in buildVscodeMarketplaceExtension {
vscode-utils.buildVscodeMarketplaceExtension {
mktplcRef = {
name = "jupyter";
publisher = "ms-toolsai";
version = "2022.11.1003381023";
sha256 = "0cbnr52pq0yw6i4yzyrifyrz186l482m9s01h4l7d74fby9ska8h";
version = "2023.2.1000411022";
sha256 = "sha256-gMK/t/rLXYN3rlHxxVeW0W/FWEP0ZCiEwzM8DY14vYg=";
};
nativeBuildInputs = [

View file

@ -1,39 +1,42 @@
{ lib
, stdenv
, fetchFromGitHub
, SDL2
, SDL2_net
, alsa-lib
{ alsa-lib
, copyDesktopItems
, fetchFromGitHub
, fluidsynth
, glib
, gtest
, lib
, libGL
, libGLU
, libjack2
, libmt32emu
, libogg
, libpng
, libpulseaudio
, libslirp
, libsndfile
, makeDesktopItem
, makeWrapper
, meson
, libmt32emu
, ninja
, opusfile
, pkg-config
, libpulseaudio
, glib
, libjack2
, libsndfile
, irr1
, SDL2
, SDL2_image
, SDL2_net
, speexdsp
, stdenv
}:
stdenv.mkDerivation rec {
pname = "dosbox-staging";
version = "0.78.1";
version = "0.80.1";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = "v${version}";
hash = "sha256-gozFZcJorZtbEK0joksig6qWmAMy03hmBHiyJMONfpk=";
hash = "sha256-I90poBeLSq1c8PXyjrx7/UcbfqFNnnNiXfJdWhLPGMc=";
};
nativeBuildInputs = [
@ -46,11 +49,10 @@ stdenv.mkDerivation rec {
];
buildInputs = [
SDL2
SDL2_net
alsa-lib
fluidsynth
glib
irr1
libGL
libGLU
libjack2
@ -61,11 +63,16 @@ stdenv.mkDerivation rec {
libslirp
libsndfile
opusfile
SDL2
SDL2_image
SDL2_net
speexdsp
];
NIX_CFLAGS_COMPILE = [
"-I${SDL2_net}/include/SDL2"
];
NIX_CFLAGS_COMPILE = [
"-I${SDL2_image}/include/SDL2"
"-I${SDL2_net}/include/SDL2"
];
desktopItems = [
(makeDesktopItem {

View file

@ -9,10 +9,10 @@
let
# Keep these separate so the update script can regex them
rpcs3GitVersion = "14684-8652b7d35";
rpcs3Version = "0.0.26-14684-8652b7d35";
rpcs3Revision = "8652b7d358fe975242dd2c51c91fd2968e6bcb82";
rpcs3Sha256 = "08cd082cih9pcppipkhid1x1s7bq4grsz0zfa1rlxkzw3lajxnrf";
rpcs3GitVersion = "14702-cfb788941";
rpcs3Version = "0.0.26-14702-cfb788941";
rpcs3Revision = "cfb788941ce73ebf41060baf0867861dd6bd3e13";
rpcs3Sha256 = "0kwd3x043x3gsqlax3jcb5g1w2v7v7gghmqgbrn3vimcc47x62vn";
ittapi = fetchFromGitHub {
owner = "intel";

View file

@ -1,48 +0,0 @@
{ lib, stdenv, fetchurl, rpmextract, wrapGAppsHook, nwjs }:
stdenv.mkDerivation rec {
pname = "gometer";
version = "5.2.0";
src = fetchurl {
url = "https://gometer-prod-new-apps.s3-accelerate.amazonaws.com/${version}/goMeter-linux64.rpm";
sha256 = "sha256-E53sVvneW2EMPz9HNCgbGuHnDlVihE+Lf+DkFIP+j28=";
};
nativeBuildInputs = [
rpmextract
wrapGAppsHook
];
dontBuild = true;
dontConfigure = true;
unpackPhase = ''
rpmextract ${src}
'';
installPhase = ''
runHook preInstall
mv usr $out
mv opt $out
mkdir $out/share/applications
mv $out/opt/goMeter/goMeter.desktop $out/share/applications/gometer.desktop
substituteInPlace $out/share/applications/gometer.desktop \
--replace '/opt/goMeter/' ""
makeWrapper ${nwjs}/bin/nw $out/bin/goMeter \
--add-flags $out/opt/goMeter/package.nw
runHook postInstall
'';
meta = with lib; {
description = "Analytic-Tracking tool for GoLance";
homepage = "https://golance.com/download-gometer";
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
license = licenses.unfree;
maintainers = with maintainers; [ wolfangaukang ];
};
}

View file

@ -10,21 +10,26 @@
, libzip
, libpng
, libcotp
, protobuf
, protobufc
, qrencode
, libsecret
, libuuid
, zbar
}:
stdenv.mkDerivation rec {
pname = "otpclient";
version = "2.5.1";
version = "3.1.4";
src = fetchFromGitHub {
owner = "paolostivanin";
repo = pname;
rev = "v${version}";
sha256 = "sha256-VUrLbGaDfPE+Ak20ZCJDmO/sgBzdf4S+SqvyQ7F6SQU=";
sha256 = "sha256-Cz3fxmtpSe7GMGmmSLDG9kDifmIMgCBlBRjX/qardXA=";
};
buildInputs = [ gtk3 jansson libgcrypt libzip libpng libcotp zbar ];
buildInputs = [ gtk3 jansson libgcrypt libzip libpng libcotp zbar protobuf protobufc libsecret qrencode libuuid ];
nativeBuildInputs = [ cmake pkg-config wrapGAppsHook ];
meta = with lib; {

View file

@ -24,14 +24,14 @@
mkDerivation rec {
pname = "tellico";
version = "3.4.5";
version = "3.4.6";
src = fetchFromGitLab {
domain = "invent.kde.org";
owner = "office";
repo = pname;
rev = "v${version}";
hash = "sha256-XWzSbtyxOkASTwT5b7+hIEwaKe2bEo6ij+CnPbYNEc0=";
hash = "sha256-aHA4DYuxh4vzXL82HRGMPfqS0DGqq/FLMEuhsr4eLko=";
};
postPatch = ''

View file

@ -1,4 +1,4 @@
{ lib, stdenv, buildGoModule, fetchFromGitHub, installShellFiles }:
{ lib, buildGoModule, fetchFromGitHub, installShellFiles, testers, kubernetes-helm }:
buildGoModule rec {
pname = "kubernetes-helm";
@ -20,12 +20,13 @@ buildGoModule rec {
"-X helm.sh/helm/v3/internal/version.gitCommit=${src.rev}"
];
__darwinAllowLocalNetworking = true;
preCheck = ''
# skipping version tests because they require dot git directory
substituteInPlace cmd/helm/version_test.go \
--replace "TestVersion" "SkipVersion"
'' + lib.optionalString stdenv.isLinux ''
# skipping plugin tests on linux
# skipping plugin tests
substituteInPlace cmd/helm/plugin_test.go \
--replace "TestPluginDynamicCompletion" "SkipPluginDynamicCompletion" \
--replace "TestLoadPlugins" "SkipLoadPlugins"
@ -41,6 +42,12 @@ buildGoModule rec {
installShellCompletion helm.{bash,zsh,fish}
'';
passthru.tests.version = testers.testVersion {
package = kubernetes-helm;
command = "helm version";
version = "v${version}";
};
meta = with lib; {
homepage = "https://github.com/kubernetes/helm";
description = "A package manager for kubernetes";

View file

@ -2,16 +2,16 @@
buildGoModule rec {
pname = "kubelogin";
version = "0.0.25";
version = "0.0.26";
src = fetchFromGitHub {
owner = "Azure";
repo = pname;
rev = "v${version}";
sha256 = "sha256-28snlCqvQ0aF7DHjeHWyjOYuy2wHd2EqEDqmst9MQLc=";
sha256 = "sha256-FDcNrtdAMiSvY84I4zdVEEfOf48n7vE26yQf3IZ69xg=";
};
vendorSha256 = "sha256-mjIB0ITf296yDQJP46EI6pLYkZfyU3yzD9iwP0iIXvQ=";
vendorHash = "sha256-mjIB0ITf296yDQJP46EI6pLYkZfyU3yzD9iwP0iIXvQ=";
ldflags = [
"-X main.version=${version}"

View file

@ -2,7 +2,7 @@
(callPackage ./generic.nix { }) {
channel = "stable";
version = "2.12.3";
sha256 = "01vnqhn5lc4pv1rgwmmzzf7ynqc4ss0jysqhjq0m5yzll2k40d8z";
vendorSha256 = "sha256-7CkeWbgiQIKhuCrJErZrkkx0MD41qxaWAY/18VafLZE=";
version = "2.12.4";
sha256 = "1nl831xjhxyw1r2zvdxy3455sfn1cnn6970n02q7aalmqgz9rpdd";
vendorSha256 = "sha256-c7x2vNO6ap5Ecx4+1hKy6PImFuclSQqvkBKr0LPdX4M=";
}

View file

@ -355,14 +355,13 @@
"vendorHash": "sha256-oVTanZpCWs05HwyIKW2ajiBPz1HXOFzBAt5Us+EtTRw="
},
"equinix": {
"hash": "sha256-hU0mqMuB3yvLWJ6ggDvATQeSFdpsEfs/hmvLV6A2Md4=",
"hash": "sha256-aah3f/5Bd+IgXbyJpDhcyklIYHlK3yy16UkYlOprh0c=",
"homepage": "https://registry.terraform.io/providers/equinix/equinix",
"owner": "equinix",
"proxyVendor": true,
"repo": "terraform-provider-equinix",
"rev": "v1.11.1",
"rev": "v1.12.0",
"spdx": "MIT",
"vendorHash": "sha256-NLvw606QxUwCDViLbR5LjoWGZnk48/zG0NownEATYKM="
"vendorHash": "sha256-Zi2e/Vg9iKTrU8Mb37Y8xHYIBL+IfDnWMUUg5Vqrbfo="
},
"exoscale": {
"hash": "sha256-48msmXj7SFmi5TA0/QYm66oIETymWi5ayF+yExyp+hk=",
@ -821,11 +820,11 @@
"vendorHash": null
},
"okta": {
"hash": "sha256-wKs5XRyyCda6pljtuo8ukAQl5ZZxeDSyt0CQWe8eXqY=",
"hash": "sha256-UMQ1YEXYdaLwYZBhGzbikhExW/HT/u4QSNk08vhmbwA=",
"homepage": "https://registry.terraform.io/providers/okta/okta",
"owner": "okta",
"repo": "terraform-provider-okta",
"rev": "v3.41.0",
"rev": "v3.42.0",
"spdx": "MPL-2.0",
"vendorHash": "sha256-KWSHVI51YHHF3HXpyd1WB5Za721ak+cFhwDIfvC/ax4="
},
@ -1091,11 +1090,11 @@
"vendorHash": "sha256-2wPmLpjhG6QgG+BUCO0oIzHjBOWIOYuptgdtSIm9TZw="
},
"tencentcloud": {
"hash": "sha256-yVI1f86Gpkwl3jCAs5d54rZS8lM7cjbwWq+HUXwi8EU=",
"hash": "sha256-NglAzuZr3OqLHunMbmLm7Cnh24otQXRP1y3ZaDFrXAc=",
"homepage": "https://registry.terraform.io/providers/tencentcloudstack/tencentcloud",
"owner": "tencentcloudstack",
"repo": "terraform-provider-tencentcloud",
"rev": "v1.79.8",
"rev": "v1.79.9",
"spdx": "MPL-2.0",
"vendorHash": null
},
@ -1228,11 +1227,11 @@
"vendorHash": "sha256-guUjkk7oW+Gvu015LUAxGqUwZF4H+4xmmOaMqKixZaI="
},
"vultr": {
"hash": "sha256-DfiJgN1R7qW3c13hBabsMizY3mYamIq8AGms1q9kdVU=",
"hash": "sha256-5pI/jLG8UdMxgubvp5SJDW49C6iHKXOtlnr3EuzwtsQ=",
"homepage": "https://registry.terraform.io/providers/vultr/vultr",
"owner": "vultr",
"repo": "terraform-provider-vultr",
"rev": "v2.12.0",
"rev": "v2.12.1",
"spdx": "MPL-2.0",
"vendorHash": null
},

View file

@ -34,11 +34,11 @@
in
stdenv.mkDerivation rec {
pname = "suricata";
version = "6.0.8";
version = "6.0.10";
src = fetchurl {
url = "https://www.openinfosecfoundation.org/download/${pname}-${version}.tar.gz";
sha256 = "sha256-JTzjzA35Z62TcdbqjU7tkexZPfPtBOCCKcfPhXgMkaM=";
sha256 = "sha256-Wb/Rv12cFZYib6SBW/dmQ85ZaYhmwQeiYmnEgfElxNc=";
};
nativeBuildInputs = [

View file

@ -21,17 +21,17 @@
let
libdeltachat' = libdeltachat.overrideAttrs (old: rec {
version = "1.107.0";
version = "1.107.1";
src = fetchFromGitHub {
owner = "deltachat";
repo = "deltachat-core-rust";
rev = version;
hash = "sha256-fjiS7GZy1BLgmxu4LFOWgucORcVx+9KleQcga+hRkSY=";
hash = "sha256-ISAUZyFrp86ILtRrlowceBQNJ7+tbJReIAe6+u4wwQI=";
};
cargoDeps = rustPlatform.fetchCargoTarball {
inherit src;
name = "${old.pname}-${version}";
hash = "sha256-7XhSI/C0GEmsaL0UupvufB1bfPGbzSQJH720Y4/Do3o=";
hash = "sha256-B4BMxiI3GhsjeD3gYrq5ZpbZ7l77ycrIMWu2sUzZiz4=";
};
});
esbuild' = esbuild.override {
@ -48,16 +48,16 @@ let
};
in buildNpmPackage rec {
pname = "deltachat-desktop";
version = "1.34.3";
version = "1.34.4";
src = fetchFromGitHub {
owner = "deltachat";
repo = "deltachat-desktop";
rev = "v${version}";
hash = "sha256-6WZJD8lMsk1WNguMkXygBCTVpOzNkNuVZJ3Ygv6VBkM=";
hash = "sha256-LV8/r6psUZuCEGbaH1nWlrkeNbEYG8R5O1aCxECPH1E=";
};
npmDepsHash = "sha256-B91yQ/xi8+uyOllqYR7lZTfLBpJvZat1cIIJk9TkM/c=";
npmDepsHash = "sha256-rdZVvsyCo/6C4+gjytCCn9Qcl+chc6U+6orkcM59I8U=";
nativeBuildInputs = [
makeWrapper

View file

@ -1,37 +1,48 @@
{ lib, stdenv, fetchFromGitHub
, vala, cmake, ninja, wrapGAppsHook, pkg-config, gettext
, gobject-introspection, gnome, glib, gdk-pixbuf, gtk3, glib-networking
, xorg, libXdmcp, libxkbcommon
, gobject-introspection, glib, gdk-pixbuf, gtk4, glib-networking
, libadwaita
, libnotify, libsoup, libgee
, librsvg, libsignal-protocol-c
, libsignal-protocol-c
, libgcrypt
, libepoxy
, at-spi2-core
, sqlite
, dbus
, gpgme
, pcre
, pcre2
, qrencode
, icu
, gspell
, srtp, libnice, gnutls, gstreamer, gst-plugins-base, gst-plugins-good, webrtc-audio-processing
}:
, srtp
, libnice
, gnutls
, gstreamer
, gst-plugins-base
, gst-plugins-good
, gst-plugins-bad
, gst-vaapi
, webrtc-audio-processing
}:
stdenv.mkDerivation rec {
pname = "dino";
version = "0.3.1";
version = "0.4.0";
src = fetchFromGitHub {
owner = "dino";
repo = "dino";
rev = "v${version}";
sha256 = "sha256-wjSgs1mUMV7j/8ZeXqWs8aOeWvJHwKziUfbtOC1HS3s=";
sha256 = "sha256-FZ7MVeVxIzxzSQi5G9y+nn487pKLcXEZV1JK9mCY2MQ=";
};
postPatch = ''
# don't overwrite manually set version information
substituteInPlace CMakeLists.txt \
--replace "include(ComputeVersion)" ""
'';
nativeBuildInputs = [
vala
cmake
ninja
ninja # https://github.com/dino/dino/issues/230
pkg-config
wrapGAppsHook
gettext
@ -40,40 +51,42 @@ stdenv.mkDerivation rec {
buildInputs = [
qrencode
gobject-introspection
glib-networking
glib
glib-networking # required for TLS support
libadwaita
libgee
gnome.adwaita-icon-theme
sqlite
gdk-pixbuf
gtk3
gtk4
libnotify
gpgme
libgcrypt
libsoup
pcre
libepoxy
at-spi2-core
dbus
pcre2
icu
libsignal-protocol-c
librsvg
gspell
srtp
libnice
gnutls
gstreamer
gst-plugins-base
gst-plugins-good
gst-plugins-good # contains rtpbin, required for VP9
gst-plugins-bad # required for H264, MSDK
gst-vaapi # required for VAAPI
webrtc-audio-processing
] ++ lib.optionals (!stdenv.isDarwin) [
xorg.libxcb
xorg.libpthreadstubs
libXdmcp
libxkbcommon
];
cmakeFlags = ["-DBUILD_TESTS=yes"];
cmakeFlags = [
"-DBUILD_TESTS=true"
"-DRTP_ENABLE_H264=true"
"-DRTP_ENABLE_MSDK=true"
"-DRTP_ENABLE_VAAPI=true"
"-DRTP_ENABLE_VP9=true"
"-DVERSION_FOUND=true"
"-DVERSION_IS_RELEASE=true"
"-DVERSION_FULL=${version}"
];
# Undefined symbols for architecture arm64: "_gpg_strerror"
NIX_LDFLAGS = lib.optionalString stdenv.isDarwin "-lgpg-error";

View file

@ -1,12 +1,12 @@
{ callPackage }: builtins.mapAttrs (pname: attrs: callPackage ./generic.nix (attrs // { inherit pname; })) {
signal-desktop = {
dir = "Signal";
version = "6.4.1";
hash = "sha256-/Rrph74nVr64Z6blNNn3oMM25YK92MZY/vuF1d+r6Yc=";
version = "6.5.1";
hash = "sha256-At4ILl6nHltP1TMI5cjK7gE4NENAccS4MPMHXJoGveM=";
};
signal-desktop-beta = {
dir = "Signal Beta";
version = "6.5.0-beta.2";
hash = "sha256-cAX9oU3bJrTOH3RbbfUK+49OiRSLjEZLdpJNOMAa94I=";
version = "6.6.0-beta.1";
hash = "sha256-txSvMg7Q+r9UWJMC9Rj2XQ8y1WN3xphMruvOZok/VPk=";
};
}

View file

@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "signalbackup-tools";
version = "20230203";
version = "20230211";
src = fetchFromGitHub {
owner = "bepaald";
repo = pname;
rev = version;
sha256 = "sha256-xXIdXv2U5VpRSuJ9Kl6HMDBZGpXRYGPZFBBk9QYODtU=";
hash = "sha256-NeArgsl5xbgcXY8OKjF2wMdwJqgsBdR1XSrIWPqRWMs=";
};
postPatch = ''
@ -36,5 +36,6 @@ stdenv.mkDerivation rec {
license = licenses.gpl3Only;
maintainers = [ maintainers.malo ];
platforms = platforms.all;
broken = stdenv.isDarwin;
};
}

View file

@ -3,12 +3,12 @@ electron, libsecret }:
stdenv.mkDerivation rec {
pname = "tutanota-desktop";
version = "3.106.4";
version = "3.108.12";
src = fetchurl {
url = "https://github.com/tutao/tutanota/releases/download/tutanota-desktop-release-${version}/${pname}-${version}-unpacked-linux.tar.gz";
name = "tutanota-desktop-${version}.tar.gz";
sha256 = "sha256-RU2JEFtYOpxqA02YDuB/V4t/ZZ608EHGMPpwxVOzRz4=";
sha256 = "sha256-ZXQCth5nhCkEZI348057cRjzFWl/IEytQmkmBuJzw3w=";
};
nativeBuildInputs = [

View file

@ -10,14 +10,14 @@ assert guiSupport -> (dbus != null);
assert trackerSearch -> (python3 != null);
mkDerivation rec {
pname = "qbittorrent";
version = "4.4.5";
pname = "qbittorrent" + lib.optionalString (!guiSupport) "-nox";
version = "4.5.0";
src = fetchFromGitHub {
owner = "qbittorrent";
repo = "qBittorrent";
rev = "release-${version}";
sha256 = "sha256-EgRDNOJ4szdZA5ipOuGy2R0oVdjWcuqPU3ecU3ZNK3g=";
hash = "sha256-mDjY6OAegMjU/z5+/BUbodxJjntFbk5bsfOfqIWa87o=";
};
enableParallelBuilding = true;
@ -43,8 +43,8 @@ mkDerivation rec {
postInstall = lib.optionalString stdenv.isDarwin ''
mkdir -p $out/{Applications,bin}
cp -R src/qbittorrent.app $out/Applications
makeWrapper $out/{Applications/qbittorrent.app/Contents/MacOS,bin}/qbittorrent
cp -R src/${pname}.app $out/Applications
makeWrapper $out/{Applications/${pname}.app/Contents/MacOS,bin}/${pname}
'';
meta = with lib; {

View file

@ -4,8 +4,11 @@
, fetchpatch
, openssl
, libsamplerate
, swig
, alsa-lib
, AppKit
, python3
, pythonSupport ? true
}:
stdenv.mkDerivation rec {
@ -33,6 +36,9 @@ stdenv.mkDerivation rec {
})
];
nativeBuildInputs =
lib.optionals pythonSupport [ swig python3 ];
buildInputs = [ openssl libsamplerate ]
++ lib.optional stdenv.isLinux alsa-lib
++ lib.optional stdenv.isDarwin AppKit;
@ -41,11 +47,24 @@ stdenv.mkDerivation rec {
export LD=$CC
'';
postBuild = lib.optionalString pythonSupport ''
make -C pjsip-apps/src/swig/python
'';
outputs = [ "out" ]
++ lib.optional pythonSupport "py";
configureFlags = [ "--enable-shared" ];
postInstall = ''
mkdir -p $out/bin
cp pjsip-apps/bin/pjsua-* $out/bin/pjsua
mkdir -p $out/share/${pname}-${version}/samples
cp pjsip-apps/bin/samples/*/* $out/share/${pname}-${version}/samples
'' + lib.optionalString pythonSupport ''
(cd pjsip-apps/src/swig/python && \
python setup.py install --prefix=$py
)
'';
# We need the libgcc_s.so.1 loadable (for pthread_cancel to work)

View file

@ -8,13 +8,13 @@
python3Packages.buildPythonApplication rec {
pname = "eggnog-mapper";
version = "2.1.9";
version = "2.1.10";
src = fetchFromGitHub {
owner = "eggnogdb";
repo = pname;
rev = "refs/tags/${version}";
hash = "sha256-Fn7hJhZG/T8f2nP+ltl1/FBFwXz0Kxz/4mIma/Z0bnE=";
hash = "sha256-6R2gl2l2Cl/eva0g+kxDLBI2+5T9cFTgaGMsEfeDVU0=";
};
postPatch = ''

View file

@ -7,14 +7,14 @@
python3.pkgs.buildPythonApplication rec {
pname = "cwltool";
version = "3.1.20230201130431";
version = "3.1.20230209161050";
format = "setuptools";
src = fetchFromGitHub {
owner = "common-workflow-language";
repo = pname;
rev = "refs/tags/${version}";
hash = "sha256-rx5rdB8OgJ7Mck3pm1GRrymZbQ3lHlXFecICb/pbnKg=";
hash = "sha256-gc/KSJS3KcxXc3xDyJSXavaxtwhKBiihgdI7yc7d2I8=";
};
postPatch = ''

View file

@ -20,13 +20,13 @@
buildGoModule rec {
pname = "forgejo";
version = "1.18.3-0";
version = "1.18.3-1";
src = fetchurl {
name = "${pname}-src-${version}.tar.gz";
# see https://codeberg.org/forgejo/forgejo/releases
url = "https://codeberg.org/attachments/384fd9ab-7c64-4c29-9b1b-cdb803c48103";
hash = "sha256-zBGd+wPJDw7bwRvAlscqbQHDG6po3dlbpYccfanbtyU=";
url = "https://codeberg.org/attachments/3fdf0967-d3f4-4488-a2bf-276c4a64d97c";
hash = "sha256-H69qKdmz5qHJ353UZYztUlStpj/RyE6LA8cDaRnVYAQ=";
};
vendorHash = null;

View file

@ -86,8 +86,9 @@ stdenvNoCC.mkDerivation rec {
yarn2nix;
};
meta = {
meta = with lib; {
inherit (mirakurun.meta) description platforms;
maintainers = with lib.maintainers; [ midchildan ];
license = licenses.asl20;
maintainers = with maintainers; [ midchildan ];
};
}

View file

@ -10,13 +10,13 @@
buildGoModule rec {
pname = "containerd";
version = "1.6.16";
version = "1.6.17";
src = fetchFromGitHub {
owner = "containerd";
repo = "containerd";
rev = "v${version}";
hash = "sha256-p2I188MGoxnd7dBAMQ0bM5+GT8z3y9S4cZW2Q99DyzY=";
hash = "sha256-5Kpqgn4g08i8UVw9mfK5gc2wSx4wTk6NIzbT7tzY+ho=";
};
vendorHash = null;

View file

@ -5,13 +5,13 @@
stdenv.mkDerivation rec {
pname = "swaylock";
version = "1.7";
version = "1.7.2";
src = fetchFromGitHub {
owner = "swaywm";
repo = "swaylock";
rev = version;
hash = "sha256-xbcVsnE0DecC+g49NOBNpqPl5JTtuxUUc7KinKhi5TE=";
rev = "v${version}";
hash = "sha256-ZsOLDqmkyhel8QAezdVZ51utruJrBZWqaZ7NzimXWQ4=";
};
strictDeps = true;

View file

@ -1,17 +1,24 @@
{ lib, stdenv, fetchurl, gtk-engine-murrine }:
{ lib
, stdenv
, fetchurl
, gtk-engine-murrine
, gitUpdater
}:
stdenv.mkDerivation rec {
pname = "theme-obsidian2";
version = "2.21";
version = "2.22";
src = fetchurl {
url = "https://github.com/madmaxms/theme-obsidian-2/releases/download/v${version}/obsidian-2-theme.tar.xz";
sha256 = "sha256-ptiJeb4ebfnH6HpTN1NsPAYbkLlPcZtn2aBKO0zW2Tw=";
sha256 = "sha256-WvSlzCock0UMdvajHRBNHSugVMStR1FDt9vjzX5Kp8A=";
};
sourceRoot = ".";
propagatedUserEnvPkgs = [ gtk-engine-murrine ];
propagatedUserEnvPkgs = [
gtk-engine-murrine
];
installPhase = ''
runHook preInstall
@ -20,8 +27,13 @@ stdenv.mkDerivation rec {
runHook postInstall
'';
passthru.updateScript = gitUpdater {
url = "https://github.com/madmaxms/theme-obsidian-2";
rev-prefix = "v";
};
meta = with lib; {
description = "Gnome theme, based upon Adwaita-Maia dark skin";
description = "Gnome theme based upon Adwaita-Maia dark skin";
homepage = "https://github.com/madmaxms/theme-obsidian-2";
license = with licenses; [ gpl3Only ];
platforms = platforms.linux;

View file

@ -1,15 +1,19 @@
{lib, stdenv, fetchpatch, fetchurl, autoreconfHook, pkg-config, atk, cairo, glib
, gnome-common, gtk2, pango
, libxml2Python, perl, intltool, gettext, gtk-mac-integration-gtk2 }:
, libxml2Python, perl, intltool, gettext, gtk-mac-integration-gtk2
, testers
}:
with lib;
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "gtksourceview";
version = "2.10.5";
src = fetchurl {
url = "mirror://gnome/sources/gtksourceview/2.10/${pname}-${version}.tar.bz2";
src = let
inherit (finalAttrs) pname version;
in fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.bz2";
sha256 = "c585773743b1df8a04b1be7f7d90eecdf22681490d6810be54c81a7ae152191e";
};
@ -40,4 +44,10 @@ stdenv.mkDerivation rec {
'';
doCheck = false; # requires X11 daemon
}
passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
meta = {
pkgConfigModules = [ "gtksourceview-2.0" ];
};
})

View file

@ -1,12 +1,16 @@
{ lib, stdenv, fetchurl, fetchpatch, pkg-config, libxml2, bzip2, openssl, dbus-glib
, glib, gamin, cdparanoia, intltool, GConf, gnome_mime_data, avahi, acl }:
, glib, gamin, cdparanoia, intltool, GConf, gnome_mime_data, avahi, acl
, testers
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "gnome-vfs";
version = "2.24.4";
src = fetchurl {
url = "mirror://gnome/sources/gnome-vfs/${lib.versions.majorMinor version}/gnome-vfs-${version}.tar.bz2";
src = let
inherit (finalAttrs) pname version;
in fetchurl {
url = "mirror://gnome/sources/gnome-vfs/${lib.versions.majorMinor version}/${pname}-${version}.tar.bz2";
sha256 = "1ajg8jb8k3snxc7rrgczlh8daxkjidmcv3zr9w809sq4p2sn9pk2";
};
@ -35,4 +39,10 @@ stdenv.mkDerivation rec {
postPatch = "find . -name Makefile.in | xargs sed 's/-DG_DISABLE_DEPRECATED//g' -i ";
doCheck = false; # needs dbus daemon
}
passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
meta = {
pkgConfigModules = [ "gnome-vfs-2.0" "gnome-vfs-module-2.0" ];
};
})

View file

@ -1,14 +1,16 @@
{ lib, stdenv, fetchurl, glib, dbus, libgcrypt, pkg-config, intltool, gobject-introspection, gnome }:
{ lib, stdenv, fetchurl, glib, dbus, libgcrypt, pkg-config, intltool, gobject-introspection, gnome
, testers
}:
let
pname = "libgnome-keyring";
version = "3.12.0";
in
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
name = "${pname}-${version}";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${name}.tar.xz";
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "c4c178fbb05f72acc484d22ddb0568f7532c409b0a13e06513ff54b91e947783";
};
@ -17,10 +19,13 @@ stdenv.mkDerivation rec {
propagatedBuildInputs = [ glib gobject-introspection dbus libgcrypt ];
nativeBuildInputs = [ pkg-config intltool ];
passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
meta = {
description = "Framework for managing passwords and other secrets";
homepage = "https://wiki.gnome.org/Projects/GnomeKeyring";
license = with lib.licenses; [ gpl2Plus lgpl2Plus ];
pkgConfigModules = [ "gnome-keyring-1" ];
inherit (glib.meta) platforms maintainers;
longDescription = ''
@ -29,4 +34,4 @@ stdenv.mkDerivation rec {
with the gnome-keyring system.
'';
};
}
})

View file

@ -1,29 +1,35 @@
{ lib, stdenv, fetchurl }:
{ lib
, stdenv
, fetchFromGitHub
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (self: {
pname = "dev86";
version = "0.16.21";
version = "unstable-2022-07-19";
src = fetchurl {
url = "http://v3.sk/~lkundrak/dev86/Dev86src-${version}.tar.gz";
sha256 = "154dyr2ph4n0kwi8yx0n78j128kw29rk9r9f7s2gddzrdl712jr3";
src = fetchFromGitHub {
owner = "jbruchon";
repo = "dev86";
rev = "f5cd3e5c17a0d3cd8298bac8e30bed6e59c4e57a";
hash = "sha256-CWeboFkJkpKHZ/wkuvMj5a+5qB2uzAtoYy8OdyYErMg=";
};
hardeningDisable = [ "format" ];
makeFlags = [ "PREFIX=${placeholder "out"}" ];
makeFlags = [ "PREFIX=$(out)" ];
# Parallel builds are not supported due to build process structure:
# tools are built sequentially in submakefiles and are reusing the
# same targets as dependencies. Building dependencies in parallel
# from different submakes is not synchronized and fails:
# Parallel builds are not supported due to build process structure: tools are
# built sequentially in submakefiles and are reusing the same targets as
# dependencies. Building dependencies in parallel from different submakes is
# not synchronized and fails:
# make[3]: Entering directory '/build/dev86-0.16.21/libc'
# Unable to execute as86.
enableParallelBuilding = false;
meta = {
description = "Linux 8086 development environment";
homepage = "https://github.com/lkundrak/dev86";
homepage = "https://github.com/jbruchon/dev86";
description =
"C compiler, assembler and linker environment for the production of 8086 executables";
license = lib.licenses.gpl2Plus;
maintainers = [ lib.maintainers.AndersonTorres ];
platforms = lib.platforms.linux;
};
}
})

View file

@ -10,17 +10,19 @@ stdenv.mkDerivation rec {
version = "12.2.rel1";
platform = {
aarch64-linux = "aarch64";
x86_64-darwin = "darwin-x86_64";
x86_64-linux = "x86_64";
aarch64-darwin = "darwin-arm64";
aarch64-linux = "aarch64";
x86_64-darwin = "darwin-x86_64";
x86_64-linux = "x86_64";
}.${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}");
src = fetchurl {
url = "https://developer.arm.com/-/media/Files/downloads/gnu/${version}/binrel/arm-gnu-toolchain-${version}-${platform}-arm-none-eabi.tar.xz";
sha256 = {
aarch64-linux = "131ydgndff7dyhkivfchbk43lv3cv2p172knkqilx64aapvk5qvy";
x86_64-darwin = "00i9gd1ny00681pwinh6ng9x45xsyrnwc6hm2vr348z9gasyxh00";
x86_64-linux = "0rv8r5zh0a5621v0xygxi8f6932qgwinw2s9vnniasp9z7897gl4";
aarch64-darwin = "0j12n631bmbfvnfbmv4q7cfhmh4l7ka3vcjcvyw0vjqb4msyia91";
aarch64-linux = "131ydgndff7dyhkivfchbk43lv3cv2p172knkqilx64aapvk5qvy";
x86_64-darwin = "00i9gd1ny00681pwinh6ng9x45xsyrnwc6hm2vr348z9gasyxh00";
x86_64-linux = "0rv8r5zh0a5621v0xygxi8f6932qgwinw2s9vnniasp9z7897gl4";
}.${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}");
};
@ -47,6 +49,6 @@ stdenv.mkDerivation rec {
homepage = "https://developer.arm.com/open-source/gnu-toolchain/gnu-rm";
license = with licenses; [ bsd2 gpl2 gpl3 lgpl21 lgpl3 mit ];
maintainers = with maintainers; [ prusnak ];
platforms = [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" ];
platforms = [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin" ];
};
}

View file

@ -1,7 +1,7 @@
{ config, lib, pkgs }:
lib.makeScope pkgs.newScope (self: with self; {
lib.makeScope pkgs.newScope (self: {
harec = callPackage ./harec { };
hare = callPackage ./hare { };
harec = pkgs.callPackage ./harec { };
hare = pkgs.callPackage ./hare { };
})

View file

@ -25,3 +25,20 @@ SCDOC = scdoc
# Where to store build artifacts
# set HARECACHE externally
# Cross-compiler toolchains
# # TODO: fixup this
AARCH64_AS=aarch64-as
AARCH64_AR=aarch64-ar
AARCH64_CC=aarch64-cc
AARCH64_LD=aarch64-ld
RISCV64_AS=riscv64-as
RISCV64_AR=riscv64-ar
RISCV64_CC=riscv64-cc
RISCV64_LD=riscv64-ld
X86_64_AS=as
X86_64_AR=ar
X86_64_CC=cc
X86_64_LD=ld

View file

@ -2,25 +2,30 @@
, stdenv
, fetchFromSourcehut
, binutils-unwrapped
, harec
, harePackages
, makeWrapper
, qbe
, scdoc
, substituteAll
}:
stdenv.mkDerivation (finalAttrs: {
let
inherit (harePackages) harec;
in
stdenv.mkDerivation (self: {
pname = "hare";
version = "unstable-2022-07-30";
version = "unstable-2023-02-10";
src = fetchFromSourcehut {
owner = "~sircmpwn";
repo = "hare";
rev = "296925c91d79362d6b8ac94e0336a38e9af0f1c9";
hash = "sha256-LeIUnpTMZ6vxgAy/LPm9/IMit41RgezdVESIv+gQFHc=";
rev = "52b3f2d0c7a85e04a79666a954101e527b7f1272";
hash = "sha256-/zP8LbZ113Ar06MZF1zP20LKMGko+4HcOXSntLVAQAU=";
};
patches = [ ./disable-failing-test-cases.patch ];
patches = [
./000-disable-failing-test-cases.diff
];
nativeBuildInputs = [
binutils-unwrapped
@ -86,12 +91,13 @@ stdenv.mkDerivation (finalAttrs: {
setupHook = ./setup-hook.sh;
meta = with lib; {
meta = {
homepage = "http://harelang.org/";
description =
"A systems programming language designed to be simple, stable, and robust";
license = licenses.gpl3Only;
maintainers = with maintainers; [ AndersonTorres ];
license = lib.licenses.gpl3Only;
maintainers = [ lib.maintainers.AndersonTorres ];
inherit (harec.meta) platforms badPlatforms;
broken = stdenv.isAarch64; # still figuring how to set cross-compiling stuff
};
})

View file

@ -4,15 +4,15 @@
, qbe
}:
stdenv.mkDerivation (finalAttrs: {
stdenv.mkDerivation (self: {
pname = "harec";
version = "unstable-2022-07-02";
version = "unstable-2023-02-08";
src = fetchFromSourcehut {
owner = "~sircmpwn";
repo = "harec";
rev = "56359312644f76941de1878d33a1a0b840be8056";
hash = "sha256-8SFYRJSvX8hmsHBgaLUfhLUV7d54im22ETZds1eASc4=";
rev = "4730fa6b835f08c44bd7991cc8b264fbc27d752b";
hash = "sha256-XOhZWdmkMAuXbj7svILJI3wI7RF9OAb/OE1uGel4/vE=";
};
nativeBuildInputs = [
@ -30,15 +30,15 @@ stdenv.mkDerivation (finalAttrs: {
doCheck = true;
meta = with lib; {
meta = {
homepage = "http://harelang.org/";
description = "Bootstrapping Hare compiler written in C for POSIX systems";
license = licenses.gpl3Only;
maintainers = with maintainers; [ AndersonTorres ];
license = lib.licenses.gpl3Only;
maintainers = [ lib.maintainers.AndersonTorres ];
# The upstream developers do not like proprietary operating systems; see
# https://harelang.org/platforms/
platforms = with platforms;
platforms = with lib.platforms;
lib.intersectLists (freebsd ++ linux) (aarch64 ++ x86_64 ++ riscv64);
badPlatforms = with platforms; darwin;
badPlatforms = lib.platforms.darwin;
};
})

View file

@ -0,0 +1,16 @@
The 4.09.1 tarball appears to have been acidentally generated as a
development tarball, which causes configure to enable -Werror. This
means newer compilers will make the build fail.
diff a/configure b/configure
--- a/configure
+++ b/configure
@@ -12360,7 +12360,7 @@ case $ocaml_cv_cc_vendor in #(
msvc-*) :
outputobj=-Fo; CPP="cl -nologo -EP"; gcc_warnings="" ;; #(
*) :
- outputobj='-o $(EMPTY)'; case 4.09.1+dev1-2020-03-13 in #(
+ outputobj='-o $(EMPTY)'; case 4.09.1 in #(
*+dev*) :
gcc_warnings="-Wall -Werror" ;; #(
*) :

View file

@ -8,6 +8,7 @@ import ./generic.nix {
hardeningDisable = [ "strictoverflow" ];
patches = [
./4.09.1-Werror.patch
# Compatibility with Glibc 2.34
{ url = "https://github.com/ocaml/ocaml/commit/8eed2e441222588dc385a98ae8bd6f5820eb0223.patch";
sha256 = "sha256:1b3jc6sj2k23yvfwrv6nc1f4x2n2biqbhbbp74aqb6iyqyjsq35n"; }

View file

@ -5,11 +5,11 @@
stdenv.mkDerivation rec {
pname = "qbe";
version = "1.0";
version = "1.1";
src = fetchzip {
url = "https://c9x.me/compile/release/qbe-${version}.tar.xz";
sha256 = "sha256-Or6m/y5hb9SlSToBevjhaSbk5Lo5BasbqeJmKd1QpGM=";
sha256 = "sha256-yFZ3cpp7eLjf7ythKFTY1YEJYyfeg2en4/D8+9oM1B4=";
};
makeFlags = [ "PREFIX=$(out)" ];

View file

@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "zef";
version = "0.15.0";
version = "0.16.0";
src = fetchFromGitHub {
owner = "ugexe";
repo = "zef";
rev = "v${version}";
sha256 = "sha256-MJKG/8b8l2RqWec5JoWcYLYrEKI9zrhJMyLqVcvAY+g=";
sha256 = "sha256-p8BihjMB0y8jcoFP/pxJNkwF3vEacMywV6W1Znv2fyo=";
};
nativeBuildInputs = [ makeWrapper ];

View file

@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
pname = "SDL2_ttf";
version = "2.20.1";
version = "2.20.2";
src = fetchurl {
url = "https://www.libsdl.org/projects/SDL_ttf/release/${pname}-${version}.tar.gz";
sha256 = "sha256-eM2tUfPMOtppMrG7bpFLM3mKuXCh6Bd2PyLdv9l9DFc=";
sha256 = "sha256-ncce2TSHUhsQeixKnKa/Q/ti9r3dXCawVea5FBiiIFM=";
};
configureFlags = lib.optional stdenv.isDarwin "--disable-sdltest";

View file

@ -156,7 +156,7 @@ in {
"cairo-ps"
"cairo-svg"
] ++ lib.optional gobjectSupport "cairo-gobject"
++ lib.optional pdfSupport "cairo-gobject";
++ lib.optional pdfSupport "cairo-pdf";
platforms = platforms.all;
};
})

View file

@ -1,11 +1,13 @@
{ lib, stdenv, darwin, fetchurl, openal }:
{ lib, stdenv, darwin, fetchurl, openal
, testers
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "freealut";
version = "1.1.0";
src = fetchurl {
url = "http://www.openal.org/openal_webstf/downloads/freealut-${version}.tar.gz";
url = "http://www.openal.org/openal_webstf/downloads/freealut-${finalAttrs.version}.tar.gz";
sha256 = "0kzlil6112x2429nw6mycmif8y6bxr2cwjcvp18vh6s7g63ymlb0";
};
@ -14,10 +16,13 @@ stdenv.mkDerivation rec {
darwin.apple_sdk.frameworks.OpenAL
;
passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
meta = {
homepage = "http://openal.org/";
description = "Free implementation of OpenAL's ALUT standard";
license = lib.licenses.lgpl2;
pkgConfigModules = [ "freealut" ];
platforms = lib.platforms.unix;
};
}
})

View file

@ -1,11 +1,13 @@
{ lib, stdenv, fetchurl, libICE, libXext, libXi, libXrandr, libXxf86vm, libGL, libGLU, cmake }:
{ lib, stdenv, fetchurl, libICE, libXext, libXi, libXrandr, libXxf86vm, libGL, libGLU, cmake
, testers
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "freeglut";
version = "3.2.2";
src = fetchurl {
url = "mirror://sourceforge/freeglut/freeglut-${version}.tar.gz";
url = "mirror://sourceforge/freeglut/freeglut-${finalAttrs.version}.tar.gz";
sha256 = "sha256-xZRKCC3wu6lrV1bd2x910M1yzie1OVxsHd6Fwv8pelA=";
};
@ -22,6 +24,8 @@ stdenv.mkDerivation rec {
"-DFREEGLUT_BUILD_STATIC:BOOL=OFF"
];
passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
meta = with lib; {
description = "Create and manage windows containing OpenGL contexts";
longDescription = ''
@ -34,7 +38,8 @@ stdenv.mkDerivation rec {
'';
homepage = "https://freeglut.sourceforge.net/";
license = licenses.mit;
pkgConfigModules = [ "glut" ];
platforms = platforms.all;
maintainers = [ maintainers.bjornfor ];
};
}
})

View file

@ -22,14 +22,15 @@
, qt5
, texmacs
, ttfautohint
, testers
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "freetype";
version = "2.12.1";
src = fetchurl {
src = let inherit (finalAttrs) pname version; in fetchurl {
url = "mirror://savannah/${pname}/${pname}-${version}.tar.xz";
sha256 = "sha256-R2byAVfMTPDNKS+Av5F/ktHEObJDrDAY3r9rkUDEGn8=";
};
@ -82,6 +83,7 @@ stdenv.mkDerivation rec {
ttfautohint;
inherit (python3.pkgs) freetype-py;
inherit (qt5) qtbase;
pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
};
meta = with lib; {
@ -96,6 +98,7 @@ stdenv.mkDerivation rec {
homepage = "https://www.freetype.org/";
license = licenses.gpl2Plus; # or the FreeType License (BSD + advertising clause)
platforms = platforms.all;
pkgConfigModules = [ "freetype2" ];
maintainers = with maintainers; [ ttuegel ];
};
}
})

View file

@ -19,16 +19,19 @@
, doCheck ? false
, makeWrapper
, lib
, testers
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "gdk-pixbuf";
version = "2.42.10";
outputs = [ "out" "dev" "man" "devdoc" ]
++ lib.optional (stdenv.buildPlatform == stdenv.hostPlatform) "installedTests";
src = fetchurl {
src = let
inherit (finalAttrs) pname version;
in fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "7ptsddE7oJaQei48aye2G80X9cfr6rWltDnS8uOf5Es=";
};
@ -97,7 +100,7 @@ stdenv.mkDerivation rec {
'' + lib.optionalString stdenv.isDarwin ''
# meson erroneously installs loaders with .dylib extension on Darwin.
# Their @rpath has to be replaced before gdk-pixbuf-query-loaders looks at them.
for f in $out/${passthru.moduleDir}/*.dylib; do
for f in $out/${finalAttrs.passthru.moduleDir}/*.dylib; do
install_name_tool -change @rpath/libgdk_pixbuf-2.0.0.dylib $out/lib/libgdk_pixbuf-2.0.0.dylib $f
mv $f ''${f%.dylib}.so
done
@ -127,12 +130,13 @@ stdenv.mkDerivation rec {
passthru = {
updateScript = gnome.updateScript {
packageName = pname;
packageName = finalAttrs.pname;
versionPolicy = "odd-unstable";
};
tests = {
installedTests = nixosTests.installed-tests.gdk-pixbuf;
pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
};
# gdk_pixbuf_moduledir variable from gdk-pixbuf-2.0.pc
@ -145,6 +149,7 @@ stdenv.mkDerivation rec {
license = licenses.lgpl21Plus;
maintainers = [ maintainers.eelco ] ++ teams.gnome.members;
mainProgram = "gdk-pixbuf-thumbnailer";
pkgConfigModules = [ "gdk-pixbuf-2.0" ];
platforms = platforms.unix;
};
}
})

View file

@ -1,11 +1,15 @@
{ lib, stdenv, fetchurl }:
{ lib
, stdenv
, fetchurl
, testers
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "geos";
version = "3.9.2";
src = fetchurl {
url = "https://download.osgeo.org/geos/${pname}-${version}.tar.bz2";
url = "https://download.osgeo.org/geos/${finalAttrs.pname}-${finalAttrs.version}.tar.bz2";
sha256 = "sha256-RKWpviHX1HNDa/Yhwt3MPPWou+PHhuEyKWGKO52GEpc=";
};
@ -14,12 +18,15 @@ stdenv.mkDerivation rec {
# https://trac.osgeo.org/geos/ticket/993
configureFlags = lib.optional stdenv.isAarch32 "--disable-inline";
passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
meta = with lib; {
description = "C++ port of the Java Topology Suite (JTS)";
homepage = "https://trac.osgeo.org/geos";
license = licenses.lgpl21Only;
pkgConfigModules = [ "geos" ];
maintainers = with lib.maintainers; [
willcohen
];
};
}
})

View file

@ -2,14 +2,16 @@
, stdenv
, fetchurl
, fetchpatch
, cmake }:
, cmake
, testers
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "geos";
version = "3.11.1";
src = fetchurl {
url = "https://download.osgeo.org/geos/${pname}-${version}.tar.bz2";
url = "https://download.osgeo.org/geos/${finalAttrs.pname}-${finalAttrs.version}.tar.bz2";
hash = "sha256-bQ6zz6n5LZR3Mcx18XUDVrO9/AfqAgVT2vavHHaOC+I=";
};
@ -17,12 +19,15 @@ stdenv.mkDerivation rec {
doCheck = true;
passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
meta = with lib; {
description = "C++ port of the Java Topology Suite (JTS)";
homepage = "https://trac.osgeo.org/geos";
license = licenses.lgpl21Only;
pkgConfigModules = [ "geos" ];
maintainers = with lib.maintainers; [
willcohen
];
};
}
})

View file

@ -1,13 +1,14 @@
{ lib, stdenv, fetchurl, libGLU, libXmu, libXi, libXext
, AGL, OpenGL
, testers
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "glew";
version = "1.10.0";
src = fetchurl {
url = "mirror://sourceforge/glew/glew-${version}.tgz";
url = "mirror://sourceforge/glew/${finalAttrs.pname}-${finalAttrs.version}.tgz";
sha256 = "01zki46dr5khzlyywr3cg615bcal32dazfazkf360s1znqh17i4r";
};
@ -41,11 +42,14 @@ stdenv.mkDerivation rec {
"SYSTEM=${if stdenv.hostPlatform.isMinGW then "mingw" else stdenv.hostPlatform.parsed.kernel.name}"
];
passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
meta = with lib; {
description = "An OpenGL extension loading library for C(++)";
homepage = "https://glew.sourceforge.net/";
license = licenses.free; # different files under different licenses
#["BSD" "GLX" "SGI-B" "GPL2"]
pkgConfigModules = [ "glew" ];
platforms = platforms.mesaPlatforms;
};
}
})

View file

@ -1,14 +1,15 @@
{ lib, stdenv, fetchurl, fetchpatch, cmake, libGLU, libXmu, libXi, libXext
, OpenGL
, enableEGL ? false
, testers
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "glew";
version = "2.2.0";
src = fetchurl {
url = "mirror://sourceforge/glew/${pname}-${version}.tgz";
url = "mirror://sourceforge/glew/${finalAttrs.pname}-${finalAttrs.version}.tgz";
sha256 = "1qak8f7g1iswgswrgkzc7idk7jmqgwrs58fhg2ai007v7j4q5z6l";
};
@ -44,14 +45,17 @@ stdenv.mkDerivation rec {
EOF
'';
passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
meta = with lib; {
description = "An OpenGL extension loading library for C/C++";
homepage = "https://glew.sourceforge.net/";
license = with licenses; [ /* modified bsd */ free mit gpl2Only ]; # For full details, see https://github.com/nigels-com/glew#copyright-and-licensing
pkgConfigModules = [ "glew" ];
platforms = with platforms;
if enableEGL then
subtractLists darwin mesaPlatforms
else
mesaPlatforms;
};
}
})

View file

@ -19,6 +19,7 @@
, desktop-file-utils, shared-mime-info
, darwin
, makeHardcodeGsettingsPatch
, testers
}:
assert stdenv.isLinux -> util-linuxMinimal != null;
@ -280,7 +281,10 @@ stdenv.mkDerivation (finalAttrs: {
getSchemaPath = pkg: makeSchemaPath pkg pkg.name;
getSchemaDataDirPath = pkg: makeSchemaDataDirPath pkg pkg.name;
tests.withChecks = finalAttrs.finalPackage.overrideAttrs (_: { doCheck = true; });
tests = {
withChecks = finalAttrs.finalPackage.overrideAttrs (_: { doCheck = true; });
pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
};
inherit flattenInclude;
updateScript = gnome.updateScript {
@ -306,6 +310,11 @@ stdenv.mkDerivation (finalAttrs: {
homepage = "https://wiki.gnome.org/Projects/GLib";
license = licenses.lgpl21Plus;
maintainers = teams.gnome.members ++ (with maintainers; [ lovek323 raskin ]);
pkgConfigModules = [
"gio-2.0"
"gobject-2.0"
"gthread-2.0"
];
platforms = platforms.unix;
longDescription = ''

View file

@ -21,6 +21,7 @@
, gobject-introspection-unwrapped
, nixStoreDir ? builtins.storeDir
, x11Support ? true
, testers
}:
# now that gobject-introspection creates large .gir files (eg gtk3 case)
@ -145,12 +146,14 @@ stdenv.mkDerivation (finalAttrs: {
packageName = "gobject-introspection";
versionPolicy = "odd-unstable";
};
tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
};
meta = with lib; {
description = "A middleware layer between C libraries and language bindings";
homepage = "https://gi.readthedocs.io/";
maintainers = teams.gnome.members ++ (with maintainers; [ lovek323 artturin ]);
pkgConfigModules = [ "gobject-introspection-1.0" ];
platforms = platforms.unix;
license = with licenses; [ gpl2 lgpl2 ];

View file

@ -37,15 +37,18 @@
, enableCdparanoia ? (!stdenv.isDarwin)
, cdparanoia
, glib
, testers
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "gst-plugins-base";
version = "1.20.3";
outputs = [ "out" "dev" ];
src = fetchurl {
src = let
inherit (finalAttrs) pname version;
in fetchurl {
url = "https://gstreamer.freedesktop.org/src/${pname}/${pname}-${version}.tar.xz";
sha256 = "sha256-fjCz3YGnA4D/dVT5mEcdaZb/drvm/FRHCW+FHiRHPJ8=";
};
@ -146,11 +149,19 @@ stdenv.mkDerivation rec {
waylandEnabled = enableWayland;
};
passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
meta = with lib; {
description = "Base GStreamer plug-ins and helper libraries";
homepage = "https://gstreamer.freedesktop.org";
license = licenses.lgpl2Plus;
pkgConfigModules = [
"gstreamer-audio-1.0"
"gstreamer-base-1.0"
"gstreamer-net-1.0"
"gstreamer-video-1.0"
];
platforms = platforms.unix;
maintainers = with maintainers; [ matthewbauer ];
};
}
})

View file

@ -17,9 +17,10 @@
, lib
, CoreServices
, gobject-introspection
, testers
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "gstreamer";
version = "1.20.3";
@ -32,7 +33,9 @@ stdenv.mkDerivation rec {
# - https://github.com/NixOS/nixpkgs/issues/98769#issuecomment-702296551
];
src = fetchurl {
src = let
inherit (finalAttrs) pname version;
in fetchurl {
url = "https://gstreamer.freedesktop.org/src/${pname}/${pname}-${version}.tar.xz";
sha256 = "sha256-YH2vZLu9X7GK+dF+IcDSLE1wL//oOyPLItGxryyiOio=";
};
@ -108,11 +111,16 @@ stdenv.mkDerivation rec {
setupHook = ./setup-hook.sh;
meta = with lib ;{
passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
meta = with lib; {
description = "Open source multimedia framework";
homepage = "https://gstreamer.freedesktop.org";
license = licenses.lgpl2Plus;
pkgConfigModules = [
"gstreamer-controller-1.0"
];
platforms = platforms.unix;
maintainers = with maintainers; [ ttuegel matthewbauer ];
};
}
})

View file

@ -5,6 +5,7 @@
, gdktarget ? if stdenv.isDarwin then "quartz" else "x11"
, AppKit, Cocoa
, fetchpatch, buildPackages
, testers
}:
let
@ -17,12 +18,12 @@ let
in
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "gtk+";
version = "2.24.33";
src = fetchurl {
url = "mirror://gnome/sources/gtk+/2.24/${pname}-${version}.tar.xz";
url = "mirror://gnome/sources/gtk+/2.24/${finalAttrs.pname}-${finalAttrs.version}.tar.xz";
sha256 = "rCrHV/WULTGKMRpUsMgLXvKV8pnCpzxjL2v7H/Scxto=";
};
@ -37,7 +38,9 @@ stdenv.mkDerivation rec {
];
nativeBuildInputs = setupHooks ++ [ perl pkg-config gettext gobject-introspection ];
nativeBuildInputs = finalAttrs.setupHooks ++ [
perl pkg-config gettext gobject-introspection
];
patches = [
./patches/2.0-immodules.cache.patch
@ -90,6 +93,7 @@ stdenv.mkDerivation rec {
$out/bin/gtk-query-immodules-2.0 $out/lib/gtk-2.0/2.10.0/immodules/*.so > $out/lib/gtk-2.0/2.10.0/immodules.cache
''; # workaround for bug of nix-mode for Emacs */ '';
inherit gdktarget;
tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
};
meta = with lib; {
@ -97,6 +101,13 @@ stdenv.mkDerivation rec {
homepage = "https://www.gtk.org/";
license = licenses.lgpl2Plus;
maintainers = with maintainers; [ lovek323 raskin ];
pkgConfigModules = [
"gdk-2.0"
"gtk+-2.0"
] ++ lib.optionals (gdktarget == "x11") [
"gdk-x11-2.0"
"gtk+-x11-2.0"
];
platforms = platforms.all;
longDescription = ''
@ -111,4 +122,4 @@ stdenv.mkDerivation rec {
'';
changelog = "https://gitlab.gnome.org/GNOME/gtk/-/raw/${version}/NEWS";
};
}
})

View file

@ -46,6 +46,7 @@
, QuartzCore
, broadwaySupport ? true
, wayland-scanner
, testers
}:
let
@ -58,7 +59,7 @@ let
in
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "gtk+3";
version = "3.24.36";
@ -70,7 +71,9 @@ stdenv.mkDerivation rec {
gtkCleanImmodulesCache
];
src = fetchurl {
src = let
inherit (finalAttrs) version;
in fetchurl {
url = "mirror://gnome/sources/gtk+/${lib.versions.majorMinor version}/gtk+-${version}.tar.xz";
sha256 = "sha256-J6bvFXdDNQyAf/6lm6odcCJtvt6CpelT/9WOpgWf5pE=";
};
@ -99,7 +102,7 @@ stdenv.mkDerivation rec {
python3
sassc
gdk-pixbuf
] ++ setupHooks ++ lib.optionals withGtkDoc [
] ++ finalAttrs.setupHooks ++ lib.optionals withGtkDoc [
docbook_xml_dtd_43
docbook-xsl-nons
gtk-doc
@ -212,7 +215,7 @@ stdenv.mkDerivation rec {
for program in ''${demos[@]}; do
wrapProgram $dev/bin/$program \
--prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH:$out/share/gsettings-schemas/${pname}-${version}"
--prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH:$out/share/gsettings-schemas/${finalAttrs.pname}-${finalAttrs.version}"
done
'' + lib.optionalString stdenv.isDarwin ''
# a comment created a cycle between outputs
@ -225,6 +228,7 @@ stdenv.mkDerivation rec {
attrPath = "gtk3";
freeze = true;
};
tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
};
meta = with lib; {
@ -242,7 +246,14 @@ stdenv.mkDerivation rec {
homepage = "https://www.gtk.org/";
license = licenses.lgpl2Plus;
maintainers = with maintainers; [ raskin ] ++ teams.gnome.members;
pkgConfigModules = [
"gdk-3.0"
"gtk+-3.0"
] ++ lib.optionals x11Support [
"gdk-x11-3.0"
"gtk+-x11-3.0"
];
platforms = platforms.all;
changelog = "https://gitlab.gnome.org/GNOME/gtk/-/raw/${version}/NEWS";
};
}
})

View file

@ -1,12 +1,16 @@
{ lib, stdenv, fetchurl, pkg-config, atk, cairo, glib, gtk3, pango, vala
, libxml2, perl, intltool, gettext, gobject-introspection, dbus, xvfb-run, shared-mime-info }:
, libxml2, perl, intltool, gettext, gobject-introspection, dbus, xvfb-run, shared-mime-info
, testers
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "gtksourceview";
version = "3.24.11";
src = fetchurl {
url = "mirror://gnome/sources/gtksourceview/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
src = let
inherit (finalAttrs) pname version;
in fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "1zbpj283b5ycz767hqz5kdq02wzsga65pp4fykvhg8xj6x50f6v9";
};
@ -42,10 +46,13 @@ stdenv.mkDerivation rec {
make check
'';
passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
meta = with lib; {
homepage = "https://wiki.gnome.org/Projects/GtkSourceView";
pkgConfigModules = [ "gtksourceview-3.0" ];
platforms = with platforms; linux ++ darwin;
license = licenses.lgpl21;
maintainers = teams.gnome.members;
};
}
})

View file

@ -19,15 +19,18 @@
, dbus
, xvfb-run
, shared-mime-info
, testers
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "gtksourceview";
version = "4.8.4";
outputs = [ "out" "dev" ];
src = fetchurl {
src = let
inherit (finalAttrs) pname version;
in fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "fsnRj7KD0fhKOj7/O3pysJoQycAGWXs/uru1lYQgqH0=";
};
@ -101,11 +104,14 @@ stdenv.mkDerivation rec {
};
};
passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
meta = with lib; {
description = "Source code editing widget for GTK";
homepage = "https://wiki.gnome.org/Projects/GtkSourceView";
pkgConfigModules = [ "gtksourceview-4" ];
platforms = platforms.unix;
license = licenses.lgpl21Plus;
maintainers = teams.gnome.members;
};
}
})

View file

@ -20,15 +20,18 @@
, dbus
, xvfb-run
, shared-mime-info
, testers
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "gtksourceview";
version = "5.6.2";
outputs = [ "out" "dev" "devdoc" ];
src = fetchurl {
src = let
inherit (finalAttrs) pname version;
in fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "HxRsFW8TWmBJnZeeNXfJm24VoRFEV2er5iGbs0xUXHc=";
};
@ -117,11 +120,14 @@ stdenv.mkDerivation rec {
};
};
passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
meta = with lib; {
description = "Source code editing widget for GTK";
homepage = "https://wiki.gnome.org/Projects/GtkSourceView";
pkgConfigModules = [ "gtksourceview-5" ];
platforms = platforms.unix;
license = licenses.lgpl21Plus;
maintainers = teams.gnome.members;
};
}
})

View file

@ -0,0 +1,28 @@
{ lib
, stdenv
, fetchFromGitHub
, cmake
}:
stdenv.mkDerivation rec {
pname = "irr1";
version = "1.9.4";
src = fetchFromGitHub {
owner = "berndporr";
repo = "iir1";
rev = version;
hash = "sha256-T8gl51IkZIGq+6D5ge4Kb3wm5aw7Rhphmnf6TTGwHbs=";
};
nativeBuildInputs = [ cmake ];
meta = {
description = "A DSP IIR realtime filter library written in C++";
downloadPage = "https://github.com/berndporr/iir1";
homepage = "http://berndporr.github.io/iir1/";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.AndersonTorres ];
platforms = lib.platforms.unix;
};
}

View file

@ -19,7 +19,7 @@ mkDerivation {
meta = with lib; {
platforms = platforms.linux ++ platforms.darwin;
homepage = "http://www.kde.org";
homepage = "https://invent.kde.org/frameworks/extra-cmake-modules";
license = licenses.bsd2;
};
}

View file

@ -11,4 +11,6 @@ mkDerivation {
propagatedBuildInputs = [ qtbase ];
outputs = [ "out" "dev" ];
meta.homepage = "https://invent.kde.org/frameworks/kguiaddons";
}

View file

@ -12,6 +12,7 @@
, docbook_xml_dtd_42
, cmocka
, wafHook
, libxcrypt
}:
stdenv.mkDerivation rec {
@ -32,6 +33,8 @@ stdenv.mkDerivation rec {
libxslt
docbook-xsl-nons
docbook_xml_dtd_42
tdb
tevent
];
buildInputs = [
@ -42,6 +45,7 @@ stdenv.mkDerivation rec {
tevent
popt
cmocka
libxcrypt
];
# otherwise the configure script fails with

View file

@ -1,10 +1,14 @@
{ lib, stdenv, fetchurl, glib, dbus, libgcrypt, pkg-config, intltool }:
{ lib, stdenv, fetchurl, glib, dbus, libgcrypt, pkg-config, intltool
, testers
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "libgnome-keyring";
version = "2.32.0";
src = fetchurl {
src = let
inherit (finalAttrs) pname version;
in fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.bz2";
sha256 = "030gka96kzqg1r19b4xrmac89hf1xj1kr5p461yvbzfxh46qqf2n";
};
@ -14,9 +18,12 @@ stdenv.mkDerivation rec {
propagatedBuildInputs = [ glib dbus libgcrypt ];
nativeBuildInputs = [ pkg-config intltool ];
passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
meta = {
pkgConfigModules = [ "gnome-keyring-1" ];
inherit (glib.meta) platforms maintainers;
homepage = "https://wiki.gnome.org/Projects/GnomeKeyring";
license = with lib.licenses; [ gpl2 lgpl2 ];
};
}
})

View file

@ -12,14 +12,15 @@
, openssl
, withZstd ? false
, zstd
, testers
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "libzip";
version = "1.9.2";
src = fetchurl {
url = "https://libzip.org/download/${pname}-${version}.tar.gz";
url = "https://libzip.org/download/${finalAttrs.pname}-${finalAttrs.version}.tar.gz";
sha256 = "sha256-/Wp/dF3j1pz1YD7cnLM9KJDwGY5BUlXQmHoM8Q2CTG8=";
};
@ -41,11 +42,14 @@ stdenv.mkDerivation rec {
patchShebangs regress
'';
passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
meta = with lib; {
homepage = "https://libzip.org/";
description = "A C library for reading, creating and modifying zip archives";
license = licenses.bsd3;
pkgConfigModules = [ "libzip" ];
platforms = platforms.unix;
changelog = "https://github.com/nih-at/libzip/blob/v${version}/NEWS.md";
};
}
})

View file

@ -1,10 +1,14 @@
{ lib, stdenv, fetchurl, pkg-config, libGL, ApplicationServices }:
{ lib, stdenv, fetchurl, pkg-config, libGL, ApplicationServices
, testers
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "glu";
version = "9.0.2";
src = fetchurl {
src = let
inherit (finalAttrs) pname version;
in fetchurl {
url = "https://mesa.freedesktop.org/archive/${pname}/${pname}-${version}.tar.xz";
sha256 = "sha256-bnKA/1hcah2d/N8vykiSUWNLM3e/wzwp5AAkZqONAtQ=";
};
@ -15,11 +19,14 @@ stdenv.mkDerivation rec {
outputs = [ "out" "dev" ];
passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
meta = {
description = "OpenGL utility library";
homepage = "https://cgit.freedesktop.org/mesa/glu/";
license = lib.licenses.sgi-b-20;
pkgConfigModules = [ "glu" ];
platforms = lib.platforms.unix;
broken = stdenv.hostPlatform.isAndroid;
};
}
})

View file

@ -24,13 +24,14 @@
, debug ? false
, developerBuild ? false
, decryptSslTraffic ? false
, testers
}:
let
debugSymbols = debug || developerBuild;
in
stdenv.mkDerivation {
stdenv.mkDerivation (finalAttrs: {
pname = "qtbase";
inherit qtCompatVersion src version;
debug = debugSymbols;
@ -338,12 +339,33 @@ stdenv.mkDerivation {
setupHook = ../hooks/qtbase-setup-hook.sh;
passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
meta = with lib; {
homepage = "https://www.qt.io/";
description = "A cross-platform application framework for C++";
license = with licenses; [ fdl13Plus gpl2Plus lgpl21Plus lgpl3Plus ];
maintainers = with maintainers; [ qknight ttuegel periklis bkchr ];
pkgConfigModules = [
"Qt5Concurrent"
"Qt5Core"
"Qt5DBus"
"Qt5Gui"
"Qt5Network"
"Qt5OpenGL"
"Qt5OpenGLExtensions"
"Qt5PrintSupport"
#"Qt5Qml"
#"Qt5QmlModels"
#"Qt5Quick"
#"Qt5QuickTest"
#"Qt5QuickWidgets"
"Qt5Sql"
"Qt5Test"
"Qt5Widgets"
"Qt5Xml"
];
platforms = platforms.unix;
};
}
})

View file

@ -68,12 +68,47 @@ final: prev: let
supportedCudaVersions = [ "10.2" ];
}
];
"8.0.5" = [
rec {
fileVersion = "10.1";
fullVersion = "8.0.5.39";
hash = "sha256-kJCElSmIlrM6qVBjo0cfk8NmJ9esAcF9w211xl7qSgA=";
url = "${urlPrefix}/v${majorMinorPatch fullVersion}/cudnn-${fileVersion}-linux-x64-v${fullVersion}.tgz";
# https://docs.nvidia.com/deeplearning/cudnn/archives/cudnn-805/support-matrix/index.html
supportedCudaVersions = [ "10.1" ];
}
rec {
fileVersion = "10.2";
fullVersion = "8.0.5.39";
hash = "sha256-IfhMBcZ78eyFnnfDjM1b8VSWT6HDCPRJlZvkw1bjgvM=";
url = "${urlPrefix}/v${majorMinorPatch fullVersion}/cudnn-${fileVersion}-linux-x64-v${fullVersion}.tgz";
# https://docs.nvidia.com/deeplearning/cudnn/archives/cudnn-805/support-matrix/index.html
supportedCudaVersions = [ "10.2" ];
}
rec {
fileVersion = "11.0";
fullVersion = "8.0.5.39";
hash = "sha256-ThbueJXetKixwZS4ErpJWG730mkCBRQB03F1EYmKm3M=";
url = "${urlPrefix}/v${majorMinorPatch fullVersion}/cudnn-${fileVersion}-linux-x64-v${fullVersion}.tgz";
# https://docs.nvidia.com/deeplearning/cudnn/archives/cudnn-805/support-matrix/index.html
supportedCudaVersions = [ "11.0" ];
}
rec {
fileVersion = "11.1";
fullVersion = "8.0.5.39";
hash = "sha256-HQRr+nk5navMb2yxUHkYdUQ5RC6gyp4Pvs3URvmwDM4=";
url = "${urlPrefix}/v${majorMinorPatch fullVersion}/cudnn-${fileVersion}-linux-x64-v${fullVersion}.tgz";
# https://docs.nvidia.com/deeplearning/cudnn/archives/cudnn-805/support-matrix/index.html
supportedCudaVersions = [ "11.1" ];
}
];
"8.1.1" = [
rec {
fileVersion = "10.2";
fullVersion = "8.1.1.33";
hash = "sha256-Kkp7mabpv6aQ6xm7QeSVU/KnpJGls6v8rpAOFmxbbr0=";
url = "${urlPrefix}/v${majorMinorPatch fullVersion}/cudnn-${fileVersion}-linux-x64-v${fullVersion}.tgz";
# https://docs.nvidia.com/deeplearning/cudnn/archives/cudnn-811/support-matrix/index.html#cudnn-versions-810-811
supportedCudaVersions = [ "10.2" ];
}
rec {
@ -81,38 +116,61 @@ final: prev: let
fullVersion = "8.1.1.33";
hash = "sha256-mKh4TpKGLyABjSDCgbMNSgzZUfk2lPZDPM9K6cUCumo=";
url = "${urlPrefix}/v${majorMinorPatch fullVersion}/cudnn-${fileVersion}-linux-x64-v${fullVersion}.tgz";
supportedCudaVersions = [ "11.2" ];
# https://docs.nvidia.com/deeplearning/cudnn/archives/cudnn-811/support-matrix/index.html#cudnn-versions-810-811
supportedCudaVersions = [ "11.0" "11.1" "11.2" ];
}
];
"8.3.2" = [
"8.2.4" = [
rec {
fileVersion = "10.2";
fullVersion = "8.3.2.44";
hash = "sha256-1vVu+cqM+PketzIQumw9ykm6REbBZhv6/lXB7EC2aaw=";
fullVersion = "8.2.4.15";
hash = "sha256-0jyUoxFaHHcRamwSfZF1+/WfcjNkN08mo0aZB18yIvE=";
url = "${urlPrefix}/v${majorMinorPatch fullVersion}/cudnn-${fileVersion}-linux-x64-v${fullVersion}.tgz";
# https://docs.nvidia.com/deeplearning/cudnn/archives/cudnn-824/support-matrix/index.html
supportedCudaVersions = [ "10.2" ];
}
rec {
fileVersion = "11.4";
fullVersion = "8.2.4.15";
hash = "sha256-Dl0t+JC5ln76ZhnaQhMQ2XMjVlp58FoajLm3Fluq0Nc=";
url = "${urlPrefix}/v${majorMinorPatch fullVersion}/cudnn-${fileVersion}-linux-x64-v${fullVersion}.tgz";
# https://docs.nvidia.com/deeplearning/cudnn/archives/cudnn-824/support-matrix/index.html
supportedCudaVersions = [ "11.0" "11.1" "11.2" "11.3" "11.4" ];
}
];
"8.3.3" = [
rec {
fileVersion = "10.2";
fullVersion = "8.3.3.40";
hash = "sha256-2FVPKzLmKV1fyPOsJeaPlAWLAYyAHaucFD42gS+JJqs=";
url = "${urlPrefix}/v${majorMinorPatch fullVersion}/local_installers/${fileVersion}/cudnn-linux-x86_64-${fullVersion}_cuda${fileVersion}-archive.tar.xz";
# https://docs.nvidia.com/deeplearning/cudnn/archives/cudnn-833/support-matrix/index.html
supportedCudaVersions = [ "10.2" ];
}
rec {
fileVersion = "11.5";
fullVersion = "8.3.2.44";
hash = "sha256-VQCVPAjF5dHd3P2iNPnvvdzb5DpTsm3AqCxyP6FwxFc=";
fullVersion = "8.3.3.40";
hash = "sha256-6r6Wx1zwPqT1N5iU2RTx+K4UzqsSGYnoSwg22Sf7dzE=";
url = "${urlPrefix}/v${majorMinorPatch fullVersion}/local_installers/${fileVersion}/cudnn-linux-x86_64-${fullVersion}_cuda${fileVersion}-archive.tar.xz";
supportedCudaVersions = [ "11.0" "11.1" "11.2" "11.3" "11.4" "11.5" "11.6" "11.7" ];
# https://docs.nvidia.com/deeplearning/cudnn/archives/cudnn-833/support-matrix/index.html
supportedCudaVersions = [ "11.0" "11.1" "11.2" "11.3" "11.4" "11.5" "11.6" ];
}
];
"8.4.0" = [
"8.4.1" = [
rec {
fileVersion = "10.2";
fullVersion = "8.4.0.27";
hash = "sha256-FMXjykJYJxmW0f2VnELRfFgs5Nmv9FH4RSRGnnhP0VQ=";
fullVersion = "8.4.1.50";
hash = "sha256-I88qMmU6lIiLVmaPuX7TTbisgTav839mssxUo3lQNjg=";
url = "${urlPrefix}/v${majorMinorPatch fullVersion}/local_installers/${fileVersion}/cudnn-linux-x86_64-${fullVersion}_cuda${fileVersion}-archive.tar.xz";
# https://docs.nvidia.com/deeplearning/cudnn/archives/cudnn-841/support-matrix/index.html
supportedCudaVersions = [ "10.2" ];
}
rec {
fileVersion = "11.6";
fullVersion = "8.4.0.27";
hash = "sha256-0Zva/ZgAx50p5vb/+p+eLBDREy1sL/ELFZPgV+dN0FA=";
fullVersion = "8.4.1.50";
hash = "sha256-7JbSN22B/KQr3T1MPXBambKaBlurV/kgVhx2PinGfQE=";
url = "${urlPrefix}/v${majorMinorPatch fullVersion}/local_installers/${fileVersion}/cudnn-linux-x86_64-${fullVersion}_cuda${fileVersion}-archive.tar.xz";
# https://docs.nvidia.com/deeplearning/cudnn/archives/cudnn-841/support-matrix/index.html
supportedCudaVersions = [ "11.0" "11.1" "11.2" "11.3" "11.4" "11.5" "11.6" "11.7" ];
}
];
@ -122,6 +180,7 @@ final: prev: let
fullVersion = "8.5.0.96";
hash = "sha256-1mzhbbzR40WKkHnQLtJHhg0vYgf7G8a0OBcCwIOkJjM=";
url = "${urlPrefix}/v${majorMinorPatch fullVersion}/local_installers/${fileVersion}/cudnn-linux-x86_64-${fullVersion}_cuda${major fileVersion}-archive.tar.xz";
# https://docs.nvidia.com/deeplearning/cudnn/archives/cudnn-850/support-matrix/index.html
supportedCudaVersions = [ "10.2" ];
}
rec {
@ -129,6 +188,7 @@ final: prev: let
fullVersion = "8.5.0.96";
hash = "sha256-VFSm/ZTwCHKMqumtrZk8ToXvNjAuJrzkO+p9RYpee20=";
url = "${urlPrefix}/v${majorMinorPatch fullVersion}/local_installers/${fileVersion}/cudnn-linux-x86_64-${fullVersion}_cuda${major fileVersion}-archive.tar.xz";
# https://docs.nvidia.com/deeplearning/cudnn/archives/cudnn-850/support-matrix/index.html
supportedCudaVersions = [ "11.0" "11.1" "11.2" "11.3" "11.4" "11.5" "11.6" "11.7" ];
}
];
@ -138,6 +198,7 @@ final: prev: let
fullVersion = "8.6.0.163";
hash = "sha256-t4sr/GrFqqdxu2VhaJQk5K1Xm/0lU4chXG8hVL09R9k=";
url = "${urlPrefix}/v${majorMinorPatch fullVersion}/local_installers/${fileVersion}/cudnn-linux-x86_64-${fullVersion}_cuda${major fileVersion}-archive.tar.xz";
# https://docs.nvidia.com/deeplearning/cudnn/archives/cudnn-860/support-matrix/index.html
supportedCudaVersions = [ "10.2" ];
}
rec {
@ -145,6 +206,25 @@ final: prev: let
fullVersion = "8.6.0.163";
hash = "sha256-u8OW30cpTGV+3AnGAGdNYIyxv8gLgtz0VHBgwhcRFZ4=";
url = "${urlPrefix}/v${majorMinorPatch fullVersion}/local_installers/${fileVersion}/cudnn-linux-x86_64-${fullVersion}_cuda${major fileVersion}-archive.tar.xz";
# https://docs.nvidia.com/deeplearning/cudnn/archives/cudnn-860/support-matrix/index.html
supportedCudaVersions = [ "11.0" "11.1" "11.2" "11.3" "11.4" "11.5" "11.6" "11.7" "11.8" ];
}
];
"8.7.0" = [
rec {
fileVersion = "10.2";
fullVersion = "8.7.0.84";
hash = "sha256-bZhaqc8+GbPV2FQvvbbufd8VnEJgvfkICc2N3/gitRg=";
url = "${urlPrefix}/v${majorMinorPatch fullVersion}/local_installers/${fileVersion}/cudnn-linux-x86_64-${fullVersion}_cuda${major fileVersion}-archive.tar.xz";
# https://docs.nvidia.com/deeplearning/cudnn/archives/cudnn-870/support-matrix/index.html
supportedCudaVersions = [ "10.2" ];
}
rec {
fileVersion = "11.8";
fullVersion = "8.7.0.84";
hash = "sha256-l2xMunIzyXrnQAavq1Fyl2MAukD1slCiH4z3H1nJ920=";
url = "${urlPrefix}/v${majorMinorPatch fullVersion}/local_installers/${fileVersion}/cudnn-linux-x86_64-${fullVersion}_cuda${major fileVersion}-archive.tar.xz";
# https://docs.nvidia.com/deeplearning/cudnn/archives/cudnn-870/support-matrix/index.html
supportedCudaVersions = [ "11.0" "11.1" "11.2" "11.3" "11.4" "11.5" "11.6" "11.7" "11.8" ];
}
];
@ -153,17 +233,17 @@ final: prev: let
# Default attributes
cuDnnDefaultVersion = {
"10.0" = "7.4.2";
"10.1" = "7.6.5";
"10.2" = "8.6.0";
"11.0" = "8.6.0";
"11.1" = "8.6.0";
"11.2" = "8.6.0";
"11.3" = "8.6.0";
"11.4" = "8.6.0";
"11.5" = "8.6.0";
"11.6" = "8.6.0";
"11.7" = "8.6.0";
"11.8" = "8.6.0";
}.${cudaVersion} or "8.6.0";
"10.1" = "8.0.5";
"10.2" = "8.7.0";
"11.0" = "8.7.0";
"11.1" = "8.7.0";
"11.2" = "8.7.0";
"11.3" = "8.7.0";
"11.4" = "8.7.0";
"11.5" = "8.7.0";
"11.6" = "8.7.0";
"11.7" = "8.7.0";
"11.8" = "8.7.0";
}.${cudaVersion} or "8.7.0";
in cuDnnPackages

View file

@ -10,6 +10,7 @@
, docbook_xml_dtd_42
, which
, wafHook
, libxcrypt
}:
stdenv.mkDerivation rec {
@ -36,6 +37,7 @@ stdenv.mkDerivation rec {
cmocka
readline # required to build python
talloc
libxcrypt
];
# otherwise the configure script fails with
@ -52,6 +54,11 @@ stdenv.mkDerivation rec {
"--builtin-libraries=replace"
];
# python-config from build Python gives incorrect values when cross-compiling.
# If python-config is not found, the build falls back to using the sysconfig
# module, which works correctly in all cases.
PYTHON_CONFIG = "/invalid";
meta = with lib; {
description = "An event system based on the talloc memory management library";
homepage = "https://tevent.samba.org/";

View file

@ -11,14 +11,14 @@
stdenv.mkDerivation rec {
pname = "usbredir";
version = "0.12.0";
version = "0.13.0";
src = fetchFromGitLab {
domain = "gitlab.freedesktop.org";
owner = "spice";
repo = "usbredir";
rev = "${pname}-${version}";
sha256 = "sha256-OVLc3FWLBjWJnqIhhe6k+pl/HsJGzqD6xp/fXXEgRwY=";
sha256 = "sha256-zehf0DkqSSvmatbk/UB1oySjyqiFUYTuIhqb5xKeK7I=";
};
nativeBuildInputs = [

View file

@ -162,9 +162,11 @@ stdenv.mkDerivation rec {
'';
meta = with lib; {
homepage = "https://v8.dev/";
description = "Google's open source JavaScript engine";
maintainers = with maintainers; [ cstrahan proglodyte matthewbauer ];
platforms = platforms.unix;
license = licenses.bsd3;
broken = lib.versionAtLeast stdenv.cc.version "12";
};
}

View file

@ -171,6 +171,7 @@ stdenv.mkDerivation rec {
'';
meta = with lib; {
homepage = "https://v8.dev/";
description = "Google's open source JavaScript engine";
maintainers = with maintainers; [ cstrahan proglodyte matthewbauer ];
platforms = platforms.unix;

View file

@ -8,7 +8,7 @@
let
pname = "wasilibc";
version = "17";
version = "19";
in
stdenv.mkDerivation {
inherit pname version;
@ -17,7 +17,7 @@ stdenv.mkDerivation {
owner = "WebAssembly";
repo = "wasi-libc";
rev = "refs/tags/wasi-sdk-${version}";
hash = "sha256-h2X78icCmnn6Y6baOxp8Xm7F2+RZZgaV2fszzi2q/iA=";
hash = "sha256-yQSKoSil/C/1lIHwEO9eQKC/ye3PJIFGYjHyNDn61y4=";
fetchSubmodules = true;
};

View file

@ -121,8 +121,8 @@ rec {
};
wlroots_0_16 = generic {
version = "0.16.1";
hash = "sha256-UyPN7zmytre4emwx/ztZ4JefXHwixPV6UEEqnhSLbIY=";
version = "0.16.2";
hash = "sha256-JeDDYinio14BOl6CbzAPnJDOnrk4vgGNMN++rcy2ItQ=";
extraBuildInputs = [ vulkan-loader ];
extraNativeBuildInputs = [ glslang ];
extraPatch = ''

View file

@ -51,6 +51,9 @@ let
nativeBuildInputs = [ pkgs.libdevil ];
nativeLibs = [ pkgs.libdevil ];
};
cl-freeimage = pkg: {
nativeLibs = [ freeimage ];
};
cl-freetype2 = pkg: {
nativeLibs = [ freetype ];
nativeBuildInputs = [ freetype ];
@ -144,6 +147,7 @@ let
};
classimp = pkg: {
nativeLibs = [ assimp ];
meta.broken = true; # Requires assimp ≤ 5.0.x.
};
clsql-postgresql = pkg: {
nativeLibs = [ postgresql.lib ];

View file

@ -17,7 +17,7 @@
buildPythonPackage rec {
pname = "acquire";
version = "3.3";
version = "3.4";
format = "pyproject";
disabled = pythonOlder "3.7";
@ -25,8 +25,8 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "fox-it";
repo = "acquire";
rev = version;
hash = "sha256-S7EZZxNcoLcZyyRNGlZj6nGoCAlqCxNdh3azIVKvOTM=";
rev = "refs/tags/${version}";
hash = "sha256-VkO+XLIC/UQzvfLsgbKcx9i8OxTC6J32nkxPHWWn7m8=";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;
@ -64,6 +64,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Tool to quickly gather forensic artifacts from disk images or a live system";
homepage = "https://github.com/fox-it/acquire";
changelog = "https://github.com/fox-it/acquire/releases/tag/${version}";
license = licenses.agpl3Only;
maintainers = with maintainers; [ fab ];
};

View file

@ -8,14 +8,14 @@
buildPythonPackage rec {
pname = "aiolifx";
version = "0.8.7";
version = "0.8.9";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-pqneX4O3BnDH7vT7RgFiEIMpLcoXOpBvKOYuMla3Iq4=";
hash = "sha256-Ih82dNDZd3sbGHhxDTtzJQXkjn6Pgefb0S24gttiOO8=";
};
propagatedBuildInputs = [

View file

@ -7,14 +7,14 @@
buildPythonPackage rec {
pname = "aliyun-python-sdk-cdn";
version = "3.8.1";
version = "3.8.2";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-bcAaFwAS9xAbCLtqYtSiALHtlGklHFgGXpgiZZpR6no=";
hash = "sha256-pNWqow396BB5cC1dOhDelykjqeWFN+IKosKEDu5nB1o=";
};
propagatedBuildInputs = [

View file

@ -7,14 +7,14 @@
buildPythonPackage rec {
pname = "aliyun-python-sdk-iot";
version = "8.49.0";
version = "8.50.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-POrDx4xXCIOBU4hvXu03XcZI2F6xHsjHNJRBaGFC8U8=";
hash = "sha256-tFI6iPvKWp69PKvkBrMQrkMZD03VHhLIIDy0VI5XLEA=";
};
propagatedBuildInputs = [

View file

@ -7,14 +7,14 @@
buildPythonPackage rec {
pname = "bitarray";
version = "2.6.1";
version = "2.7.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-hEClSTIh9u1sTg2csrpuTmAKX7Y59mAD6vFbcVCkkjA=";
hash = "sha256-ALtyPPcFnjCzKLZWizt1wPZS7JIo2VnVTpl4UqMaMaI=";
};
checkPhase = ''

View file

@ -50,6 +50,5 @@ buildPythonPackage rec {
homepage = "https://github.com/explosion/cython-blis";
license = licenses.bsd3;
maintainers = with maintainers; [ ];
platforms = platforms.x86_64;
};
}

View file

@ -10,7 +10,7 @@
buildPythonPackage rec {
pname = "boschshcpy";
version = "0.2.53";
version = "0.2.54";
format = "setuptools";
disabled = pythonOlder "3.7";
@ -19,7 +19,7 @@ buildPythonPackage rec {
owner = "tschamm";
repo = pname;
rev = version;
sha256 = "sha256-V7FNuVXKJqIOsDqwg6Bn2Vb9QnuQ1XYzE4m0x2ipXW8=";
sha256 = "sha256-1MoC69klHIHMmvQSS8bnuEQGm6IloyzR0RcROIx0GNI=";
};
propagatedBuildInputs = [

View file

@ -1,4 +1,4 @@
{ lib, buildPythonPackage, fetchPypi, buildbot-pkg, mock }:
{ lib, buildPythonPackage, fetchPypi, buildbot-pkg, mock, cairosvg, klein, jinja2 }:
{
www = buildPythonPackage rec {
@ -115,4 +115,28 @@
license = licenses.gpl2;
};
};
badges = buildPythonPackage rec {
pname = "buildbot-badges";
inherit (buildbot-pkg) version;
src = fetchPypi {
inherit pname version;
sha256 = "sha256-H0Dn+uTtFyZgyqbk3QQEc5t7CJovyzU+XuCoTe4Ajug=";
};
buildInputs = [ buildbot-pkg ];
propagatedBuildInputs = [ cairosvg klein jinja2 ];
# No tests
doCheck = false;
meta = with lib; {
homepage = "https://buildbot.net/";
description = "Buildbot Badges Plugin";
maintainers = with maintainers; [ julienmalka ];
license = licenses.gpl2;
};
};
}

View file

@ -11,7 +11,7 @@
buildPythonPackage rec {
pname = "dissect-cim";
version = "3.3";
version = "3.4";
format = "pyproject";
disabled = pythonOlder "3.7";
@ -19,8 +19,8 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "fox-it";
repo = "dissect.cim";
rev = version;
hash = "sha256-d02P6RXIiriOujGns9mOkyiJLNQFNTTW61kInzS17Y4=";
rev = "refs/tags/${version}";
hash = "sha256-RlkTsAvX+9c69JBy+DZbcCfAvcCnWDisgdQQMBkphtg=";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;
@ -46,6 +46,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Dissect module implementing a parser for the Windows Common Information Model (CIM) database";
homepage = "https://github.com/fox-it/dissect.cim";
changelog = "https://github.com/fox-it/dissect.cim/releases/tag/${version}";
license = licenses.agpl3Only;
maintainers = with maintainers; [ fab ];
};

View file

@ -10,7 +10,7 @@
buildPythonPackage rec {
pname = "dissect-clfs";
version = "1.2";
version = "1.3";
format = "pyproject";
disabled = pythonOlder "3.7";
@ -18,8 +18,8 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "fox-it";
repo = "dissect.clfs";
rev = version;
hash = "sha256-1nh81ppJpYre3y7hJ9xS+TNU1NfTH+9NMHdV55kPEXI=";
rev = "refs/tags/${version}";
hash = "sha256-QzEcJvujkNVUXtqu7yY7sJ/U55jzGBbUHxOVDxg4vac=";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;
@ -44,6 +44,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Dissect module implementing a parser for the CLFS (Common Log File System) file system";
homepage = "https://github.com/fox-it/dissect.clfs";
changelog = "https://github.com/fox-it/dissect.clfs/releases/tag/${version}";
license = licenses.agpl3Only;
maintainers = with maintainers; [ fab ];
};

View file

@ -9,7 +9,7 @@
buildPythonPackage rec {
pname = "dissect-cstruct";
version = "3.3";
version = "3.5";
format = "pyproject";
disabled = pythonOlder "3.7";
@ -17,8 +17,8 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "fox-it";
repo = "dissect.cstruct";
rev = version;
hash = "sha256-8OxAsrECgsQf8+EaZtJ3XNhwdhBI08o3r+xhD/D1NhQ=";
rev = "refs/tags/${version}";
hash = "sha256-tEWqw3ySF1ebOMztZwAlkTiY0mFCzTM58wD0XDfljFA=";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;
@ -39,6 +39,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Dissect module implementing a parser for C-like structures";
homepage = "https://github.com/fox-it/dissect.cstruct";
changelog = "https://github.com/fox-it/dissect.cstruct/releases/tag/${version}";
license = licenses.agpl3Only;
maintainers = with maintainers; [ fab ];
};

View file

@ -11,7 +11,7 @@
buildPythonPackage rec {
pname = "dissect-esedb";
version = "3.3";
version = "3.5";
format = "pyproject";
disabled = pythonOlder "3.7";
@ -19,8 +19,8 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "fox-it";
repo = "dissect.esedb";
rev = version;
hash = "sha256-ErPihjAcukMerCAxLdDQVUApeNdFnFn0Zejo3LhgZFc=";
rev = "refs/tags/${version}";
hash = "sha256-wTzr9b95jhPbZVWM/C9T1OSBLK39sCIjbsNK/6Z83JE=";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;
@ -46,6 +46,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Dissect module implementing a parser for Microsofts Extensible Storage Engine Database (ESEDB)";
homepage = "https://github.com/fox-it/dissect.esedb";
changelog = "https://github.com/fox-it/dissect.esedb/releases/tag/${version}";
license = licenses.agpl3Only;
maintainers = with maintainers; [ fab ];
};

View file

@ -11,7 +11,7 @@
buildPythonPackage rec {
pname = "dissect-etl";
version = "3.2";
version = "3.3";
format = "pyproject";
disabled = pythonOlder "3.7";
@ -19,8 +19,8 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "fox-it";
repo = "dissect.etl";
rev = version;
hash = "sha256-s3Ls8tuqp/COBF+WV9RRyfo7FAqPcXmBZ08gHZMPzOU=";
rev = "refs/tags/${version}";
hash = "sha256-rEYWTMBzMyaADqT1Pp5z1J2Uf/t/GeX/FAnZVnaycYs=";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;
@ -46,6 +46,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Dissect module implementing a parser for Event Trace Log (ETL) files";
homepage = "https://github.com/fox-it/dissect.etl";
changelog = "https://github.com/fox-it/dissect.etl/releases/tag/${version}";
license = licenses.agpl3Only;
maintainers = with maintainers; [ fab ];
};

View file

@ -11,7 +11,7 @@
buildPythonPackage rec {
pname = "dissect-eventlog";
version = "3.2";
version = "3.3";
format = "pyproject";
disabled = pythonOlder "3.7";
@ -19,8 +19,8 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "fox-it";
repo = "dissect.eventlog";
rev = version;
hash = "sha256-emNGZs/5LWD29xE5BmXQKQfkZApLZlGs6KNIqobaKvM=";
rev = "refs/tags/${version}";
hash = "sha256-PbU9Rd0D+xdleTIMAV+esw1WynWU4++8KeXlHS9yiJs=";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;
@ -46,6 +46,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Dissect module implementing parsers for the Windows EVT, EVTX and WEVT log file formats";
homepage = "https://github.com/fox-it/dissect.eventlog";
changelog = "https://github.com/fox-it/dissect.eventlog/releases/tag/${version}";
license = licenses.agpl3Only;
maintainers = with maintainers; [ fab ];
};

View file

@ -11,7 +11,7 @@
buildPythonPackage rec {
pname = "dissect-evidence";
version = "3.2";
version = "3.3";
format = "pyproject";
disabled = pythonOlder "3.7";
@ -19,8 +19,8 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "fox-it";
repo = "dissect.evidence";
rev = version;
hash = "sha256-rm9IjsXHz4GS8M/oPaDoaxjwqMMtD0qjRtQ3vFJQyQY=";
rev = "refs/tags/${version}";
hash = "sha256-R4ua7JeT09GkoBwM2YGf2T0PJXhldUpqAS3xsB9L79c=";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;
@ -46,6 +46,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Dissect module implementing a parsers for various forensic evidence file containers";
homepage = "https://github.com/fox-it/dissect.evidence";
changelog = "https://github.com/fox-it/dissect.evidence/releases/tag/${version}";
license = licenses.agpl3Only;
maintainers = with maintainers; [ fab ];
};

View file

@ -0,0 +1,48 @@
{ lib
, buildPythonPackage
, dissect-cstruct
, dissect-util
, fetchFromGitHub
, setuptools
, setuptools-scm
, pythonOlder
}:
buildPythonPackage rec {
pname = "dissect-executable";
version = "1.1";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "fox-it";
repo = "dissect.executable";
rev = "refs/tags/${version}";
hash = "sha256-c58g2L3B/3/pC+iyXphYsjhpBs0I0Q64B8+rv5k1dtg=";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;
nativeBuildInputs = [
setuptools
setuptools-scm
];
propagatedBuildInputs = [
dissect-cstruct
dissect-util
];
pythonImportsCheck = [
"dissect.executable"
];
meta = with lib; {
description = "Dissect module implementing a parser for various executable formats such as PE, ELF and Macho-O";
homepage = "https://github.com/fox-it/dissect.executable";
changelog = "https://github.com/fox-it/dissect.executable/releases/tag/${version}";
license = licenses.agpl3Only;
maintainers = with maintainers; [ fab ];
};
}

View file

@ -11,7 +11,7 @@
buildPythonPackage rec {
pname = "dissect-extfs";
version = "3.2";
version = "3.3";
format = "pyproject";
disabled = pythonOlder "3.7";
@ -19,8 +19,8 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "fox-it";
repo = "dissect.extfs";
rev = version;
hash = "sha256-KGqmguKwCSQw2USKuWFMQCz+D8XMv5W12eJfUxgz324=";
rev = "refs/tags/${version}";
hash = "sha256-VCPNY/4SUkFpLuSs2Cxu8u5qt2sQ9VGlfdPssybxhk8=";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;
@ -46,6 +46,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Dissect module implementing a parser for the ExtFS file system";
homepage = "https://github.com/fox-it/dissect.extfs";
changelog = "https://github.com/fox-it/dissect.extfs/releases/tag/${version}";
license = licenses.agpl3Only;
maintainers = with maintainers; [ fab ];
};

View file

@ -10,7 +10,7 @@
buildPythonPackage rec {
pname = "dissect-fat";
version = "3.2";
version = "3.3";
format = "pyproject";
disabled = pythonOlder "3.7";
@ -18,8 +18,8 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "fox-it";
repo = "dissect.fat";
rev = version;
hash = "sha256-kqdVgUkvW9I5CI4T9b7VeX6hPm3Ufwrdnhmo1jR5Fdg=";
rev = "refs/tags/${version}";
hash = "sha256-v4GjI6DdDfxO3kGZ7Z5C6mkdRj9axsT9mvlSOQyiMBw=";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;
@ -44,6 +44,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Dissect module implementing a parser for the FAT file system";
homepage = "https://github.com/fox-it/dissect.fat";
changelog = "https://github.com/fox-it/dissect.fat/releases/tag/${version}";
license = licenses.agpl3Only;
maintainers = with maintainers; [ fab ];
};

View file

@ -11,7 +11,7 @@
buildPythonPackage rec {
pname = "dissect-ffs";
version = "3.2";
version = "3.3";
format = "pyproject";
disabled = pythonOlder "3.7";
@ -19,8 +19,8 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "fox-it";
repo = "dissect.ffs";
rev = version;
hash = "sha256-kcYSoY3a8ljY9LWzOUekLBzokE+wJrG1KEr0p5CCj0U=";
rev = "refs/tags/${version}";
hash = "sha256-nGxojXslFVcqU+9StBOacmCyoZJJB4B4OIvql/cbcZE=";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;
@ -46,6 +46,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Dissect module implementing a parser for the FFS file system";
homepage = "https://github.com/fox-it/dissect.ffs";
changelog = "https://github.com/fox-it/dissect.ffs/releases/tag/${version}";
license = licenses.agpl3Only;
maintainers = with maintainers; [ fab ];
};

View file

@ -13,7 +13,7 @@
buildPythonPackage rec {
pname = "dissect-hypervisor";
version = "3.3";
version = "3.5";
format = "pyproject";
disabled = pythonOlder "3.7";
@ -21,8 +21,8 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "fox-it";
repo = "dissect.hypervisor";
rev = version;
hash = "sha256-Q7lbFr+gc6inQEJT54DXjpyyis5GxrKQHI5qqa1INKo=";
rev = "refs/tags/${version}";
hash = "sha256-dWaU3v2QcoqVIygeufy0ZYVliBE1tijV3qEsvCOIarM=";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;
@ -55,6 +55,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Dissect module implementing parsers for various hypervisor disk, backup and configuration files";
homepage = "https://github.com/fox-it/dissect.hypervisor";
changelog = "https://github.com/fox-it/dissect.hypervisor/releases/tag/${version}";
license = licenses.agpl3Only;
maintainers = with maintainers; [ fab ];
};

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