Merge master into staging-next

Changed files
+812 -340
nixos
modules
services
networking
tests
pkgs
applications
audio
gtkcord4
blockchains
elements
editors
vscode
extensions
ms-toolsai-jupyter
misc
tellico
networking
instant-messengers
deltachat-desktop
signalbackup-tools
mailreaders
tutanota-desktop
science
biology
eggnog-mapper
virtualization
containerd
data
themes
obsidian2
desktops
gnome
core
libgnome-keyring
gnome-2
desktop
gtksourceview
platform
gnome-vfs
development
compilers
libraries
cairo
freealut
freeglut
freetype
gdk-pixbuf
geos
glew
glib
gobject-introspection
gstreamer
gtk
gtksourceview
ldb
libgnome-keyring
libzip
mesa-glu
qt-5
modules
science
math
tevent
wasilibc
wlroots
lisp-modules-new
python-modules
acquire
aliyun-python-sdk-cdn
aliyun-python-sdk-iot
blis
boschshcpy
buildbot
dissect
dissect-cim
dissect-clfs
dissect-cstruct
dissect-esedb
dissect-etl
dissect-eventlog
dissect-evidence
dissect-executable
dissect-extfs
dissect-fat
dissect-ffs
dissect-hypervisor
dissect-ntfs
dissect-ole
dissect-regf
dissect-shellitem
dissect-sql
dissect-squashfs
dissect-target
dissect-thumbcache
dissect-util
dissect-vmfs
dissect-volume
dissect-xfs
django-webpack-loader
djangorestframework-camel-case
flow-record
ibm-cloud-sdk-core
msgspec
renault-api
games
os-specific
servers
etebase
snappymail
tools
compression
bzip2
bzip3
games
joystickwake
networking
dnscrypt-proxy2
netbird
typesetting
mmark
top-level
+34 -17
nixos/modules/services/networking/envoy.nix
···
cfg = config.services.envoy;
format = pkgs.formats.json { };
conf = format.generate "envoy.json" cfg.settings;
-
validateConfig = file:
pkgs.runCommand "validate-envoy-conf" { } ''
-
${pkgs.envoy}/bin/envoy --log-level error --mode validate -c "${file}"
cp "${file}" "$out"
'';
-
in
{
options.services.envoy = {
enable = mkEnableOption (lib.mdDoc "Envoy reverse proxy");
settings = mkOption {
type = format.type;
default = { };
···
};
config = mkIf cfg.enable {
-
environment.systemPackages = [ pkgs.envoy ];
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;
-
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";
LockPersonality = true;
-
RestrictNamespaces = true;
-
RestrictRealtime = true;
-
PrivateUsers = false; # breaks CAP_NET_BIND_SERVICE
PrivateDevices = true;
ProtectClock = true;
ProtectControlGroups = true;
ProtectHome = true;
ProtectKernelLogs = true;
ProtectKernelModules = true;
ProtectKernelTunables = true;
ProtectProc = "ptraceable";
-
ProtectHostname = true;
ProtectSystem = "strict";
UMask = "0066";
-
SystemCallFilter = "~@clock @module @mount @reboot @swap @obsolete @cpu-emulation";
};
};
};
···
cfg = config.services.envoy;
format = pkgs.formats.json { };
conf = format.generate "envoy.json" cfg.settings;
+
validateConfig = required: file:
pkgs.runCommand "validate-envoy-conf" { } ''
+
${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 = { };
···
};
config = mkIf cfg.enable {
+
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 = "${cfg.package}/bin/envoy -c ${validateConfig cfg.requireValidConfig conf}";
+
CacheDirectory = [ "envoy" ];
+
LogsDirectory = [ "envoy" ];
+
Restart = "no";
+
# Hardening
+
AmbientCapabilities = [ "CAP_NET_BIND_SERVICE" ];
+
CapabilityBoundingSet = [ "CAP_NET_BIND_SERVICE" ];
+
DeviceAllow = [ "" ];
+
DevicePolicy = "closed";
DynamicUser = true;
LockPersonality = true;
+
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";
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";
};
};
};
+3 -1
nixos/modules/services/networking/hostapd.nix
···
ssid=${cfg.ssid}
hw_mode=${cfg.hwMode}
channel=${toString cfg.channel}
${optionalString (cfg.countryCode != null) "country_code=${cfg.countryCode}"}
${optionalString (cfg.countryCode != null) "ieee80211d=1"}
···
${optionalString cfg.wpa ''
wpa=2
wpa_passphrase=${cfg.wpaPassphrase}
''}
${optionalString cfg.noScan "noscan=1"}
···
};
interface = mkOption {
-
default = "";
example = "wlp2s0";
type = types.str;
description = lib.mdDoc ''
···
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"}
···
${optionalString cfg.wpa ''
wpa=2
+
wpa_pairwise=CCMP
wpa_passphrase=${cfg.wpaPassphrase}
''}
${optionalString cfg.noScan "noscan=1"}
···
};
interface = mkOption {
example = "wlp2s0";
type = types.str;
description = lib.mdDoc ''
+28 -7
nixos/tests/envoy.nix
···
socket_address = {
protocol = "TCP";
address = "127.0.0.1";
-
port_value = 9901;
};
};
};
···
clusters = [];
};
};
};
-
testScript = ''
-
machine.start()
-
machine.wait_for_unit("envoy.service")
-
machine.wait_for_open_port(9901)
-
machine.wait_until_succeeds("curl -fsS localhost:9901/ready")
-
'';
})
···
socket_address = {
protocol = "TCP";
address = "127.0.0.1";
+
port_value = 80;
};
};
};
···
clusters = [];
};
};
+
specialisation = {
+
withoutConfigValidation.configuration = { ... }: {
+
services.envoy = {
+
requireValidConfig = false;
+
settings.admin.access_log_path = lib.mkForce "/var/log/envoy/access.log";
+
};
+
};
+
};
};
+
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')
+
'';
})
+3 -3
pkgs/applications/audio/gtkcord4/default.nix
···
buildGoModule rec {
pname = "gtkcord4";
-
version = "0.0.8";
src = fetchFromGitHub {
owner = "diamondburned";
repo = pname;
rev = "v${version}";
-
hash = "sha256-aJRVk9KFCJbIFInkg5BCJ6ygBlDCFF53WXO9qyACFus=";
};
nativeBuildInputs = [
···
install -D -m 444 internal/icons/png/logo.png $out/share/icons/hicolor/256x256/apps/gtkcord4.png
'';
-
vendorHash = "sha256-usnlaOqyMd8rdnFpuCqfaCES8bPaB+NbdL4pFybKJbM=";
meta = with lib; {
description = "GTK4 Discord client in Go, attempt #4.";
···
buildGoModule rec {
pname = "gtkcord4";
+
version = "0.0.9";
src = fetchFromGitHub {
owner = "diamondburned";
repo = pname;
rev = "v${version}";
+
hash = "sha256-55mS+hrhLLRkhgih5lvdM9Xka+WKg2iliFm6TYF6n3w=";
};
nativeBuildInputs = [
···
install -D -m 444 internal/icons/png/logo.png $out/share/icons/hicolor/256x256/apps/gtkcord4.png
'';
+
vendorHash = "sha256-IQpokMeo46vZIdVA1F7JILXCN9bUqTMOCa/SQ0JSjaM=";
meta = with lib; {
description = "GTK4 Discord client in Go, attempt #4.";
+2 -2
pkgs/applications/blockchains/elements/default.nix
···
stdenv.mkDerivation rec {
pname = if withGui then "elements" else "elementsd";
-
version = "22.0.2";
src = fetchFromGitHub {
owner = "ElementsProject";
repo = "elements";
rev = "elements-${version}";
-
sha256 = "sha256-20Tem6CD7XAt1EDfkl46Nxhb+Vq3sCk/UqnLCAm85FU=";
};
nativeBuildInputs =
···
stdenv.mkDerivation rec {
pname = if withGui then "elements" else "elementsd";
+
version = "22.1";
src = fetchFromGitHub {
owner = "ElementsProject";
repo = "elements";
rev = "elements-${version}";
+
sha256 = "sha256-HDV06O9k+TpYR0ZwLas2hvDwxvnfoa8VUzgvkXv/WV8=";
};
nativeBuildInputs =
+3 -6
pkgs/applications/editors/vscode/extensions/ms-toolsai-jupyter/default.nix
···
{ lib, vscode-utils, jq, moreutils }:
-
let
-
inherit (vscode-utils) buildVscodeMarketplaceExtension;
-
-
in buildVscodeMarketplaceExtension {
mktplcRef = {
name = "jupyter";
publisher = "ms-toolsai";
-
version = "2022.11.1003381023";
-
sha256 = "0cbnr52pq0yw6i4yzyrifyrz186l482m9s01h4l7d74fby9ska8h";
};
nativeBuildInputs = [
···
{ lib, vscode-utils, jq, moreutils }:
+
vscode-utils.buildVscodeMarketplaceExtension {
mktplcRef = {
name = "jupyter";
publisher = "ms-toolsai";
+
version = "2023.2.1000411022";
+
sha256 = "sha256-gMK/t/rLXYN3rlHxxVeW0W/FWEP0ZCiEwzM8DY14vYg=";
};
nativeBuildInputs = [
+2 -2
pkgs/applications/misc/tellico/default.nix
···
mkDerivation rec {
pname = "tellico";
-
version = "3.4.5";
src = fetchFromGitLab {
domain = "invent.kde.org";
owner = "office";
repo = pname;
rev = "v${version}";
-
hash = "sha256-XWzSbtyxOkASTwT5b7+hIEwaKe2bEo6ij+CnPbYNEc0=";
};
postPatch = ''
···
mkDerivation rec {
pname = "tellico";
+
version = "3.4.6";
src = fetchFromGitLab {
domain = "invent.kde.org";
owner = "office";
repo = pname;
rev = "v${version}";
+
hash = "sha256-aHA4DYuxh4vzXL82HRGMPfqS0DGqq/FLMEuhsr4eLko=";
};
postPatch = ''
+6 -6
pkgs/applications/networking/instant-messengers/deltachat-desktop/default.nix
···
let
libdeltachat' = libdeltachat.overrideAttrs (old: rec {
-
version = "1.107.0";
src = fetchFromGitHub {
owner = "deltachat";
repo = "deltachat-core-rust";
rev = version;
-
hash = "sha256-fjiS7GZy1BLgmxu4LFOWgucORcVx+9KleQcga+hRkSY=";
};
cargoDeps = rustPlatform.fetchCargoTarball {
inherit src;
name = "${old.pname}-${version}";
-
hash = "sha256-7XhSI/C0GEmsaL0UupvufB1bfPGbzSQJH720Y4/Do3o=";
};
});
esbuild' = esbuild.override {
···
};
in buildNpmPackage rec {
pname = "deltachat-desktop";
-
version = "1.34.3";
src = fetchFromGitHub {
owner = "deltachat";
repo = "deltachat-desktop";
rev = "v${version}";
-
hash = "sha256-6WZJD8lMsk1WNguMkXygBCTVpOzNkNuVZJ3Ygv6VBkM=";
};
-
npmDepsHash = "sha256-B91yQ/xi8+uyOllqYR7lZTfLBpJvZat1cIIJk9TkM/c=";
nativeBuildInputs = [
makeWrapper
···
let
libdeltachat' = libdeltachat.overrideAttrs (old: rec {
+
version = "1.107.1";
src = fetchFromGitHub {
owner = "deltachat";
repo = "deltachat-core-rust";
rev = version;
+
hash = "sha256-ISAUZyFrp86ILtRrlowceBQNJ7+tbJReIAe6+u4wwQI=";
};
cargoDeps = rustPlatform.fetchCargoTarball {
inherit src;
name = "${old.pname}-${version}";
+
hash = "sha256-B4BMxiI3GhsjeD3gYrq5ZpbZ7l77ycrIMWu2sUzZiz4=";
};
});
esbuild' = esbuild.override {
···
};
in buildNpmPackage rec {
pname = "deltachat-desktop";
+
version = "1.34.4";
src = fetchFromGitHub {
owner = "deltachat";
repo = "deltachat-desktop";
rev = "v${version}";
+
hash = "sha256-LV8/r6psUZuCEGbaH1nWlrkeNbEYG8R5O1aCxECPH1E=";
};
+
npmDepsHash = "sha256-rdZVvsyCo/6C4+gjytCCn9Qcl+chc6U+6orkcM59I8U=";
nativeBuildInputs = [
makeWrapper
+3 -2
pkgs/applications/networking/instant-messengers/signalbackup-tools/default.nix
···
stdenv.mkDerivation rec {
pname = "signalbackup-tools";
-
version = "20230203";
src = fetchFromGitHub {
owner = "bepaald";
repo = pname;
rev = version;
-
sha256 = "sha256-xXIdXv2U5VpRSuJ9Kl6HMDBZGpXRYGPZFBBk9QYODtU=";
};
postPatch = ''
···
license = licenses.gpl3Only;
maintainers = [ maintainers.malo ];
platforms = platforms.all;
};
}
···
stdenv.mkDerivation rec {
pname = "signalbackup-tools";
+
version = "20230211";
src = fetchFromGitHub {
owner = "bepaald";
repo = pname;
rev = version;
+
hash = "sha256-NeArgsl5xbgcXY8OKjF2wMdwJqgsBdR1XSrIWPqRWMs=";
};
postPatch = ''
···
license = licenses.gpl3Only;
maintainers = [ maintainers.malo ];
platforms = platforms.all;
+
broken = stdenv.isDarwin;
};
}
+2 -2
pkgs/applications/networking/mailreaders/tutanota-desktop/default.nix
···
stdenv.mkDerivation rec {
pname = "tutanota-desktop";
-
version = "3.106.4";
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=";
};
nativeBuildInputs = [
···
stdenv.mkDerivation rec {
pname = "tutanota-desktop";
+
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-ZXQCth5nhCkEZI348057cRjzFWl/IEytQmkmBuJzw3w=";
};
nativeBuildInputs = [
+2 -2
pkgs/applications/science/biology/eggnog-mapper/default.nix
···
python3Packages.buildPythonApplication rec {
pname = "eggnog-mapper";
-
version = "2.1.9";
src = fetchFromGitHub {
owner = "eggnogdb";
repo = pname;
rev = "refs/tags/${version}";
-
hash = "sha256-Fn7hJhZG/T8f2nP+ltl1/FBFwXz0Kxz/4mIma/Z0bnE=";
};
postPatch = ''
···
python3Packages.buildPythonApplication rec {
pname = "eggnog-mapper";
+
version = "2.1.10";
src = fetchFromGitHub {
owner = "eggnogdb";
repo = pname;
rev = "refs/tags/${version}";
+
hash = "sha256-6R2gl2l2Cl/eva0g+kxDLBI2+5T9cFTgaGMsEfeDVU0=";
};
postPatch = ''
+2 -2
pkgs/applications/virtualization/containerd/default.nix
···
buildGoModule rec {
pname = "containerd";
-
version = "1.6.16";
src = fetchFromGitHub {
owner = "containerd";
repo = "containerd";
rev = "v${version}";
-
hash = "sha256-p2I188MGoxnd7dBAMQ0bM5+GT8z3y9S4cZW2Q99DyzY=";
};
vendorHash = null;
···
buildGoModule rec {
pname = "containerd";
+
version = "1.6.17";
src = fetchFromGitHub {
owner = "containerd";
repo = "containerd";
rev = "v${version}";
+
hash = "sha256-5Kpqgn4g08i8UVw9mfK5gc2wSx4wTk6NIzbT7tzY+ho=";
};
vendorHash = null;
+17 -5
pkgs/data/themes/obsidian2/default.nix
···
-
{ lib, stdenv, fetchurl, gtk-engine-murrine }:
stdenv.mkDerivation rec {
pname = "theme-obsidian2";
-
version = "2.21";
src = fetchurl {
url = "https://github.com/madmaxms/theme-obsidian-2/releases/download/v${version}/obsidian-2-theme.tar.xz";
-
sha256 = "sha256-ptiJeb4ebfnH6HpTN1NsPAYbkLlPcZtn2aBKO0zW2Tw=";
};
sourceRoot = ".";
-
propagatedUserEnvPkgs = [ gtk-engine-murrine ];
installPhase = ''
runHook preInstall
···
runHook postInstall
'';
meta = with lib; {
-
description = "Gnome theme, based upon Adwaita-Maia dark skin";
homepage = "https://github.com/madmaxms/theme-obsidian-2";
license = with licenses; [ gpl3Only ];
platforms = platforms.linux;
···
+
{ lib
+
, stdenv
+
, fetchurl
+
, gtk-engine-murrine
+
, gitUpdater
+
}:
stdenv.mkDerivation rec {
pname = "theme-obsidian2";
+
version = "2.22";
src = fetchurl {
url = "https://github.com/madmaxms/theme-obsidian-2/releases/download/v${version}/obsidian-2-theme.tar.xz";
+
sha256 = "sha256-WvSlzCock0UMdvajHRBNHSugVMStR1FDt9vjzX5Kp8A=";
};
sourceRoot = ".";
+
propagatedUserEnvPkgs = [
+
gtk-engine-murrine
+
];
installPhase = ''
runHook preInstall
···
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";
homepage = "https://github.com/madmaxms/theme-obsidian-2";
license = with licenses; [ gpl3Only ];
platforms = platforms.linux;
+15 -5
pkgs/desktops/gnome-2/desktop/gtksourceview/default.nix
···
{lib, stdenv, fetchpatch, fetchurl, autoreconfHook, pkg-config, atk, cairo, glib
, gnome-common, gtk2, pango
-
, libxml2Python, perl, intltool, gettext, gtk-mac-integration-gtk2 }:
with lib;
-
stdenv.mkDerivation rec {
pname = "gtksourceview";
version = "2.10.5";
-
src = fetchurl {
-
url = "mirror://gnome/sources/gtksourceview/2.10/${pname}-${version}.tar.bz2";
sha256 = "c585773743b1df8a04b1be7f7d90eecdf22681490d6810be54c81a7ae152191e";
};
···
'';
doCheck = false; # requires X11 daemon
-
}
···
{lib, stdenv, fetchpatch, fetchurl, autoreconfHook, pkg-config, atk, cairo, glib
, gnome-common, gtk2, pango
+
, libxml2Python, perl, intltool, gettext, gtk-mac-integration-gtk2
+
, testers
+
}:
with lib;
+
stdenv.mkDerivation (finalAttrs: {
pname = "gtksourceview";
version = "2.10.5";
+
src = let
+
inherit (finalAttrs) pname version;
+
in fetchurl {
+
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.bz2";
sha256 = "c585773743b1df8a04b1be7f7d90eecdf22681490d6810be54c81a7ae152191e";
};
···
'';
doCheck = false; # requires X11 daemon
+
+
passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
+
+
meta = {
+
pkgConfigModules = [ "gtksourceview-2.0" ];
+
};
+
})
+15 -5
pkgs/desktops/gnome-2/platform/gnome-vfs/default.nix
···
{ lib, stdenv, fetchurl, fetchpatch, pkg-config, libxml2, bzip2, openssl, dbus-glib
-
, glib, gamin, cdparanoia, intltool, GConf, gnome_mime_data, avahi, acl }:
-
stdenv.mkDerivation rec {
pname = "gnome-vfs";
version = "2.24.4";
-
src = fetchurl {
-
url = "mirror://gnome/sources/gnome-vfs/${lib.versions.majorMinor version}/gnome-vfs-${version}.tar.bz2";
sha256 = "1ajg8jb8k3snxc7rrgczlh8daxkjidmcv3zr9w809sq4p2sn9pk2";
};
···
postPatch = "find . -name Makefile.in | xargs sed 's/-DG_DISABLE_DEPRECATED//g' -i ";
doCheck = false; # needs dbus daemon
-
}
···
{ lib, stdenv, fetchurl, fetchpatch, pkg-config, libxml2, bzip2, openssl, dbus-glib
+
, glib, gamin, cdparanoia, intltool, GConf, gnome_mime_data, avahi, acl
+
, testers
+
}:
+
stdenv.mkDerivation (finalAttrs: {
pname = "gnome-vfs";
version = "2.24.4";
+
src = let
+
inherit (finalAttrs) pname version;
+
in fetchurl {
+
url = "mirror://gnome/sources/gnome-vfs/${lib.versions.majorMinor version}/${pname}-${version}.tar.bz2";
sha256 = "1ajg8jb8k3snxc7rrgczlh8daxkjidmcv3zr9w809sq4p2sn9pk2";
};
···
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" ];
+
};
+
})
+9 -4
pkgs/desktops/gnome/core/libgnome-keyring/default.nix
···
-
{ lib, stdenv, fetchurl, glib, dbus, libgcrypt, pkg-config, intltool, gobject-introspection, gnome }:
let
pname = "libgnome-keyring";
version = "3.12.0";
in
-
stdenv.mkDerivation rec {
name = "${pname}-${version}";
src = fetchurl {
-
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${name}.tar.xz";
sha256 = "c4c178fbb05f72acc484d22ddb0568f7532c409b0a13e06513ff54b91e947783";
};
···
propagatedBuildInputs = [ glib gobject-introspection dbus libgcrypt ];
nativeBuildInputs = [ pkg-config intltool ];
meta = {
description = "Framework for managing passwords and other secrets";
homepage = "https://wiki.gnome.org/Projects/GnomeKeyring";
license = with lib.licenses; [ gpl2Plus lgpl2Plus ];
inherit (glib.meta) platforms maintainers;
longDescription = ''
···
with the gnome-keyring system.
'';
};
-
}
···
+
{ lib, stdenv, fetchurl, glib, dbus, libgcrypt, pkg-config, intltool, gobject-introspection, gnome
+
, testers
+
}:
let
pname = "libgnome-keyring";
version = "3.12.0";
in
+
stdenv.mkDerivation (finalAttrs: {
name = "${pname}-${version}";
src = fetchurl {
+
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "c4c178fbb05f72acc484d22ddb0568f7532c409b0a13e06513ff54b91e947783";
};
···
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 = ''
···
with the gnome-keyring system.
'';
};
+
})
+2 -2
pkgs/development/compilers/qbe/default.nix
···
stdenv.mkDerivation rec {
pname = "qbe";
-
version = "1.0";
src = fetchzip {
url = "https://c9x.me/compile/release/qbe-${version}.tar.xz";
-
sha256 = "sha256-Or6m/y5hb9SlSToBevjhaSbk5Lo5BasbqeJmKd1QpGM=";
};
makeFlags = [ "PREFIX=$(out)" ];
···
stdenv.mkDerivation rec {
pname = "qbe";
+
version = "1.1";
src = fetchzip {
url = "https://c9x.me/compile/release/qbe-${version}.tar.xz";
+
sha256 = "sha256-yFZ3cpp7eLjf7ythKFTY1YEJYyfeg2en4/D8+9oM1B4=";
};
makeFlags = [ "PREFIX=$(out)" ];
+1 -1
pkgs/development/libraries/cairo/default.nix
···
"cairo-ps"
"cairo-svg"
] ++ lib.optional gobjectSupport "cairo-gobject"
-
++ lib.optional pdfSupport "cairo-gobject";
platforms = platforms.all;
};
})
···
"cairo-ps"
"cairo-svg"
] ++ lib.optional gobjectSupport "cairo-gobject"
+
++ lib.optional pdfSupport "cairo-pdf";
platforms = platforms.all;
};
})
+9 -4
pkgs/development/libraries/freealut/default.nix
···
-
{ lib, stdenv, darwin, fetchurl, openal }:
-
stdenv.mkDerivation rec {
pname = "freealut";
version = "1.1.0";
src = fetchurl {
-
url = "http://www.openal.org/openal_webstf/downloads/freealut-${version}.tar.gz";
sha256 = "0kzlil6112x2429nw6mycmif8y6bxr2cwjcvp18vh6s7g63ymlb0";
};
···
] ++ lib.optional stdenv.isDarwin
darwin.apple_sdk.frameworks.OpenAL
;
meta = {
homepage = "http://openal.org/";
description = "Free implementation of OpenAL's ALUT standard";
license = lib.licenses.lgpl2;
platforms = lib.platforms.unix;
};
-
}
···
+
{ lib, stdenv, darwin, fetchurl, openal
+
, testers
+
}:
+
stdenv.mkDerivation (finalAttrs: {
pname = "freealut";
version = "1.1.0";
src = fetchurl {
+
url = "http://www.openal.org/openal_webstf/downloads/freealut-${finalAttrs.version}.tar.gz";
sha256 = "0kzlil6112x2429nw6mycmif8y6bxr2cwjcvp18vh6s7g63ymlb0";
};
···
] ++ lib.optional stdenv.isDarwin
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;
};
+
})
+9 -4
pkgs/development/libraries/freeglut/default.nix
···
-
{ lib, stdenv, fetchurl, libICE, libXext, libXi, libXrandr, libXxf86vm, libGL, libGLU, cmake }:
-
stdenv.mkDerivation rec {
pname = "freeglut";
version = "3.2.2";
src = fetchurl {
-
url = "mirror://sourceforge/freeglut/freeglut-${version}.tar.gz";
sha256 = "sha256-xZRKCC3wu6lrV1bd2x910M1yzie1OVxsHd6Fwv8pelA=";
};
···
"-DFREEGLUT_BUILD_DEMOS:BOOL=OFF"
"-DFREEGLUT_BUILD_STATIC:BOOL=OFF"
];
meta = with lib; {
description = "Create and manage windows containing OpenGL contexts";
···
'';
homepage = "https://freeglut.sourceforge.net/";
license = licenses.mit;
platforms = platforms.all;
maintainers = [ maintainers.bjornfor ];
};
-
}
···
+
{ lib, stdenv, fetchurl, libICE, libXext, libXi, libXrandr, libXxf86vm, libGL, libGLU, cmake
+
, testers
+
}:
+
stdenv.mkDerivation (finalAttrs: {
pname = "freeglut";
version = "3.2.2";
src = fetchurl {
+
url = "mirror://sourceforge/freeglut/freeglut-${finalAttrs.version}.tar.gz";
sha256 = "sha256-xZRKCC3wu6lrV1bd2x910M1yzie1OVxsHd6Fwv8pelA=";
};
···
"-DFREEGLUT_BUILD_DEMOS:BOOL=OFF"
"-DFREEGLUT_BUILD_STATIC:BOOL=OFF"
];
+
+
passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
meta = with lib; {
description = "Create and manage windows containing OpenGL contexts";
···
'';
homepage = "https://freeglut.sourceforge.net/";
license = licenses.mit;
+
pkgConfigModules = [ "glut" ];
platforms = platforms.all;
maintainers = [ maintainers.bjornfor ];
};
+
})
+6 -3
pkgs/development/libraries/freetype/default.nix
···
, qt5
, texmacs
, ttfautohint
}:
-
stdenv.mkDerivation rec {
pname = "freetype";
version = "2.12.1";
-
src = fetchurl {
url = "mirror://savannah/${pname}/${pname}-${version}.tar.xz";
sha256 = "sha256-R2byAVfMTPDNKS+Av5F/ktHEObJDrDAY3r9rkUDEGn8=";
};
···
ttfautohint;
inherit (python3.pkgs) freetype-py;
inherit (qt5) qtbase;
};
meta = with lib; {
···
homepage = "https://www.freetype.org/";
license = licenses.gpl2Plus; # or the FreeType License (BSD + advertising clause)
platforms = platforms.all;
maintainers = with maintainers; [ ttuegel ];
};
-
}
···
, qt5
, texmacs
, ttfautohint
+
, testers
}:
+
stdenv.mkDerivation (finalAttrs: {
pname = "freetype";
version = "2.12.1";
+
src = let inherit (finalAttrs) pname version; in fetchurl {
url = "mirror://savannah/${pname}/${pname}-${version}.tar.xz";
sha256 = "sha256-R2byAVfMTPDNKS+Av5F/ktHEObJDrDAY3r9rkUDEGn8=";
};
···
ttfautohint;
inherit (python3.pkgs) freetype-py;
inherit (qt5) qtbase;
+
pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
};
meta = with lib; {
···
homepage = "https://www.freetype.org/";
license = licenses.gpl2Plus; # or the FreeType License (BSD + advertising clause)
platforms = platforms.all;
+
pkgConfigModules = [ "freetype2" ];
maintainers = with maintainers; [ ttuegel ];
};
+
})
+10 -5
pkgs/development/libraries/gdk-pixbuf/default.nix
···
, doCheck ? false
, makeWrapper
, lib
}:
-
stdenv.mkDerivation rec {
pname = "gdk-pixbuf";
version = "2.42.10";
outputs = [ "out" "dev" "man" "devdoc" ]
++ lib.optional (stdenv.buildPlatform == stdenv.hostPlatform) "installedTests";
-
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "7ptsddE7oJaQei48aye2G80X9cfr6rWltDnS8uOf5Es=";
};
···
'' + 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
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
···
passthru = {
updateScript = gnome.updateScript {
-
packageName = pname;
versionPolicy = "odd-unstable";
};
tests = {
installedTests = nixosTests.installed-tests.gdk-pixbuf;
};
# gdk_pixbuf_moduledir variable from gdk-pixbuf-2.0.pc
···
license = licenses.lgpl21Plus;
maintainers = [ maintainers.eelco ] ++ teams.gnome.members;
mainProgram = "gdk-pixbuf-thumbnailer";
platforms = platforms.unix;
};
-
}
···
, doCheck ? false
, makeWrapper
, lib
+
, testers
}:
+
stdenv.mkDerivation (finalAttrs: {
pname = "gdk-pixbuf";
version = "2.42.10";
outputs = [ "out" "dev" "man" "devdoc" ]
++ lib.optional (stdenv.buildPlatform == stdenv.hostPlatform) "installedTests";
+
src = let
+
inherit (finalAttrs) pname version;
+
in fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "7ptsddE7oJaQei48aye2G80X9cfr6rWltDnS8uOf5Es=";
};
···
'' + 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/${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
···
passthru = {
updateScript = gnome.updateScript {
+
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
···
license = licenses.lgpl21Plus;
maintainers = [ maintainers.eelco ] ++ teams.gnome.members;
mainProgram = "gdk-pixbuf-thumbnailer";
+
pkgConfigModules = [ "gdk-pixbuf-2.0" ];
platforms = platforms.unix;
};
+
})
+11 -4
pkgs/development/libraries/geos/3.9.nix
···
-
{ lib, stdenv, fetchurl }:
-
stdenv.mkDerivation rec {
pname = "geos";
version = "3.9.2";
src = fetchurl {
-
url = "https://download.osgeo.org/geos/${pname}-${version}.tar.bz2";
sha256 = "sha256-RKWpviHX1HNDa/Yhwt3MPPWou+PHhuEyKWGKO52GEpc=";
};
···
# https://trac.osgeo.org/geos/ticket/993
configureFlags = lib.optional stdenv.isAarch32 "--disable-inline";
meta = with lib; {
description = "C++ port of the Java Topology Suite (JTS)";
homepage = "https://trac.osgeo.org/geos";
license = licenses.lgpl21Only;
maintainers = with lib.maintainers; [
willcohen
];
};
-
}
···
+
{ lib
+
, stdenv
+
, fetchurl
+
, testers
+
}:
+
stdenv.mkDerivation (finalAttrs: {
pname = "geos";
version = "3.9.2";
src = fetchurl {
+
url = "https://download.osgeo.org/geos/${finalAttrs.pname}-${finalAttrs.version}.tar.bz2";
sha256 = "sha256-RKWpviHX1HNDa/Yhwt3MPPWou+PHhuEyKWGKO52GEpc=";
};
···
# 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
];
};
+
})
+9 -4
pkgs/development/libraries/geos/default.nix
···
, stdenv
, fetchurl
, fetchpatch
-
, cmake }:
-
stdenv.mkDerivation rec {
pname = "geos";
version = "3.11.1";
src = fetchurl {
-
url = "https://download.osgeo.org/geos/${pname}-${version}.tar.bz2";
hash = "sha256-bQ6zz6n5LZR3Mcx18XUDVrO9/AfqAgVT2vavHHaOC+I=";
};
nativeBuildInputs = [ cmake ];
doCheck = true;
meta = with lib; {
description = "C++ port of the Java Topology Suite (JTS)";
homepage = "https://trac.osgeo.org/geos";
license = licenses.lgpl21Only;
maintainers = with lib.maintainers; [
willcohen
];
};
-
}
···
, stdenv
, fetchurl
, fetchpatch
+
, cmake
+
, testers
+
}:
+
stdenv.mkDerivation (finalAttrs: {
pname = "geos";
version = "3.11.1";
src = fetchurl {
+
url = "https://download.osgeo.org/geos/${finalAttrs.pname}-${finalAttrs.version}.tar.bz2";
hash = "sha256-bQ6zz6n5LZR3Mcx18XUDVrO9/AfqAgVT2vavHHaOC+I=";
};
nativeBuildInputs = [ cmake ];
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
];
};
+
})
+7 -3
pkgs/development/libraries/glew/1.10.nix
···
{ lib, stdenv, fetchurl, libGLU, libXmu, libXi, libXext
, AGL, OpenGL
}:
-
stdenv.mkDerivation rec {
pname = "glew";
version = "1.10.0";
src = fetchurl {
-
url = "mirror://sourceforge/glew/glew-${version}.tgz";
sha256 = "01zki46dr5khzlyywr3cg615bcal32dazfazkf360s1znqh17i4r";
};
···
"SYSTEM=${if stdenv.hostPlatform.isMinGW then "mingw" else stdenv.hostPlatform.parsed.kernel.name}"
];
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"]
platforms = platforms.mesaPlatforms;
};
-
}
···
{ lib, stdenv, fetchurl, libGLU, libXmu, libXi, libXext
, AGL, OpenGL
+
, testers
}:
+
stdenv.mkDerivation (finalAttrs: {
pname = "glew";
version = "1.10.0";
src = fetchurl {
+
url = "mirror://sourceforge/glew/${finalAttrs.pname}-${finalAttrs.version}.tgz";
sha256 = "01zki46dr5khzlyywr3cg615bcal32dazfazkf360s1znqh17i4r";
};
···
"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;
};
+
})
+7 -3
pkgs/development/libraries/glew/default.nix
···
{ lib, stdenv, fetchurl, fetchpatch, cmake, libGLU, libXmu, libXi, libXext
, OpenGL
, enableEGL ? false
}:
-
stdenv.mkDerivation rec {
pname = "glew";
version = "2.2.0";
src = fetchurl {
-
url = "mirror://sourceforge/glew/${pname}-${version}.tgz";
sha256 = "1qak8f7g1iswgswrgkzc7idk7jmqgwrs58fhg2ai007v7j4q5z6l";
};
···
EOF
'';
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
platforms = with platforms;
if enableEGL then
subtractLists darwin mesaPlatforms
else
mesaPlatforms;
};
-
}
···
{ lib, stdenv, fetchurl, fetchpatch, cmake, libGLU, libXmu, libXi, libXext
, OpenGL
, enableEGL ? false
+
, testers
}:
+
stdenv.mkDerivation (finalAttrs: {
pname = "glew";
version = "2.2.0";
src = fetchurl {
+
url = "mirror://sourceforge/glew/${finalAttrs.pname}-${finalAttrs.version}.tgz";
sha256 = "1qak8f7g1iswgswrgkzc7idk7jmqgwrs58fhg2ai007v7j4q5z6l";
};
···
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;
};
+
})
+10 -1
pkgs/development/libraries/glib/default.nix
···
, desktop-file-utils, shared-mime-info
, darwin
, makeHardcodeGsettingsPatch
}:
assert stdenv.isLinux -> util-linuxMinimal != null;
···
getSchemaPath = pkg: makeSchemaPath pkg pkg.name;
getSchemaDataDirPath = pkg: makeSchemaDataDirPath pkg pkg.name;
-
tests.withChecks = finalAttrs.finalPackage.overrideAttrs (_: { doCheck = true; });
inherit flattenInclude;
updateScript = gnome.updateScript {
···
homepage = "https://wiki.gnome.org/Projects/GLib";
license = licenses.lgpl21Plus;
maintainers = teams.gnome.members ++ (with maintainers; [ lovek323 raskin ]);
platforms = platforms.unix;
longDescription = ''
···
, desktop-file-utils, shared-mime-info
, darwin
, makeHardcodeGsettingsPatch
+
, testers
}:
assert stdenv.isLinux -> util-linuxMinimal != null;
···
getSchemaPath = pkg: makeSchemaPath pkg pkg.name;
getSchemaDataDirPath = pkg: makeSchemaDataDirPath pkg pkg.name;
+
tests = {
+
withChecks = finalAttrs.finalPackage.overrideAttrs (_: { doCheck = true; });
+
pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
+
};
inherit flattenInclude;
updateScript = gnome.updateScript {
···
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 = ''
+3
pkgs/development/libraries/gobject-introspection/default.nix
···
, gobject-introspection-unwrapped
, nixStoreDir ? builtins.storeDir
, x11Support ? true
}:
# now that gobject-introspection creates large .gir files (eg gtk3 case)
···
packageName = "gobject-introspection";
versionPolicy = "odd-unstable";
};
};
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 ]);
platforms = platforms.unix;
license = with licenses; [ gpl2 lgpl2 ];
···
, gobject-introspection-unwrapped
, nixStoreDir ? builtins.storeDir
, x11Support ? true
+
, testers
}:
# now that gobject-introspection creates large .gir files (eg gtk3 case)
···
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 ];
+14 -3
pkgs/development/libraries/gstreamer/base/default.nix
···
, enableCdparanoia ? (!stdenv.isDarwin)
, cdparanoia
, glib
}:
-
stdenv.mkDerivation rec {
pname = "gst-plugins-base";
version = "1.20.3";
outputs = [ "out" "dev" ];
-
src = fetchurl {
url = "https://gstreamer.freedesktop.org/src/${pname}/${pname}-${version}.tar.xz";
sha256 = "sha256-fjCz3YGnA4D/dVT5mEcdaZb/drvm/FRHCW+FHiRHPJ8=";
};
···
waylandEnabled = enableWayland;
};
meta = with lib; {
description = "Base GStreamer plug-ins and helper libraries";
homepage = "https://gstreamer.freedesktop.org";
license = licenses.lgpl2Plus;
platforms = platforms.unix;
maintainers = with maintainers; [ matthewbauer ];
};
-
}
···
, enableCdparanoia ? (!stdenv.isDarwin)
, cdparanoia
, glib
+
, testers
}:
+
stdenv.mkDerivation (finalAttrs: {
pname = "gst-plugins-base";
version = "1.20.3";
outputs = [ "out" "dev" ];
+
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=";
};
···
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 ];
};
+
})
+12 -4
pkgs/development/libraries/gstreamer/core/default.nix
···
, lib
, CoreServices
, gobject-introspection
}:
-
stdenv.mkDerivation rec {
pname = "gstreamer";
version = "1.20.3";
···
# - https://github.com/NixOS/nixpkgs/issues/98769#issuecomment-702296551
];
-
src = fetchurl {
url = "https://gstreamer.freedesktop.org/src/${pname}/${pname}-${version}.tar.xz";
sha256 = "sha256-YH2vZLu9X7GK+dF+IcDSLE1wL//oOyPLItGxryyiOio=";
};
···
setupHook = ./setup-hook.sh;
-
meta = with lib ;{
description = "Open source multimedia framework";
homepage = "https://gstreamer.freedesktop.org";
license = licenses.lgpl2Plus;
platforms = platforms.unix;
maintainers = with maintainers; [ ttuegel matthewbauer ];
};
-
}
···
, lib
, CoreServices
, gobject-introspection
+
, testers
}:
+
stdenv.mkDerivation (finalAttrs: {
pname = "gstreamer";
version = "1.20.3";
···
# - https://github.com/NixOS/nixpkgs/issues/98769#issuecomment-702296551
];
+
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=";
};
···
setupHook = ./setup-hook.sh;
+
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 ];
};
+
})
+15 -4
pkgs/development/libraries/gtk/2.x.nix
···
, gdktarget ? if stdenv.isDarwin then "quartz" else "x11"
, AppKit, Cocoa
, fetchpatch, buildPackages
}:
let
···
in
-
stdenv.mkDerivation rec {
pname = "gtk+";
version = "2.24.33";
src = fetchurl {
-
url = "mirror://gnome/sources/gtk+/2.24/${pname}-${version}.tar.xz";
sha256 = "rCrHV/WULTGKMRpUsMgLXvKV8pnCpzxjL2v7H/Scxto=";
};
···
];
-
nativeBuildInputs = setupHooks ++ [ perl pkg-config gettext gobject-introspection ];
patches = [
./patches/2.0-immodules.cache.patch
···
$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;
};
meta = with lib; {
···
homepage = "https://www.gtk.org/";
license = licenses.lgpl2Plus;
maintainers = with maintainers; [ lovek323 raskin ];
platforms = platforms.all;
longDescription = ''
···
'';
changelog = "https://gitlab.gnome.org/GNOME/gtk/-/raw/${version}/NEWS";
};
-
}
···
, gdktarget ? if stdenv.isDarwin then "quartz" else "x11"
, AppKit, Cocoa
, fetchpatch, buildPackages
+
, testers
}:
let
···
in
+
stdenv.mkDerivation (finalAttrs: {
pname = "gtk+";
version = "2.24.33";
src = fetchurl {
+
url = "mirror://gnome/sources/gtk+/2.24/${finalAttrs.pname}-${finalAttrs.version}.tar.xz";
sha256 = "rCrHV/WULTGKMRpUsMgLXvKV8pnCpzxjL2v7H/Scxto=";
};
···
];
+
nativeBuildInputs = finalAttrs.setupHooks ++ [
+
perl pkg-config gettext gobject-introspection
+
];
patches = [
./patches/2.0-immodules.cache.patch
···
$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; {
···
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 = ''
···
'';
changelog = "https://gitlab.gnome.org/GNOME/gtk/-/raw/${version}/NEWS";
};
+
})
+16 -5
pkgs/development/libraries/gtk/3.x.nix
···
, QuartzCore
, broadwaySupport ? true
, wayland-scanner
}:
let
···
in
-
stdenv.mkDerivation rec {
pname = "gtk+3";
version = "3.24.36";
···
gtkCleanImmodulesCache
];
-
src = fetchurl {
url = "mirror://gnome/sources/gtk+/${lib.versions.majorMinor version}/gtk+-${version}.tar.xz";
sha256 = "sha256-J6bvFXdDNQyAf/6lm6odcCJtvt6CpelT/9WOpgWf5pE=";
};
···
python3
sassc
gdk-pixbuf
-
] ++ setupHooks ++ lib.optionals withGtkDoc [
docbook_xml_dtd_43
docbook-xsl-nons
gtk-doc
···
for program in ''${demos[@]}; do
wrapProgram $dev/bin/$program \
-
--prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH:$out/share/gsettings-schemas/${pname}-${version}"
done
'' + lib.optionalString stdenv.isDarwin ''
# a comment created a cycle between outputs
···
attrPath = "gtk3";
freeze = true;
};
};
meta = with lib; {
···
homepage = "https://www.gtk.org/";
license = licenses.lgpl2Plus;
maintainers = with maintainers; [ raskin ] ++ teams.gnome.members;
platforms = platforms.all;
changelog = "https://gitlab.gnome.org/GNOME/gtk/-/raw/${version}/NEWS";
};
-
}
···
, QuartzCore
, broadwaySupport ? true
, wayland-scanner
+
, testers
}:
let
···
in
+
stdenv.mkDerivation (finalAttrs: {
pname = "gtk+3";
version = "3.24.36";
···
gtkCleanImmodulesCache
];
+
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=";
};
···
python3
sassc
gdk-pixbuf
+
] ++ finalAttrs.setupHooks ++ lib.optionals withGtkDoc [
docbook_xml_dtd_43
docbook-xsl-nons
gtk-doc
···
for program in ''${demos[@]}; do
wrapProgram $dev/bin/$program \
+
--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
···
attrPath = "gtk3";
freeze = true;
};
+
tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
};
meta = with lib; {
···
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";
};
+
})
+12 -5
pkgs/development/libraries/gtksourceview/3.x.nix
···
{ lib, stdenv, fetchurl, pkg-config, atk, cairo, glib, gtk3, pango, vala
-
, libxml2, perl, intltool, gettext, gobject-introspection, dbus, xvfb-run, shared-mime-info }:
-
stdenv.mkDerivation rec {
pname = "gtksourceview";
version = "3.24.11";
-
src = fetchurl {
-
url = "mirror://gnome/sources/gtksourceview/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "1zbpj283b5ycz767hqz5kdq02wzsga65pp4fykvhg8xj6x50f6v9";
};
···
make check
'';
meta = with lib; {
homepage = "https://wiki.gnome.org/Projects/GtkSourceView";
platforms = with platforms; linux ++ darwin;
license = licenses.lgpl21;
maintainers = teams.gnome.members;
};
-
}
···
{ lib, stdenv, fetchurl, pkg-config, atk, cairo, glib, gtk3, pango, vala
+
, libxml2, perl, intltool, gettext, gobject-introspection, dbus, xvfb-run, shared-mime-info
+
, testers
+
}:
+
stdenv.mkDerivation (finalAttrs: {
pname = "gtksourceview";
version = "3.24.11";
+
src = let
+
inherit (finalAttrs) pname version;
+
in fetchurl {
+
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "1zbpj283b5ycz767hqz5kdq02wzsga65pp4fykvhg8xj6x50f6v9";
};
···
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;
};
+
})
+9 -3
pkgs/development/libraries/gtksourceview/4.x.nix
···
, dbus
, xvfb-run
, shared-mime-info
}:
-
stdenv.mkDerivation rec {
pname = "gtksourceview";
version = "4.8.4";
outputs = [ "out" "dev" ];
-
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "fsnRj7KD0fhKOj7/O3pysJoQycAGWXs/uru1lYQgqH0=";
};
···
};
};
meta = with lib; {
description = "Source code editing widget for GTK";
homepage = "https://wiki.gnome.org/Projects/GtkSourceView";
platforms = platforms.unix;
license = licenses.lgpl21Plus;
maintainers = teams.gnome.members;
};
-
}
···
, dbus
, xvfb-run
, shared-mime-info
+
, testers
}:
+
stdenv.mkDerivation (finalAttrs: {
pname = "gtksourceview";
version = "4.8.4";
outputs = [ "out" "dev" ];
+
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=";
};
···
};
};
+
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;
};
+
})
+9 -3
pkgs/development/libraries/gtksourceview/5.x.nix
···
, dbus
, xvfb-run
, shared-mime-info
}:
-
stdenv.mkDerivation rec {
pname = "gtksourceview";
version = "5.6.2";
outputs = [ "out" "dev" "devdoc" ];
-
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "HxRsFW8TWmBJnZeeNXfJm24VoRFEV2er5iGbs0xUXHc=";
};
···
};
};
meta = with lib; {
description = "Source code editing widget for GTK";
homepage = "https://wiki.gnome.org/Projects/GtkSourceView";
platforms = platforms.unix;
license = licenses.lgpl21Plus;
maintainers = teams.gnome.members;
};
-
}
···
, dbus
, xvfb-run
, shared-mime-info
+
, testers
}:
+
stdenv.mkDerivation (finalAttrs: {
pname = "gtksourceview";
version = "5.6.2";
outputs = [ "out" "dev" "devdoc" ];
+
src = let
+
inherit (finalAttrs) pname version;
+
in fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "HxRsFW8TWmBJnZeeNXfJm24VoRFEV2er5iGbs0xUXHc=";
};
···
};
};
+
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;
};
+
})
+4
pkgs/development/libraries/ldb/default.nix
···
, docbook_xml_dtd_42
, cmocka
, wafHook
}:
stdenv.mkDerivation rec {
···
libxslt
docbook-xsl-nons
docbook_xml_dtd_42
];
buildInputs = [
···
tevent
popt
cmocka
];
# otherwise the configure script fails with
···
, docbook_xml_dtd_42
, cmocka
, wafHook
+
, libxcrypt
}:
stdenv.mkDerivation rec {
···
libxslt
docbook-xsl-nons
docbook_xml_dtd_42
+
tdb
+
tevent
];
buildInputs = [
···
tevent
popt
cmocka
+
libxcrypt
];
# otherwise the configure script fails with
+11 -4
pkgs/development/libraries/libgnome-keyring/default.nix
···
-
{ lib, stdenv, fetchurl, glib, dbus, libgcrypt, pkg-config, intltool }:
-
stdenv.mkDerivation rec {
pname = "libgnome-keyring";
version = "2.32.0";
-
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.bz2";
sha256 = "030gka96kzqg1r19b4xrmac89hf1xj1kr5p461yvbzfxh46qqf2n";
};
···
propagatedBuildInputs = [ glib dbus libgcrypt ];
nativeBuildInputs = [ pkg-config intltool ];
meta = {
inherit (glib.meta) platforms maintainers;
homepage = "https://wiki.gnome.org/Projects/GnomeKeyring";
license = with lib.licenses; [ gpl2 lgpl2 ];
};
-
}
···
+
{ lib, stdenv, fetchurl, glib, dbus, libgcrypt, pkg-config, intltool
+
, testers
+
}:
+
stdenv.mkDerivation (finalAttrs: {
pname = "libgnome-keyring";
version = "2.32.0";
+
src = let
+
inherit (finalAttrs) pname version;
+
in fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.bz2";
sha256 = "030gka96kzqg1r19b4xrmac89hf1xj1kr5p461yvbzfxh46qqf2n";
};
···
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 ];
};
+
})
+7 -3
pkgs/development/libraries/libzip/default.nix
···
, openssl
, withZstd ? false
, zstd
}:
-
stdenv.mkDerivation rec {
pname = "libzip";
version = "1.9.2";
src = fetchurl {
-
url = "https://libzip.org/download/${pname}-${version}.tar.gz";
sha256 = "sha256-/Wp/dF3j1pz1YD7cnLM9KJDwGY5BUlXQmHoM8Q2CTG8=";
};
···
patchShebangs regress
'';
meta = with lib; {
homepage = "https://libzip.org/";
description = "A C library for reading, creating and modifying zip archives";
license = licenses.bsd3;
platforms = platforms.unix;
changelog = "https://github.com/nih-at/libzip/blob/v${version}/NEWS.md";
};
-
}
···
, openssl
, withZstd ? false
, zstd
+
, testers
}:
+
stdenv.mkDerivation (finalAttrs: {
pname = "libzip";
version = "1.9.2";
src = fetchurl {
+
url = "https://libzip.org/download/${finalAttrs.pname}-${finalAttrs.version}.tar.gz";
sha256 = "sha256-/Wp/dF3j1pz1YD7cnLM9KJDwGY5BUlXQmHoM8Q2CTG8=";
};
···
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";
};
+
})
+11 -4
pkgs/development/libraries/mesa-glu/default.nix
···
-
{ lib, stdenv, fetchurl, pkg-config, libGL, ApplicationServices }:
-
stdenv.mkDerivation rec {
pname = "glu";
version = "9.0.2";
-
src = fetchurl {
url = "https://mesa.freedesktop.org/archive/${pname}/${pname}-${version}.tar.xz";
sha256 = "sha256-bnKA/1hcah2d/N8vykiSUWNLM3e/wzwp5AAkZqONAtQ=";
};
···
++ lib.optional stdenv.isDarwin ApplicationServices;
outputs = [ "out" "dev" ];
meta = {
description = "OpenGL utility library";
homepage = "https://cgit.freedesktop.org/mesa/glu/";
license = lib.licenses.sgi-b-20;
platforms = lib.platforms.unix;
broken = stdenv.hostPlatform.isAndroid;
};
-
}
···
+
{ lib, stdenv, fetchurl, pkg-config, libGL, ApplicationServices
+
, testers
+
}:
+
stdenv.mkDerivation (finalAttrs: {
pname = "glu";
version = "9.0.2";
+
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=";
};
···
++ lib.optional stdenv.isDarwin ApplicationServices;
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;
};
+
})
+24 -2
pkgs/development/libraries/qt-5/modules/qtbase.nix
···
, debug ? false
, developerBuild ? false
, decryptSslTraffic ? false
}:
let
debugSymbols = debug || developerBuild;
in
-
stdenv.mkDerivation {
pname = "qtbase";
inherit qtCompatVersion src version;
debug = debugSymbols;
···
setupHook = ../hooks/qtbase-setup-hook.sh;
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 ];
platforms = platforms.unix;
};
-
}
···
, debug ? false
, developerBuild ? false
, decryptSslTraffic ? false
+
, testers
}:
let
debugSymbols = debug || developerBuild;
in
+
stdenv.mkDerivation (finalAttrs: {
pname = "qtbase";
inherit qtCompatVersion src version;
debug = debugSymbols;
···
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;
};
+
})
+104 -24
pkgs/development/libraries/science/math/cudnn/extension.nix
···
supportedCudaVersions = [ "10.2" ];
}
];
"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";
supportedCudaVersions = [ "10.2" ];
}
rec {
···
fullVersion = "8.1.1.33";
hash = "sha256-mKh4TpKGLyABjSDCgbMNSgzZUfk2lPZDPM9K6cUCumo=";
url = "${urlPrefix}/v${majorMinorPatch fullVersion}/cudnn-${fileVersion}-linux-x64-v${fullVersion}.tgz";
-
supportedCudaVersions = [ "11.2" ];
}
];
-
"8.3.2" = [
rec {
fileVersion = "10.2";
-
fullVersion = "8.3.2.44";
-
hash = "sha256-1vVu+cqM+PketzIQumw9ykm6REbBZhv6/lXB7EC2aaw=";
url = "${urlPrefix}/v${majorMinorPatch fullVersion}/local_installers/${fileVersion}/cudnn-linux-x86_64-${fullVersion}_cuda${fileVersion}-archive.tar.xz";
supportedCudaVersions = [ "10.2" ];
}
rec {
fileVersion = "11.5";
-
fullVersion = "8.3.2.44";
-
hash = "sha256-VQCVPAjF5dHd3P2iNPnvvdzb5DpTsm3AqCxyP6FwxFc=";
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" ];
}
];
-
"8.4.0" = [
rec {
fileVersion = "10.2";
-
fullVersion = "8.4.0.27";
-
hash = "sha256-FMXjykJYJxmW0f2VnELRfFgs5Nmv9FH4RSRGnnhP0VQ=";
url = "${urlPrefix}/v${majorMinorPatch fullVersion}/local_installers/${fileVersion}/cudnn-linux-x86_64-${fullVersion}_cuda${fileVersion}-archive.tar.xz";
supportedCudaVersions = [ "10.2" ];
}
rec {
fileVersion = "11.6";
-
fullVersion = "8.4.0.27";
-
hash = "sha256-0Zva/ZgAx50p5vb/+p+eLBDREy1sL/ELFZPgV+dN0FA=";
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" ];
}
];
···
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";
supportedCudaVersions = [ "10.2" ];
}
rec {
···
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";
supportedCudaVersions = [ "11.0" "11.1" "11.2" "11.3" "11.4" "11.5" "11.6" "11.7" ];
}
];
···
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";
supportedCudaVersions = [ "10.2" ];
}
rec {
···
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";
supportedCudaVersions = [ "11.0" "11.1" "11.2" "11.3" "11.4" "11.5" "11.6" "11.7" "11.8" ];
}
];
···
# 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";
in cuDnnPackages
···
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 {
···
fullVersion = "8.1.1.33";
hash = "sha256-mKh4TpKGLyABjSDCgbMNSgzZUfk2lPZDPM9K6cUCumo=";
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 = [ "11.0" "11.1" "11.2" ];
}
];
+
"8.2.4" = [
rec {
fileVersion = "10.2";
+
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.3.40";
+
hash = "sha256-6r6Wx1zwPqT1N5iU2RTx+K4UzqsSGYnoSwg22Sf7dzE=";
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 = [ "11.0" "11.1" "11.2" "11.3" "11.4" "11.5" "11.6" ];
}
];
+
"8.4.1" = [
rec {
fileVersion = "10.2";
+
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.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" ];
}
];
···
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 {
···
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" ];
}
];
···
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 {
···
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" ];
}
];
···
# Default attributes
cuDnnDefaultVersion = {
"10.0" = "7.4.2";
+
"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
+7
pkgs/development/libraries/tevent/default.nix
···
, docbook_xml_dtd_42
, which
, wafHook
}:
stdenv.mkDerivation rec {
···
cmocka
readline # required to build python
talloc
];
# otherwise the configure script fails with
···
"--bundled-libraries=NONE"
"--builtin-libraries=replace"
];
meta = with lib; {
description = "An event system based on the talloc memory management library";
···
, docbook_xml_dtd_42
, which
, wafHook
+
, libxcrypt
}:
stdenv.mkDerivation rec {
···
cmocka
readline # required to build python
talloc
+
libxcrypt
];
# otherwise the configure script fails with
···
"--bundled-libraries=NONE"
"--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";
+2 -2
pkgs/development/libraries/wasilibc/default.nix
···
let
pname = "wasilibc";
-
version = "17";
in
stdenv.mkDerivation {
inherit pname version;
···
owner = "WebAssembly";
repo = "wasi-libc";
rev = "refs/tags/wasi-sdk-${version}";
-
hash = "sha256-h2X78icCmnn6Y6baOxp8Xm7F2+RZZgaV2fszzi2q/iA=";
fetchSubmodules = true;
};
···
let
pname = "wasilibc";
+
version = "19";
in
stdenv.mkDerivation {
inherit pname version;
···
owner = "WebAssembly";
repo = "wasi-libc";
rev = "refs/tags/wasi-sdk-${version}";
+
hash = "sha256-yQSKoSil/C/1lIHwEO9eQKC/ye3PJIFGYjHyNDn61y4=";
fetchSubmodules = true;
};
+2 -2
pkgs/development/libraries/wlroots/default.nix
···
};
wlroots_0_16 = generic {
-
version = "0.16.1";
-
hash = "sha256-UyPN7zmytre4emwx/ztZ4JefXHwixPV6UEEqnhSLbIY=";
extraBuildInputs = [ vulkan-loader ];
extraNativeBuildInputs = [ glslang ];
extraPatch = ''
···
};
wlroots_0_16 = generic {
+
version = "0.16.2";
+
hash = "sha256-JeDDYinio14BOl6CbzAPnJDOnrk4vgGNMN++rcy2ItQ=";
extraBuildInputs = [ vulkan-loader ];
extraNativeBuildInputs = [ glslang ];
extraPatch = ''
+4
pkgs/development/lisp-modules-new/ql.nix
···
nativeBuildInputs = [ pkgs.libdevil ];
nativeLibs = [ pkgs.libdevil ];
};
cl-freetype2 = pkg: {
nativeLibs = [ freetype ];
nativeBuildInputs = [ freetype ];
···
};
classimp = pkg: {
nativeLibs = [ assimp ];
};
clsql-postgresql = pkg: {
nativeLibs = [ postgresql.lib ];
···
nativeBuildInputs = [ pkgs.libdevil ];
nativeLibs = [ pkgs.libdevil ];
};
+
cl-freeimage = pkg: {
+
nativeLibs = [ freeimage ];
+
};
cl-freetype2 = pkg: {
nativeLibs = [ freetype ];
nativeBuildInputs = [ freetype ];
···
};
classimp = pkg: {
nativeLibs = [ assimp ];
+
meta.broken = true; # Requires assimp ≤ 5.0.x.
};
clsql-postgresql = pkg: {
nativeLibs = [ postgresql.lib ];
+4 -3
pkgs/development/python-modules/acquire/default.nix
···
buildPythonPackage rec {
pname = "acquire";
-
version = "3.3";
format = "pyproject";
disabled = pythonOlder "3.7";
···
src = fetchFromGitHub {
owner = "fox-it";
repo = "acquire";
-
rev = version;
-
hash = "sha256-S7EZZxNcoLcZyyRNGlZj6nGoCAlqCxNdh3azIVKvOTM=";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;
···
meta = with lib; {
description = "Tool to quickly gather forensic artifacts from disk images or a live system";
homepage = "https://github.com/fox-it/acquire";
license = licenses.agpl3Only;
maintainers = with maintainers; [ fab ];
};
···
buildPythonPackage rec {
pname = "acquire";
+
version = "3.4";
format = "pyproject";
disabled = pythonOlder "3.7";
···
src = fetchFromGitHub {
owner = "fox-it";
repo = "acquire";
+
rev = "refs/tags/${version}";
+
hash = "sha256-VkO+XLIC/UQzvfLsgbKcx9i8OxTC6J32nkxPHWWn7m8=";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;
···
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 ];
};
+2 -2
pkgs/development/python-modules/aliyun-python-sdk-cdn/default.nix
···
buildPythonPackage rec {
pname = "aliyun-python-sdk-cdn";
-
version = "3.8.1";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
-
hash = "sha256-bcAaFwAS9xAbCLtqYtSiALHtlGklHFgGXpgiZZpR6no=";
};
propagatedBuildInputs = [
···
buildPythonPackage rec {
pname = "aliyun-python-sdk-cdn";
+
version = "3.8.2";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
+
hash = "sha256-pNWqow396BB5cC1dOhDelykjqeWFN+IKosKEDu5nB1o=";
};
propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/aliyun-python-sdk-iot/default.nix
···
buildPythonPackage rec {
pname = "aliyun-python-sdk-iot";
-
version = "8.49.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
-
hash = "sha256-POrDx4xXCIOBU4hvXu03XcZI2F6xHsjHNJRBaGFC8U8=";
};
propagatedBuildInputs = [
···
buildPythonPackage rec {
pname = "aliyun-python-sdk-iot";
+
version = "8.50.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
+
hash = "sha256-tFI6iPvKWp69PKvkBrMQrkMZD03VHhLIIDy0VI5XLEA=";
};
propagatedBuildInputs = [
-1
pkgs/development/python-modules/blis/default.nix
···
homepage = "https://github.com/explosion/cython-blis";
license = licenses.bsd3;
maintainers = with maintainers; [ ];
-
platforms = platforms.x86_64;
};
}
···
homepage = "https://github.com/explosion/cython-blis";
license = licenses.bsd3;
maintainers = with maintainers; [ ];
};
}
+2 -2
pkgs/development/python-modules/boschshcpy/default.nix
···
buildPythonPackage rec {
pname = "boschshcpy";
-
version = "0.2.53";
format = "setuptools";
disabled = pythonOlder "3.7";
···
owner = "tschamm";
repo = pname;
rev = version;
-
sha256 = "sha256-V7FNuVXKJqIOsDqwg6Bn2Vb9QnuQ1XYzE4m0x2ipXW8=";
};
propagatedBuildInputs = [
···
buildPythonPackage rec {
pname = "boschshcpy";
+
version = "0.2.54";
format = "setuptools";
disabled = pythonOlder "3.7";
···
owner = "tschamm";
repo = pname;
rev = version;
+
sha256 = "sha256-1MoC69klHIHMmvQSS8bnuEQGm6IloyzR0RcROIx0GNI=";
};
propagatedBuildInputs = [
+25 -1
pkgs/development/python-modules/buildbot/plugins.nix
···
-
{ lib, buildPythonPackage, fetchPypi, buildbot-pkg, mock }:
{
www = buildPythonPackage rec {
···
license = licenses.gpl2;
};
};
}
···
+
{ lib, buildPythonPackage, fetchPypi, buildbot-pkg, mock, cairosvg, klein, jinja2 }:
{
www = buildPythonPackage rec {
···
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;
+
};
+
};
+
}
+4 -3
pkgs/development/python-modules/dissect-cim/default.nix
···
buildPythonPackage rec {
pname = "dissect-cim";
-
version = "3.3";
format = "pyproject";
disabled = pythonOlder "3.7";
···
src = fetchFromGitHub {
owner = "fox-it";
repo = "dissect.cim";
-
rev = version;
-
hash = "sha256-d02P6RXIiriOujGns9mOkyiJLNQFNTTW61kInzS17Y4=";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;
···
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";
license = licenses.agpl3Only;
maintainers = with maintainers; [ fab ];
};
···
buildPythonPackage rec {
pname = "dissect-cim";
+
version = "3.4";
format = "pyproject";
disabled = pythonOlder "3.7";
···
src = fetchFromGitHub {
owner = "fox-it";
repo = "dissect.cim";
+
rev = "refs/tags/${version}";
+
hash = "sha256-RlkTsAvX+9c69JBy+DZbcCfAvcCnWDisgdQQMBkphtg=";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;
···
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 ];
};
+4 -3
pkgs/development/python-modules/dissect-clfs/default.nix
···
buildPythonPackage rec {
pname = "dissect-clfs";
-
version = "1.2";
format = "pyproject";
disabled = pythonOlder "3.7";
···
src = fetchFromGitHub {
owner = "fox-it";
repo = "dissect.clfs";
-
rev = version;
-
hash = "sha256-1nh81ppJpYre3y7hJ9xS+TNU1NfTH+9NMHdV55kPEXI=";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;
···
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";
license = licenses.agpl3Only;
maintainers = with maintainers; [ fab ];
};
···
buildPythonPackage rec {
pname = "dissect-clfs";
+
version = "1.3";
format = "pyproject";
disabled = pythonOlder "3.7";
···
src = fetchFromGitHub {
owner = "fox-it";
repo = "dissect.clfs";
+
rev = "refs/tags/${version}";
+
hash = "sha256-QzEcJvujkNVUXtqu7yY7sJ/U55jzGBbUHxOVDxg4vac=";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;
···
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 ];
};
+4 -3
pkgs/development/python-modules/dissect-cstruct/default.nix
···
buildPythonPackage rec {
pname = "dissect-cstruct";
-
version = "3.3";
format = "pyproject";
disabled = pythonOlder "3.7";
···
src = fetchFromGitHub {
owner = "fox-it";
repo = "dissect.cstruct";
-
rev = version;
-
hash = "sha256-8OxAsrECgsQf8+EaZtJ3XNhwdhBI08o3r+xhD/D1NhQ=";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;
···
meta = with lib; {
description = "Dissect module implementing a parser for C-like structures";
homepage = "https://github.com/fox-it/dissect.cstruct";
license = licenses.agpl3Only;
maintainers = with maintainers; [ fab ];
};
···
buildPythonPackage rec {
pname = "dissect-cstruct";
+
version = "3.5";
format = "pyproject";
disabled = pythonOlder "3.7";
···
src = fetchFromGitHub {
owner = "fox-it";
repo = "dissect.cstruct";
+
rev = "refs/tags/${version}";
+
hash = "sha256-tEWqw3ySF1ebOMztZwAlkTiY0mFCzTM58wD0XDfljFA=";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;
···
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 ];
};
+4 -3
pkgs/development/python-modules/dissect-esedb/default.nix
···
buildPythonPackage rec {
pname = "dissect-esedb";
-
version = "3.3";
format = "pyproject";
disabled = pythonOlder "3.7";
···
src = fetchFromGitHub {
owner = "fox-it";
repo = "dissect.esedb";
-
rev = version;
-
hash = "sha256-ErPihjAcukMerCAxLdDQVUApeNdFnFn0Zejo3LhgZFc=";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;
···
meta = with lib; {
description = "Dissect module implementing a parser for Microsofts Extensible Storage Engine Database (ESEDB)";
homepage = "https://github.com/fox-it/dissect.esedb";
license = licenses.agpl3Only;
maintainers = with maintainers; [ fab ];
};
···
buildPythonPackage rec {
pname = "dissect-esedb";
+
version = "3.5";
format = "pyproject";
disabled = pythonOlder "3.7";
···
src = fetchFromGitHub {
owner = "fox-it";
repo = "dissect.esedb";
+
rev = "refs/tags/${version}";
+
hash = "sha256-wTzr9b95jhPbZVWM/C9T1OSBLK39sCIjbsNK/6Z83JE=";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;
···
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 ];
};
+4 -3
pkgs/development/python-modules/dissect-etl/default.nix
···
buildPythonPackage rec {
pname = "dissect-etl";
-
version = "3.2";
format = "pyproject";
disabled = pythonOlder "3.7";
···
src = fetchFromGitHub {
owner = "fox-it";
repo = "dissect.etl";
-
rev = version;
-
hash = "sha256-s3Ls8tuqp/COBF+WV9RRyfo7FAqPcXmBZ08gHZMPzOU=";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;
···
meta = with lib; {
description = "Dissect module implementing a parser for Event Trace Log (ETL) files";
homepage = "https://github.com/fox-it/dissect.etl";
license = licenses.agpl3Only;
maintainers = with maintainers; [ fab ];
};
···
buildPythonPackage rec {
pname = "dissect-etl";
+
version = "3.3";
format = "pyproject";
disabled = pythonOlder "3.7";
···
src = fetchFromGitHub {
owner = "fox-it";
repo = "dissect.etl";
+
rev = "refs/tags/${version}";
+
hash = "sha256-rEYWTMBzMyaADqT1Pp5z1J2Uf/t/GeX/FAnZVnaycYs=";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;
···
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 ];
};
+4 -3
pkgs/development/python-modules/dissect-eventlog/default.nix
···
buildPythonPackage rec {
pname = "dissect-eventlog";
-
version = "3.2";
format = "pyproject";
disabled = pythonOlder "3.7";
···
src = fetchFromGitHub {
owner = "fox-it";
repo = "dissect.eventlog";
-
rev = version;
-
hash = "sha256-emNGZs/5LWD29xE5BmXQKQfkZApLZlGs6KNIqobaKvM=";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;
···
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";
license = licenses.agpl3Only;
maintainers = with maintainers; [ fab ];
};
···
buildPythonPackage rec {
pname = "dissect-eventlog";
+
version = "3.3";
format = "pyproject";
disabled = pythonOlder "3.7";
···
src = fetchFromGitHub {
owner = "fox-it";
repo = "dissect.eventlog";
+
rev = "refs/tags/${version}";
+
hash = "sha256-PbU9Rd0D+xdleTIMAV+esw1WynWU4++8KeXlHS9yiJs=";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;
···
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 ];
};
+4 -3
pkgs/development/python-modules/dissect-evidence/default.nix
···
buildPythonPackage rec {
pname = "dissect-evidence";
-
version = "3.2";
format = "pyproject";
disabled = pythonOlder "3.7";
···
src = fetchFromGitHub {
owner = "fox-it";
repo = "dissect.evidence";
-
rev = version;
-
hash = "sha256-rm9IjsXHz4GS8M/oPaDoaxjwqMMtD0qjRtQ3vFJQyQY=";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;
···
meta = with lib; {
description = "Dissect module implementing a parsers for various forensic evidence file containers";
homepage = "https://github.com/fox-it/dissect.evidence";
license = licenses.agpl3Only;
maintainers = with maintainers; [ fab ];
};
···
buildPythonPackage rec {
pname = "dissect-evidence";
+
version = "3.3";
format = "pyproject";
disabled = pythonOlder "3.7";
···
src = fetchFromGitHub {
owner = "fox-it";
repo = "dissect.evidence";
+
rev = "refs/tags/${version}";
+
hash = "sha256-R4ua7JeT09GkoBwM2YGf2T0PJXhldUpqAS3xsB9L79c=";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;
···
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 ];
};
+48
pkgs/development/python-modules/dissect-executable/default.nix
···
···
+
{ 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 ];
+
};
+
}
+4 -3
pkgs/development/python-modules/dissect-extfs/default.nix
···
buildPythonPackage rec {
pname = "dissect-extfs";
-
version = "3.2";
format = "pyproject";
disabled = pythonOlder "3.7";
···
src = fetchFromGitHub {
owner = "fox-it";
repo = "dissect.extfs";
-
rev = version;
-
hash = "sha256-KGqmguKwCSQw2USKuWFMQCz+D8XMv5W12eJfUxgz324=";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;
···
meta = with lib; {
description = "Dissect module implementing a parser for the ExtFS file system";
homepage = "https://github.com/fox-it/dissect.extfs";
license = licenses.agpl3Only;
maintainers = with maintainers; [ fab ];
};
···
buildPythonPackage rec {
pname = "dissect-extfs";
+
version = "3.3";
format = "pyproject";
disabled = pythonOlder "3.7";
···
src = fetchFromGitHub {
owner = "fox-it";
repo = "dissect.extfs";
+
rev = "refs/tags/${version}";
+
hash = "sha256-VCPNY/4SUkFpLuSs2Cxu8u5qt2sQ9VGlfdPssybxhk8=";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;
···
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 ];
};
+4 -3
pkgs/development/python-modules/dissect-fat/default.nix
···
buildPythonPackage rec {
pname = "dissect-fat";
-
version = "3.2";
format = "pyproject";
disabled = pythonOlder "3.7";
···
src = fetchFromGitHub {
owner = "fox-it";
repo = "dissect.fat";
-
rev = version;
-
hash = "sha256-kqdVgUkvW9I5CI4T9b7VeX6hPm3Ufwrdnhmo1jR5Fdg=";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;
···
meta = with lib; {
description = "Dissect module implementing a parser for the FAT file system";
homepage = "https://github.com/fox-it/dissect.fat";
license = licenses.agpl3Only;
maintainers = with maintainers; [ fab ];
};
···
buildPythonPackage rec {
pname = "dissect-fat";
+
version = "3.3";
format = "pyproject";
disabled = pythonOlder "3.7";
···
src = fetchFromGitHub {
owner = "fox-it";
repo = "dissect.fat";
+
rev = "refs/tags/${version}";
+
hash = "sha256-v4GjI6DdDfxO3kGZ7Z5C6mkdRj9axsT9mvlSOQyiMBw=";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;
···
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 ];
};
+4 -3
pkgs/development/python-modules/dissect-ffs/default.nix
···
buildPythonPackage rec {
pname = "dissect-ffs";
-
version = "3.2";
format = "pyproject";
disabled = pythonOlder "3.7";
···
src = fetchFromGitHub {
owner = "fox-it";
repo = "dissect.ffs";
-
rev = version;
-
hash = "sha256-kcYSoY3a8ljY9LWzOUekLBzokE+wJrG1KEr0p5CCj0U=";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;
···
meta = with lib; {
description = "Dissect module implementing a parser for the FFS file system";
homepage = "https://github.com/fox-it/dissect.ffs";
license = licenses.agpl3Only;
maintainers = with maintainers; [ fab ];
};
···
buildPythonPackage rec {
pname = "dissect-ffs";
+
version = "3.3";
format = "pyproject";
disabled = pythonOlder "3.7";
···
src = fetchFromGitHub {
owner = "fox-it";
repo = "dissect.ffs";
+
rev = "refs/tags/${version}";
+
hash = "sha256-nGxojXslFVcqU+9StBOacmCyoZJJB4B4OIvql/cbcZE=";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;
···
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 ];
};
+4 -3
pkgs/development/python-modules/dissect-hypervisor/default.nix
···
buildPythonPackage rec {
pname = "dissect-hypervisor";
-
version = "3.3";
format = "pyproject";
disabled = pythonOlder "3.7";
···
src = fetchFromGitHub {
owner = "fox-it";
repo = "dissect.hypervisor";
-
rev = version;
-
hash = "sha256-Q7lbFr+gc6inQEJT54DXjpyyis5GxrKQHI5qqa1INKo=";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;
···
meta = with lib; {
description = "Dissect module implementing parsers for various hypervisor disk, backup and configuration files";
homepage = "https://github.com/fox-it/dissect.hypervisor";
license = licenses.agpl3Only;
maintainers = with maintainers; [ fab ];
};
···
buildPythonPackage rec {
pname = "dissect-hypervisor";
+
version = "3.5";
format = "pyproject";
disabled = pythonOlder "3.7";
···
src = fetchFromGitHub {
owner = "fox-it";
repo = "dissect.hypervisor";
+
rev = "refs/tags/${version}";
+
hash = "sha256-dWaU3v2QcoqVIygeufy0ZYVliBE1tijV3qEsvCOIarM=";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;
···
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 ];
};
+4 -3
pkgs/development/python-modules/dissect-ntfs/default.nix
···
buildPythonPackage rec {
pname = "dissect-ntfs";
-
version = "3.2";
format = "pyproject";
disabled = pythonOlder "3.7";
···
src = fetchFromGitHub {
owner = "fox-it";
repo = "dissect.ntfs";
-
rev = version;
-
hash = "sha256-4QEsWTdqlHIP1a9g45+zv1SdHY0Ofsr7Rf1z+ctssSw=";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;
···
meta = with lib; {
description = "Dissect module implementing a parser for the NTFS file system";
homepage = "https://github.com/fox-it/dissect.ntfs";
license = licenses.agpl3Only;
maintainers = with maintainers; [ fab ];
};
···
buildPythonPackage rec {
pname = "dissect-ntfs";
+
version = "3.3";
format = "pyproject";
disabled = pythonOlder "3.7";
···
src = fetchFromGitHub {
owner = "fox-it";
repo = "dissect.ntfs";
+
rev = "refs/tags/${version}";
+
hash = "sha256-xhtAN0QaLLbQk/aAd9PlEkyW39w33iPaQtGzbouI6hc=";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;
···
meta = with lib; {
description = "Dissect module implementing a parser for the NTFS file system";
homepage = "https://github.com/fox-it/dissect.ntfs";
+
changelog = "https://github.com/fox-it/dissect.ntfs/releases/tag/${version}";
license = licenses.agpl3Only;
maintainers = with maintainers; [ fab ];
};
+4 -3
pkgs/development/python-modules/dissect-ole/default.nix
···
buildPythonPackage rec {
pname = "dissect-ole";
-
version = "3.2";
format = "pyproject";
disabled = pythonOlder "3.7";
···
src = fetchFromGitHub {
owner = "fox-it";
repo = "dissect.ole";
-
rev = version;
-
hash = "sha256-0bIlnRFKBvSXnBIU4+1V7WzyXCvulUpNSXG1Rj2k4jY=";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;
···
meta = with lib; {
description = "Dissect module implementing a parser for the Object Linking & Embedding (OLE) format";
homepage = "https://github.com/fox-it/dissect.ole";
license = licenses.agpl3Only;
maintainers = with maintainers; [ fab ];
};
···
buildPythonPackage rec {
pname = "dissect-ole";
+
version = "3.3";
format = "pyproject";
disabled = pythonOlder "3.7";
···
src = fetchFromGitHub {
owner = "fox-it";
repo = "dissect.ole";
+
rev = "refs/tags/${version}";
+
hash = "sha256-m2+AcKp8rH+VQIdT85oKoA8QoyNQOmrZ2DvBELZnEqM=";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;
···
meta = with lib; {
description = "Dissect module implementing a parser for the Object Linking & Embedding (OLE) format";
homepage = "https://github.com/fox-it/dissect.ole";
+
changelog = "https://github.com/fox-it/dissect.ole/releases/tag/${version}";
license = licenses.agpl3Only;
maintainers = with maintainers; [ fab ];
};
+4 -3
pkgs/development/python-modules/dissect-regf/default.nix
···
buildPythonPackage rec {
pname = "dissect-regf";
-
version = "3.2";
format = "pyproject";
disabled = pythonOlder "3.7";
···
src = fetchFromGitHub {
owner = "fox-it";
repo = "dissect.regf";
-
rev = version;
-
hash = "sha256-hSMdgGkSmFDAiO6C1xTJDmKClHwrGc887wqO3/5NZn4=";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;
···
meta = with lib; {
description = "Dissect module implementing a parser for Windows registry file format";
homepage = "https://github.com/fox-it/dissect.regf";
license = licenses.agpl3Only;
maintainers = with maintainers; [ fab ];
};
···
buildPythonPackage rec {
pname = "dissect-regf";
+
version = "3.3";
format = "pyproject";
disabled = pythonOlder "3.7";
···
src = fetchFromGitHub {
owner = "fox-it";
repo = "dissect.regf";
+
rev = "refs/tags/${version}";
+
hash = "sha256-3QJ1N9LukvEa74rndN/Sj6Vq10YJVBsOGdlMzR9TrKA=";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;
···
meta = with lib; {
description = "Dissect module implementing a parser for Windows registry file format";
homepage = "https://github.com/fox-it/dissect.regf";
+
changelog = "https://github.com/fox-it/dissect.regf/releases/tag/${version}";
license = licenses.agpl3Only;
maintainers = with maintainers; [ fab ];
};
+4 -3
pkgs/development/python-modules/dissect-shellitem/default.nix
···
buildPythonPackage rec {
pname = "dissect-shellitem";
-
version = "3.2";
format = "pyproject";
disabled = pythonOlder "3.7";
···
src = fetchFromGitHub {
owner = "fox-it";
repo = "dissect.shellitem";
-
rev = version;
-
hash = "sha256-z0/KSOgo5Gnl4MLOY5eUPHlI/8dCyYaEEiKMmkP7cgg=";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;
···
meta = with lib; {
description = "Dissect module implementing a parser for the Shellitem structures";
homepage = "https://github.com/fox-it/dissect.shellitem";
license = licenses.agpl3Only;
maintainers = with maintainers; [ fab ];
};
···
buildPythonPackage rec {
pname = "dissect-shellitem";
+
version = "3.3";
format = "pyproject";
disabled = pythonOlder "3.7";
···
src = fetchFromGitHub {
owner = "fox-it";
repo = "dissect.shellitem";
+
rev = "refs/tags/${version}";
+
hash = "sha256-flTv2Y+UwMTQnvqRS/pZRPkTsIjvCAp7B4rKAQPOJL4=";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;
···
meta = with lib; {
description = "Dissect module implementing a parser for the Shellitem structures";
homepage = "https://github.com/fox-it/dissect.shellitem";
+
changelog = "https://github.com/fox-it/dissect.shellitem/releases/tag/${version}";
license = licenses.agpl3Only;
maintainers = with maintainers; [ fab ];
};
+4 -3
pkgs/development/python-modules/dissect-sql/default.nix
···
buildPythonPackage rec {
pname = "dissect-sql";
-
version = "3.2";
format = "pyproject";
disabled = pythonOlder "3.7";
···
src = fetchFromGitHub {
owner = "fox-it";
repo = "dissect.sql";
-
rev = version;
-
hash = "sha256-yw0EUxlgm7/3FpecGGvxkukudyFMv0fmPbOLJqc2tC0=";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;
···
meta = with lib; {
description = "Dissect module implementing a parsers for the SQLite database file format";
homepage = "https://github.com/fox-it/dissect.sql";
license = licenses.agpl3Only;
maintainers = with maintainers; [ fab ];
};
···
buildPythonPackage rec {
pname = "dissect-sql";
+
version = "3.3";
format = "pyproject";
disabled = pythonOlder "3.7";
···
src = fetchFromGitHub {
owner = "fox-it";
repo = "dissect.sql";
+
rev = "refs/tags/${version}";
+
hash = "sha256-sIXFEckHFr9H4oGFw8uuC+c54PR8ZbQxJKb5x5EixxQ=";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;
···
meta = with lib; {
description = "Dissect module implementing a parsers for the SQLite database file format";
homepage = "https://github.com/fox-it/dissect.sql";
+
changelog = "https://github.com/fox-it/dissect.sql/releases/tag/${version}";
license = licenses.agpl3Only;
maintainers = with maintainers; [ fab ];
};
+59
pkgs/development/python-modules/dissect-squashfs/default.nix
···
···
+
{ lib
+
, buildPythonPackage
+
, dissect-cstruct
+
, dissect-util
+
, fetchFromGitHub
+
, lz4
+
, python-lzo
+
, pythonOlder
+
, setuptools
+
, setuptools-scm
+
, zstandard
+
}:
+
+
buildPythonPackage rec {
+
pname = "dissect-squashfs";
+
version = "1.0";
+
format = "pyproject";
+
+
disabled = pythonOlder "3.7";
+
+
src = fetchFromGitHub {
+
owner = "fox-it";
+
repo = "dissect.squashfs";
+
rev = "refs/tags/${version}";
+
hash = "sha256-bDR6GAgl1dOhZ3fWA7E27KS6pj9AXInNxwmwNXXV3lc=";
+
};
+
+
SETUPTOOLS_SCM_PRETEND_VERSION = version;
+
+
nativeBuildInputs = [
+
setuptools
+
setuptools-scm
+
];
+
+
propagatedBuildInputs = [
+
dissect-cstruct
+
dissect-util
+
];
+
+
passthru.optional-dependencies = {
+
full = [
+
lz4
+
python-lzo
+
zstandard
+
];
+
};
+
+
pythonImportsCheck = [
+
"dissect.squashfs"
+
];
+
+
meta = with lib; {
+
description = "Dissect module implementing a parser for the SquashFS file system";
+
homepage = "https://github.com/fox-it/dissect.squashfs";
+
changelog = "https://github.com/fox-it/dissect.squashfs/releases/tag/${version}";
+
license = licenses.agpl3Only;
+
maintainers = with maintainers; [ fab ];
+
};
+
}
+9 -4
pkgs/development/python-modules/dissect-target/default.nix
···
, flow-record
, fusepy
, ipython
, pytestCheckHook
, pythonOlder
, pyyaml
···
buildPythonPackage rec {
pname = "dissect-target";
-
version = "3.4";
format = "pyproject";
disabled = pythonOlder "3.7";
···
src = fetchFromGitHub {
owner = "fox-it";
repo = "dissect.target";
-
rev = version;
-
hash = "sha256-QwEznweETwDTuTctOnq0n27JYXC9BO5l6BYpXsMRVq4=";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;
···
];
propagatedBuildInputs = [
dissect-cstruct
dissect-eventlog
dissect-evidence
···
passthru.optional-dependencies = {
full = [
asn1crypto
-
defusedxml
dissect-cim
dissect-clfs
dissect-esedb
···
dissect-xfs
fusepy
ipython
pyyaml
yara-python
zstandard
···
disabledTests = [
# Test requires rdump
"test_exec_target_command"
];
meta = with lib; {
description = "Dissect module that provides a programming API and command line tools";
homepage = "https://github.com/fox-it/dissect.target";
license = licenses.agpl3Only;
maintainers = with maintainers; [ fab ];
};
···
, flow-record
, fusepy
, ipython
+
, pycryptodome
, pytestCheckHook
, pythonOlder
, pyyaml
···
buildPythonPackage rec {
pname = "dissect-target";
+
version = "3.7";
format = "pyproject";
disabled = pythonOlder "3.7";
···
src = fetchFromGitHub {
owner = "fox-it";
repo = "dissect.target";
+
rev = "refs/tags/${version}";
+
hash = "sha256-jFQ8BxCC4PW135igfXA5EmlWYIZ0zF12suiUMiLbArA=";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;
···
];
propagatedBuildInputs = [
+
defusedxml
dissect-cstruct
dissect-eventlog
dissect-evidence
···
passthru.optional-dependencies = {
full = [
asn1crypto
dissect-cim
dissect-clfs
dissect-esedb
···
dissect-xfs
fusepy
ipython
+
pycryptodome
pyyaml
yara-python
zstandard
···
disabledTests = [
# Test requires rdump
"test_exec_target_command"
+
# Issue with tar file
+
"test_tar_sensitive_drive_letter"
];
meta = with lib; {
description = "Dissect module that provides a programming API and command line tools";
homepage = "https://github.com/fox-it/dissect.target";
+
changelog = "https://github.com/fox-it/dissect.target/releases/tag/${version}";
license = licenses.agpl3Only;
maintainers = with maintainers; [ fab ];
};
+4 -3
pkgs/development/python-modules/dissect-thumbcache/default.nix
···
buildPythonPackage rec {
pname = "dissect-thumbcache";
-
version = "1.1";
format = "pyproject";
disabled = pythonOlder "3.7";
···
src = fetchFromGitHub {
owner = "fox-it";
repo = "dissect.thumbcache";
-
rev = version;
-
hash = "sha256-4yUVJwIQniE9AAtAgzHczOZfyWZly86JKc0Qh3byYf4=";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;
···
meta = with lib; {
description = "Dissect module implementing a parser for the Windows thumbcache";
homepage = "https://github.com/fox-it/dissect.thumbcache";
license = licenses.agpl3Only;
maintainers = with maintainers; [ fab ];
};
···
buildPythonPackage rec {
pname = "dissect-thumbcache";
+
version = "1.2";
format = "pyproject";
disabled = pythonOlder "3.7";
···
src = fetchFromGitHub {
owner = "fox-it";
repo = "dissect.thumbcache";
+
rev = "refs/tags/${version}";
+
hash = "sha256-lTtTZQgEvgaVoNPnVeRGO/BQU/8RfQ2ktljSBflhlOw=";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;
···
meta = with lib; {
description = "Dissect module implementing a parser for the Windows thumbcache";
homepage = "https://github.com/fox-it/dissect.thumbcache";
+
changelog = "https://github.com/fox-it/dissect.thumbcache/releases/tag/${version}";
license = licenses.agpl3Only;
maintainers = with maintainers; [ fab ];
};
+4 -3
pkgs/development/python-modules/dissect-util/default.nix
···
buildPythonPackage rec {
pname = "dissect-util";
-
version = "3.3";
format = "pyproject";
disabled = pythonOlder "3.7";
···
src = fetchFromGitHub {
owner = "fox-it";
repo = "dissect.util";
-
rev = version;
-
hash = "sha256-HGlWyRjvXu1d0n1PPkMyl8NNRRhsjMzXZJMS1MjdTWQ=";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;
···
meta = with lib; {
description = "Dissect module implementing various utility functions for the other Dissect modules";
homepage = "https://github.com/fox-it/dissect.util";
license = licenses.agpl3Only;
maintainers = with maintainers; [ fab ];
};
···
buildPythonPackage rec {
pname = "dissect-util";
+
version = "3.6";
format = "pyproject";
disabled = pythonOlder "3.7";
···
src = fetchFromGitHub {
owner = "fox-it";
repo = "dissect.util";
+
rev = "refs/tags/${version}";
+
hash = "sha256-hijwu2QT9xJZ1F0wz5NO0mAVe/VA3JcPmoEYQiQRLtM=";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;
···
meta = with lib; {
description = "Dissect module implementing various utility functions for the other Dissect modules";
homepage = "https://github.com/fox-it/dissect.util";
+
changelog = "https://github.com/fox-it/dissect.util/releases/tag/${version}";
license = licenses.agpl3Only;
maintainers = with maintainers; [ fab ];
};
+4 -3
pkgs/development/python-modules/dissect-vmfs/default.nix
···
buildPythonPackage rec {
pname = "dissect-vmfs";
-
version = "3.2";
format = "pyproject";
disabled = pythonOlder "3.7";
···
src = fetchFromGitHub {
owner = "fox-it";
repo = "dissect.vmfs";
-
rev = version;
-
hash = "sha256-6ZNybNRL97Zz6O32r4X0K3/+vZF3Qid98rj2pgGWgvI=";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;
···
meta = with lib; {
description = "Dissect module implementing a parser for the VMFS file system";
homepage = "https://github.com/fox-it/dissect.vmfs";
license = licenses.agpl3Only;
maintainers = with maintainers; [ fab ];
};
···
buildPythonPackage rec {
pname = "dissect-vmfs";
+
version = "3.3";
format = "pyproject";
disabled = pythonOlder "3.7";
···
src = fetchFromGitHub {
owner = "fox-it";
repo = "dissect.vmfs";
+
rev = "refs/tags/${version}";
+
hash = "sha256-9+1geOJ+vzy6+eGibX+BUHbtzyLhq3MPBsad98ykn3I=";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;
···
meta = with lib; {
description = "Dissect module implementing a parser for the VMFS file system";
homepage = "https://github.com/fox-it/dissect.vmfs";
+
changelog = "https://github.com/fox-it/dissect.vmfs/releases/tag/${version}";
license = licenses.agpl3Only;
maintainers = with maintainers; [ fab ];
};
+4 -3
pkgs/development/python-modules/dissect-volume/default.nix
···
buildPythonPackage rec {
pname = "dissect-volume";
-
version = "3.2";
format = "pyproject";
disabled = pythonOlder "3.7";
···
src = fetchFromGitHub {
owner = "fox-it";
repo = "dissect.volume";
-
rev = version;
-
hash = "sha256-NwY4J1FSCvNIoH9uUHJVlM3jJt6A9CZ7uCWhlIdYztM=";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;
···
meta = with lib; {
description = "Dissect module implementing various utility functions for the other Dissect modules";
homepage = "https://github.com/fox-it/dissect.volume";
license = licenses.agpl3Only;
maintainers = with maintainers; [ fab ];
};
···
buildPythonPackage rec {
pname = "dissect-volume";
+
version = "3.3";
format = "pyproject";
disabled = pythonOlder "3.7";
···
src = fetchFromGitHub {
owner = "fox-it";
repo = "dissect.volume";
+
rev = "refs/tags/${version}";
+
hash = "sha256-5O2ywPJi9M7gvcreS7DrW2qJ32MoR3Qero7jJ5gv0ow=";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;
···
meta = with lib; {
description = "Dissect module implementing various utility functions for the other Dissect modules";
homepage = "https://github.com/fox-it/dissect.volume";
+
changelog = "https://github.com/fox-it/dissect.volume/releases/tag/${version}";
license = licenses.agpl3Only;
maintainers = with maintainers; [ fab ];
};
+4 -3
pkgs/development/python-modules/dissect-xfs/default.nix
···
buildPythonPackage rec {
pname = "dissect-xfs";
-
version = "3.2";
format = "pyproject";
disabled = pythonOlder "3.7";
···
src = fetchFromGitHub {
owner = "fox-it";
repo = "dissect.xfs";
-
rev = version;
-
hash = "sha256-S05Y+Oe1q4DcTR9al2K82Q41EP0FnDGUp1gfzYiS/Yk=";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;
···
meta = with lib; {
description = "Dissect module implementing a parser for the XFS file system";
homepage = "https://github.com/fox-it/dissect.xfs";
license = licenses.agpl3Only;
maintainers = with maintainers; [ fab ];
};
···
buildPythonPackage rec {
pname = "dissect-xfs";
+
version = "3.3";
format = "pyproject";
disabled = pythonOlder "3.7";
···
src = fetchFromGitHub {
owner = "fox-it";
repo = "dissect.xfs";
+
rev = "refs/tags/${version}";
+
hash = "sha256-OasoZ+HGvW8PPWDBvKdrfiE3FqnXPx0xjBVFWLBYHwQ=";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;
···
meta = with lib; {
description = "Dissect module implementing a parser for the XFS file system";
homepage = "https://github.com/fox-it/dissect.xfs";
+
changelog = "https://github.com/fox-it/dissect.xfs/releases/tag/${version}";
license = licenses.agpl3Only;
maintainers = with maintainers; [ fab ];
};
+8 -3
pkgs/development/python-modules/dissect/default.nix
···
, dissect-extfs
, dissect-fat
, dissect-ffs
, dissect-hypervisor
, dissect-ntfs
, dissect-ole
, dissect-regf
, dissect-shellitem
, dissect-sql
, dissect-target
, dissect-util
, dissect-vmfs
···
buildPythonPackage rec {
pname = "dissect";
-
version = "3.3";
format = "pyproject";
disabled = pythonOlder "3.7";
···
src = fetchFromGitHub {
owner = "fox-it";
repo = "dissect";
-
rev = version;
-
hash = "sha256-1m5reKmPFSqMW/wYdiMw95l8A9E5FS8RHLb8/i1rQKY=";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;
···
dissect-etl
dissect-eventlog
dissect-evidence
dissect-extfs
dissect-fat
dissect-ffs
···
dissect-regf
dissect-shellitem
dissect-sql
dissect-target
dissect-util
dissect-vmfs
···
meta = with lib; {
description = "Dissect meta module";
homepage = "https://github.com/fox-it/dissect";
license = licenses.agpl3Only;
maintainers = with maintainers; [ fab ];
};
···
, dissect-extfs
, dissect-fat
, dissect-ffs
+
, dissect-executable
, dissect-hypervisor
, dissect-ntfs
, dissect-ole
, dissect-regf
, dissect-shellitem
, dissect-sql
+
, dissect-squashfs
, dissect-target
, dissect-util
, dissect-vmfs
···
buildPythonPackage rec {
pname = "dissect";
+
version = "3.4";
format = "pyproject";
disabled = pythonOlder "3.7";
···
src = fetchFromGitHub {
owner = "fox-it";
repo = "dissect";
+
rev = "refs/tags/${version}";
+
hash = "sha256-+t6v553lP9NEimNlp48NQ+6dpIOrgfZ1FU3LNJF44YY=";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;
···
dissect-etl
dissect-eventlog
dissect-evidence
+
dissect-executable
dissect-extfs
dissect-fat
dissect-ffs
···
dissect-regf
dissect-shellitem
dissect-sql
+
dissect-squashfs
dissect-target
dissect-util
dissect-vmfs
···
meta = with lib; {
description = "Dissect meta module";
homepage = "https://github.com/fox-it/dissect";
+
changelog = "https://github.com/fox-it/dissect/releases/tag/${version}";
license = licenses.agpl3Only;
maintainers = with maintainers; [ fab ];
};
+2 -2
pkgs/development/python-modules/django-webpack-loader/default.nix
···
buildPythonPackage rec {
pname = "django-webpack-loader";
-
version = "1.8.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
-
hash = "sha256-puZ5gF6WB7Bz7lJwLZtCa6waVGCdlmExqkNMeGAqwFA=";
};
propagatedBuildInputs = [
···
buildPythonPackage rec {
pname = "django-webpack-loader";
+
version = "1.8.1";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
+
hash = "sha256-BzvtoY4pKfpc2DuvvKr5deWUXoShe/qBkny2yfWhe5Q=";
};
propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/djangorestframework-camel-case/default.nix
···
buildPythonPackage rec {
pname = "djangorestframework-camel-case";
-
version = "1.3.0";
src = fetchPypi {
inherit pname version;
-
sha256 = "sha256-31kTYv+kSMjwo1TFauilP7eruxXiIpUdDG9feBYzkH4=";
};
propagatedBuildInputs = [
···
buildPythonPackage rec {
pname = "djangorestframework-camel-case";
+
version = "1.4.0";
src = fetchPypi {
inherit pname version;
+
sha256 = "sha256-SNkv1llh/2uzIKAMkmqnpab3sCeNCP0cXpYFSycIF58=";
};
propagatedBuildInputs = [
+5 -4
pkgs/development/python-modules/flow-record/default.nix
···
buildPythonPackage rec {
pname = "flow-record";
-
version = "3.7";
format = "pyproject";
-
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "fox-it";
repo = "flow.record";
-
rev = version;
-
hash = "sha256-bXI7q+unlrXvagKisAO4INfzeXlC4g918xmPmwMDCK8=";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;
···
meta = with lib; {
description = "Library for defining and creating structured data";
homepage = "https://github.com/fox-it/flow.record";
license = licenses.agpl3Only;
maintainers = with maintainers; [ fab ];
};
···
buildPythonPackage rec {
pname = "flow-record";
+
version = "3.9";
format = "pyproject";
+
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "fox-it";
repo = "flow.record";
+
rev = "refs/tags/${version}";
+
hash = "sha256-hvd5I1n3lOuP9sUtVO69yGCVOVEWYKKfFf7OjAJCXIg=";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;
···
meta = with lib; {
description = "Library for defining and creating structured data";
homepage = "https://github.com/fox-it/flow.record";
+
changelog = "https://github.com/fox-it/flow.record/releases/tag/${version}";
license = licenses.agpl3Only;
maintainers = with maintainers; [ fab ];
};
+2 -2
pkgs/development/python-modules/ibm-cloud-sdk-core/default.nix
···
buildPythonPackage rec {
pname = "ibm-cloud-sdk-core";
-
version = "3.16.1";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
-
hash = "sha256-TsM56eE2qCJsr+ZHTaY7Wd/ZjhFqWJXA7Z3O+2MCgPc=";
};
propagatedBuildInputs = [
···
buildPythonPackage rec {
pname = "ibm-cloud-sdk-core";
+
version = "3.16.2";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
+
hash = "sha256-fPYl9cz9GIDAKZYEH+8g+omRtGMU+abBx16If7H5i3I=";
};
propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/msgspec/default.nix
···
buildPythonPackage rec {
pname = "msgspec";
-
version = "0.13.0";
format = "setuptools";
disabled = pythonOlder "3.8";
···
owner = "jcrist";
repo = pname;
rev = "refs/tags/${version}";
-
hash = "sha256-R3/ljUBm0WTRIdp5qoHtH3k1ReaMzASsD4tB8bHKAMc=";
};
# Requires libasan to be accessible
···
buildPythonPackage rec {
pname = "msgspec";
+
version = "0.13.1";
format = "setuptools";
disabled = pythonOlder "3.8";
···
owner = "jcrist";
repo = pname;
rev = "refs/tags/${version}";
+
hash = "sha256-TGCdsimcoY3441/nOXxHGqYM4q8uoWd78HtUts6EOJY=";
};
# Requires libasan to be accessible
+4 -3
pkgs/development/python-modules/renault-api/default.nix
···
buildPythonPackage rec {
pname = "renault-api";
-
version = "0.1.11";
format = "pyproject";
disabled = pythonOlder "3.7";
···
src = fetchFromGitHub {
owner = "hacf-fr";
repo = pname;
-
rev = "v${version}";
-
sha256 = "sha256-71UFVXfww3wgSO2qoRCuV80+33B91Bjl2+nuuCbQRLg=";
};
nativeBuildInputs = [
···
meta = with lib; {
description = "Python library to interact with the Renault API";
homepage = "https://github.com/hacf-fr/renault-api";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
···
buildPythonPackage rec {
pname = "renault-api";
+
version = "0.1.12";
format = "pyproject";
disabled = pythonOlder "3.7";
···
src = fetchFromGitHub {
owner = "hacf-fr";
repo = pname;
+
rev = "refs/tags/v${version}";
+
hash = "sha256-uSyqAs0JqrsFuMpfuILoIGxLL+HVOGI/euCZziCgEdQ=";
};
nativeBuildInputs = [
···
meta = with lib; {
description = "Python library to interact with the Renault API";
homepage = "https://github.com/hacf-fr/renault-api";
+
changelog = "https://github.com/hacf-fr/renault-api/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
-48
pkgs/games/beret/use-home-dir.patch
···
-
diff -Naur beret-beret-orig/game.c beret-beret/game.c
-
--- beret-beret-orig/game.c 2011-12-17 18:51:32.000000000 -0500
-
+++ beret-beret/game.c 2011-12-21 13:16:37.047511020 -0500
-
@@ -10,12 +10,10 @@
-
#include <stdlib.h>
-
#include <stdio.h>
-
#include <string.h>
-
-#ifdef __APPLE__
-
#include <sys/stat.h>
-
#include <unistd.h>
-
#include <errno.h>
-
#include <pwd.h>
-
-#endif
-
-
#define CAMSCROLL 15
-
#define SCR_WIDTH 780
-
@@ -88,12 +86,8 @@
-
#define DIRSEP "/"
-
#endif
-
-
-#ifdef __APPLE__
-
-#define SUPPORT_PATH "Library/Application Support/Beret/"
-
-#define RESOURCE_PATH "Beret.app/Contents/Resources/"
-
-#else
-
+#define SUPPORT_PATH ".beret"
-
#define RESOURCE_PATH ""
-
-#endif
-
-
#define QUITMOD_WIN KMOD_ALT
-
#define QUITKEY_WIN SDLK_F4
-
@@ -812,7 +806,6 @@
-
-
int init() {
-
-
- #ifdef __APPLE__
-
char filestr[512];
-
// Get the home directory of the user.
-
struct passwd *pwd = getpwuid(getuid());
-
@@ -827,9 +820,6 @@
-
sprintf(filestr, "%s/saves", support_path);
-
mkdir(filestr, S_IRWXU);
-
}
-
- #else
-
- sprintf(support_path, "");
-
- #endif
-
-
if (SDL_Init(SDL_INIT_EVERYTHING) == -1) {
-
printf("Error: couldn't initialize SDL\n");
···
+25
pkgs/os-specific/solo5/0001-Fix-test.patch
···
···
+
From bf1f143455d1c8283d90964e0121b50c14a67bda Mon Sep 17 00:00:00 2001
+
From: Lana Black <lana@illuminati.industries>
+
Date: Sat, 11 Feb 2023 11:53:21 +0000
+
Subject: [PATCH] Fix test.
+
+
---
+
tests/tests.bats | 2 +-
+
1 file changed, 1 insertion(+), 1 deletion(-)
+
+
diff --git a/tests/tests.bats b/tests/tests.bats
+
index c542b7a..98520ee 100644
+
--- a/tests/tests.bats
+
+++ b/tests/tests.bats
+
@@ -196,7 +196,7 @@ xen_expect_abort() {
+
run test_hello/test_hello.hvt
+
case "${CONFIG_HOST}" in
+
Linux)
+
- [ "$status" -eq 127 ] && [[ "$output" == *"No such file or directory"* ]]
+
+ [ "$status" -eq 127 ] && ([[ "$output" == *"No such file or directory"* ]] || [[ "$output" == *"required file not found"* ]])
+
;;
+
FreeBSD)
+
# XXX: imgact_elf.c:load_interp() outputs the "ELF interpreter ... not
+
--
+
2.39.0
+
+2
pkgs/os-specific/solo5/default.nix
···
sha256 = "sha256-viwrS9lnaU8sTGuzK/+L/PlMM/xRRtgVuK5pixVeDEw=";
};
hardeningEnable = [ "pie" ];
configurePhase = ''
···
sha256 = "sha256-viwrS9lnaU8sTGuzK/+L/PlMM/xRRtgVuK5pixVeDEw=";
};
+
patches = [ ./0001-Fix-test.patch ];
+
hardeningEnable = [ "pie" ];
configurePhase = ''
+2 -5
pkgs/servers/etebase/default.nix
···
pynacl
redis
typing-extensions
-
] ++ lib.optional withLdap [
-
python-ldap
-
] ++ lib.optional withPostgres [
-
psycopg2
-
];
installPhase = ''
mkdir -p $out/bin $out/lib
···
pynacl
redis
typing-extensions
+
] ++ lib.optional withLdap python-ldap
+
++ lib.optional withPostgres psycopg2;
installPhase = ''
mkdir -p $out/bin $out/lib
+2 -2
pkgs/servers/snappymail/default.nix
···
stdenv.mkDerivation rec {
pname = "snappymail";
-
version = "2.25.3";
src = fetchurl {
url = "https://github.com/the-djmaze/snappymail/releases/download/v${version}/snappymail-${version}.tar.gz";
-
sha256 = "sha256-FK0F1STRdE1Ny+l0ILQMofXSXDhyzoMgZCT+MuCSmcA=";
};
sourceRoot = "snappymail";
···
stdenv.mkDerivation rec {
pname = "snappymail";
+
version = "2.25.5";
src = fetchurl {
url = "https://github.com/the-djmaze/snappymail/releases/download/v${version}/snappymail-${version}.tar.gz";
+
sha256 = "sha256-oNZxlzaaIIK+Y0twZmddV7bJXEscN22pLWskEPGaB3c=";
};
sourceRoot = "snappymail";
+6 -2
pkgs/tools/compression/bzip2/1_1.nix
···
, meson
, python3
, ninja
}:
-
stdenv.mkDerivation rec {
pname = "bzip2-unstable";
version = "2020-08-11";
···
strictDeps = true;
meta = with lib; {
description = "High-quality data compression program";
license = licenses.bsdOriginal;
platforms = platforms.all;
maintainers = [];
};
-
}
···
, meson
, python3
, ninja
+
, testers
}:
+
stdenv.mkDerivation (finalAttrs: {
pname = "bzip2-unstable";
version = "2020-08-11";
···
strictDeps = true;
+
passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
+
meta = with lib; {
description = "High-quality data compression program";
license = licenses.bsdOriginal;
+
pkgConfigModules = [ "bz2" ];
platforms = platforms.all;
maintainers = [];
};
+
})
+9 -5
pkgs/tools/compression/bzip3/default.nix
···
, fetchFromGitHub
, autoreconfHook
, pkg-config
}:
-
stdenv.mkDerivation rec {
pname = "bzip3";
version = "1.2.2";
···
src = fetchFromGitHub {
owner = "kspalaiologos";
repo = "bzip3";
-
rev = version;
hash = "sha256-B59Z7+5SFjt/UgppNtdUtzw96y+EVglHoKzq9Il9ud8=";
};
postPatch = ''
-
echo -n "${version}" > .tarball-version
patchShebangs build-aux
# build-aux/ax_subst_man_date.m4 calls git if the file exists
···
"--disable-arch-native"
] ++ lib.optionals stdenv.isDarwin [ "--disable-link-time-optimization" ];
meta = {
description = "A better and stronger spiritual successor to BZip2";
homepage = "https://github.com/kspalaiologos/bzip3";
-
changelog = "https://github.com/kspalaiologos/bzip3/blob/${src.rev}/NEWS";
license = lib.licenses.lgpl3Plus;
maintainers = with lib.maintainers; [ dotlambda ];
platforms = lib.platforms.unix;
};
-
}
···
, fetchFromGitHub
, autoreconfHook
, pkg-config
+
, testers
}:
+
stdenv.mkDerivation (finalAttrs: {
pname = "bzip3";
version = "1.2.2";
···
src = fetchFromGitHub {
owner = "kspalaiologos";
repo = "bzip3";
+
rev = finalAttrs.version;
hash = "sha256-B59Z7+5SFjt/UgppNtdUtzw96y+EVglHoKzq9Il9ud8=";
};
postPatch = ''
+
echo -n "${finalAttrs.version}" > .tarball-version
patchShebangs build-aux
# build-aux/ax_subst_man_date.m4 calls git if the file exists
···
"--disable-arch-native"
] ++ lib.optionals stdenv.isDarwin [ "--disable-link-time-optimization" ];
+
passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
+
meta = {
description = "A better and stronger spiritual successor to BZip2";
homepage = "https://github.com/kspalaiologos/bzip3";
+
changelog = "https://github.com/kspalaiologos/bzip3/blob/${finalAttrs.src.rev}/NEWS";
license = lib.licenses.lgpl3Plus;
maintainers = with lib.maintainers; [ dotlambda ];
+
pkgConfigModules = [ "bzip3" ];
platforms = lib.platforms.unix;
};
+
})
+1 -1
pkgs/tools/games/joystickwake/default.nix
···
sha256 = "sha256-0rVVxaaAFHkmJeG3e181x7faTIeFwupplWepoyxc51g=";
};
-
propagatedBuildInputs = with python3.pkgs; [ pyudev xlib ];
postInstall = ''
# autostart file
···
sha256 = "sha256-0rVVxaaAFHkmJeG3e181x7faTIeFwupplWepoyxc51g=";
};
+
propagatedBuildInputs = with python3.pkgs; [ dbus-next pyudev xlib ];
postInstall = ''
# autostart file
+2 -2
pkgs/tools/networking/dnscrypt-proxy2/default.nix
···
buildGoModule rec {
pname = "dnscrypt-proxy2";
-
version = "2.1.3";
vendorSha256 = null;
···
owner = "DNSCrypt";
repo = "dnscrypt-proxy";
rev = version;
-
sha256 = "sha256-5wfxjx8SxynY6DpPIvOLwSsBdM/0zSzfaVDQTI/RUD0=";
};
meta = with lib; {
···
buildGoModule rec {
pname = "dnscrypt-proxy2";
+
version = "2.1.4";
vendorSha256 = null;
···
owner = "DNSCrypt";
repo = "dnscrypt-proxy";
rev = version;
+
sha256 = "sha256-98DeCrDp0TmPCSvOrJ7KgIQZBR2K1fFJrmNccZ7nSug=";
};
meta = with lib; {
+2 -2
pkgs/tools/networking/netbird/default.nix
···
in
buildGoModule rec {
pname = "netbird";
-
version = "0.12.0";
src = fetchFromGitHub {
owner = "netbirdio";
repo = pname;
rev = "v${version}";
-
sha256 = "sha256-ajfNHkdYNJCuDhFmww1X0d9F0dmo2/h0GlfLYWvTHKc=";
};
vendorHash = "sha256-3uEcb0nVHrfHZTZ/j/9l6zR1zMfLR0mVaN/Hydyam4Q=";
···
in
buildGoModule rec {
pname = "netbird";
+
version = "0.13.0";
src = fetchFromGitHub {
owner = "netbirdio";
repo = pname;
rev = "v${version}";
+
sha256 = "sha256-Afj2pllGPL86hhSNDSbvO+GkA62CI8V5dnUa0mjEMCg=";
};
vendorHash = "sha256-3uEcb0nVHrfHZTZ/j/9l6zR1zMfLR0mVaN/Hydyam4Q=";
+3 -3
pkgs/tools/typesetting/mmark/default.nix
···
buildGoModule rec {
pname = "mmark";
-
version = "2.2.30";
src = fetchFromGitHub {
owner = "mmarkdown";
repo = "mmark";
rev = "v${version}";
-
sha256 = "sha256-14SGA3a72i+HYptTEpxf4YiLXZzZ1R/t1agvm3ie4g8=";
};
-
vendorSha256 = "sha256-GjR9cOGLB6URHQi+qcyNbP7rm0+y4wypvgUxgJzIgGQ=";
ldflags = [ "-s" "-w" ];
···
buildGoModule rec {
pname = "mmark";
+
version = "2.2.31";
src = fetchFromGitHub {
owner = "mmarkdown";
repo = "mmark";
rev = "v${version}";
+
sha256 = "sha256-mCnlLsvkkB7ZvBCLYHvYanz9XgWo92v5M/kKulhUKTE=";
};
+
vendorHash = "sha256-GjR9cOGLB6URHQi+qcyNbP7rm0+y4wypvgUxgJzIgGQ=";
ldflags = [ "-s" "-w" ];
+5 -1
pkgs/top-level/python-packages.nix
···
buildbot-ui = self.buildbot.withPlugins (with self.buildbot-plugins; [ www ]);
-
buildbot-full = self.buildbot.withPlugins (with self.buildbot-plugins; [ www console-view waterfall-view grid-view wsgi-dashboards ]);
buildbot-pkg = callPackage ../development/python-modules/buildbot/pkg.nix { };
···
dissect-evidence = callPackage ../development/python-modules/dissect-evidence { };
dissect-extfs = callPackage ../development/python-modules/dissect-extfs { };
dissect-hypervisor = callPackage ../development/python-modules/dissect-hypervisor { };
···
dissect-regf = callPackage ../development/python-modules/dissect-regf { };
dissect-shellitem = callPackage ../development/python-modules/dissect-shellitem { };
dissect-sql = callPackage ../development/python-modules/dissect-sql { };
···
buildbot-ui = self.buildbot.withPlugins (with self.buildbot-plugins; [ www ]);
+
buildbot-full = self.buildbot.withPlugins (with self.buildbot-plugins; [ www console-view waterfall-view grid-view wsgi-dashboards badges ]);
buildbot-pkg = callPackage ../development/python-modules/buildbot/pkg.nix { };
···
dissect-evidence = callPackage ../development/python-modules/dissect-evidence { };
+
dissect-executable = callPackage ../development/python-modules/dissect-executable { };
+
dissect-extfs = callPackage ../development/python-modules/dissect-extfs { };
dissect-hypervisor = callPackage ../development/python-modules/dissect-hypervisor { };
···
dissect-regf = callPackage ../development/python-modules/dissect-regf { };
dissect-shellitem = callPackage ../development/python-modules/dissect-shellitem { };
+
+
dissect-squashfs = callPackage ../development/python-modules/dissect-squashfs { };
dissect-sql = callPackage ../development/python-modules/dissect-sql { };