Merge staging-next into staging

Changed files
+920 -322
maintainers
pkgs
applications
audio
soundconverter
networking
ids
suricata
virtualization
crosvm
build-support
by-name
af
affine
co
de
decibels
ga
gabutdm
ge
gerbolyze
id
mo
morphosis
ne
nezha-agent
nv
nv-codec-headers
nw
nwg-drawer
os
ossia-score
py
pyright
st
ty
typescript-language-server
desktops
gnome
apps
gnome-clocks
development
compilers
swift
compiler
libraries
intel-gmmlib
nv-codec-headers
node-packages
python-modules
molecule
shimmy
unicurses
tools
rust
cargo-run-bin
cargo-show-asm
os-specific
linux
audit
prl-tools
servers
monitoring
tools
misc
broot
top-level
+14 -1
maintainers/maintainer-list.nix
···
name = "Yacine Hmito";
};
gracicot = {
-
email = "gracicot42@gmail.com";
github = "gracicot";
githubId = 2906673;
name = "Guillaume Racicot";
···
email = "jceb@e-jc.de";
github = "jceb";
githubId = 101593;
};
jchw = {
email = "johnwchadwick@gmail.com";
···
github = "cyber-murmel";
githubId = 30078229;
name = "marble";
};
marcovergueira = {
email = "vergueira.marco@gmail.com";
···
name = "Yacine Hmito";
};
gracicot = {
+
email = "dev@gracicot.com";
+
matrix = "@gracicot-59e8f173d73408ce4f7ac803:gitter.im";
github = "gracicot";
githubId = 2906673;
name = "Guillaume Racicot";
···
email = "jceb@e-jc.de";
github = "jceb";
githubId = 101593;
+
};
+
jcelerier = {
+
name = "Jean-Michaël Celerier";
+
email = "jeanmichael.celerier@gmail.com";
+
github = "jcelerier";
+
githubId = 2772730;
};
jchw = {
email = "johnwchadwick@gmail.com";
···
github = "cyber-murmel";
githubId = 30078229;
name = "marble";
+
};
+
marcel = {
+
email = "me@m4rc3l.de";
+
github = "MarcelCoding";
+
githubId = 34819524;
+
name = "Marcel";
};
marcovergueira = {
email = "vergueira.marco@gmail.com";
+27 -23
pkgs/applications/accessibility/contrast/default.nix pkgs/by-name/co/contrast/package.nix
···
-
{ stdenv
-
, lib
-
, fetchFromGitLab
-
, cairo
-
, cargo
-
, desktop-file-utils
-
, gettext
-
, glib
-
, gtk4
-
, libadwaita
-
, meson
-
, ninja
-
, pango
-
, pkg-config
-
, rustPlatform
-
, rustc
-
, wrapGAppsHook4
}:
stdenv.mkDerivation rec {
···
pango
];
-
meta = with lib; {
description = "Checks whether the contrast between two colors meet the WCAG requirements";
homepage = "https://gitlab.gnome.org/World/design/contrast";
-
license = licenses.gpl3Plus;
-
maintainers = with maintainers; [ ];
-
platforms = platforms.unix;
-
# never built on aarch64-darwin, x86_64-darwin since first introduction in nixpkgs
-
broken = stdenv.isDarwin;
mainProgram = "contrast";
};
}
···
+
{
+
stdenv,
+
lib,
+
fetchFromGitLab,
+
cairo,
+
cargo,
+
desktop-file-utils,
+
gettext,
+
glib,
+
gtk4,
+
libadwaita,
+
meson,
+
ninja,
+
nix-update-script,
+
pango,
+
pkg-config,
+
rustPlatform,
+
rustc,
+
wrapGAppsHook4,
}:
stdenv.mkDerivation rec {
···
pango
];
+
passthru = {
+
updateScript = nix-update-script { };
+
};
+
+
meta = {
description = "Checks whether the contrast between two colors meet the WCAG requirements";
homepage = "https://gitlab.gnome.org/World/design/contrast";
+
license = lib.licenses.gpl3Plus;
+
maintainers = with lib.maintainers; [ getchoo ];
mainProgram = "contrast";
+
platforms = lib.platforms.linux;
};
}
+66 -35
pkgs/applications/audio/soundconverter/default.nix
···
-
{ lib, fetchurl
-
# Optional due to unfree license.
-
, faacSupport ? false
-
, glib, python3Packages, gtk3, wrapGAppsHook3
-
, gsettings-desktop-schemas, intltool, xvfb-run
-
, gobject-introspection, gst_all_1, fdk-aac-encoder }:
python3Packages.buildPythonApplication rec {
pname = "soundconverter";
-
version = "4.0.3";
-
src = fetchurl {
-
url = "https://launchpad.net/soundconverter/trunk/${version}/+download/${pname}-${version}.tar.gz";
-
sha256 = "sha256-hzIG/4LD3705erPYvXb7uoRwF9LtKKIKB3jrhpYMsZ0=";
};
buildInputs = [
···
gobject-introspection
];
-
propagatedBuildInputs = [
-
python3Packages.gst-python
-
python3Packages.distutils-extra
-
python3Packages.setuptools
-
python3Packages.pygobject3
];
-
nativeCheckInputs = [
-
xvfb-run
-
];
postPatch = ''
substituteInPlace bin/soundconverter --replace \
···
"DATA_PATH = '$out/share/soundconverter'"
'';
-
preCheck = let
-
self = { outPath = "$out"; name = "${pname}-${version}"; };
-
xdgPaths = lib.concatMapStringsSep ":" glib.getSchemaDataDirPath;
-
in ''
-
export HOME=$TMPDIR
-
export XDG_DATA_DIRS=$XDG_DATA_DIRS:${xdgPaths [gtk3 gsettings-desktop-schemas self]}
-
# FIXME: Fails due to weird Gio.file_parse_name() behavior.
-
sed -i '49 a\ @unittest.skip("Gio.file_parse_name issues")' tests/testcases/names.py
-
'' + lib.optionalString (!faacSupport) ''
-
substituteInPlace tests/testcases/integration.py --replace \
-
"for encoder in ['fdkaacenc', 'faac', 'avenc_aac']:" \
-
"for encoder in ['fdkaacenc', 'avenc_aac']:"
-
'';
checkPhase = ''
runHook preCheck
···
# Necessary to set GDK_PIXBUF_MODULE_FILE.
strictDeps = false;
-
meta = with lib; {
homepage = "https://soundconverter.org/";
description = "Leading audio file converter for the GNOME Desktop";
mainProgram = "soundconverter";
···
and writes WAV, FLAC, MP3, AAC and Ogg Vorbis files.
Uses Python and GTK+ GUI toolkit, and runs on X Window System.
'';
-
license = licenses.gpl3Only;
-
platforms = platforms.linux;
-
maintainers = with maintainers; [ jakubgs ];
};
}
···
+
{
+
lib,
+
# Optional due to unfree license.
+
faacSupport ? false,
+
fetchFromGitHub,
+
glib,
+
python3Packages,
+
gtk3,
+
wrapGAppsHook3,
+
gsettings-desktop-schemas,
+
intltool,
+
xvfb-run,
+
gobject-introspection,
+
gst_all_1,
+
fdk-aac-encoder,
+
}:
python3Packages.buildPythonApplication rec {
pname = "soundconverter";
+
version = "4.0.5";
+
src = fetchFromGitHub {
+
owner = "kassoulet";
+
repo = "soundconverter";
+
rev = version;
+
hash = "sha256-sno5EOh8HHfBTIE67VA8mheYp5wUMFRCbcS2EtKES3c=";
};
buildInputs = [
···
gobject-introspection
];
+
dependencies = with python3Packages; [
+
gst-python
+
distutils-extra
+
setuptools
+
pygobject3
];
+
nativeCheckInputs = [ xvfb-run ];
postPatch = ''
substituteInPlace bin/soundconverter --replace \
···
"DATA_PATH = '$out/share/soundconverter'"
'';
+
preCheck =
+
let
+
self = {
+
outPath = "$out";
+
name = "${pname}-${version}";
+
};
+
xdgPaths = lib.concatMapStringsSep ":" glib.getSchemaDataDirPath;
+
in
+
''
+
export HOME=$TMPDIR
+
export XDG_DATA_DIRS=$XDG_DATA_DIRS:${
+
xdgPaths [
+
gtk3
+
gsettings-desktop-schemas
+
self
+
]
+
}
+
# FIXME: Fails due to weird Gio.file_parse_name() behavior.
+
sed -i '49 a\ @unittest.skip("Gio.file_parse_name issues")' tests/testcases/names.py
+
''
+
+ lib.optionalString (!faacSupport) ''
+
substituteInPlace tests/testcases/gui_integration.py --replace \
+
"for encoder in ['fdkaacenc', 'faac', 'avenc_aac']:" \
+
"for encoder in ['fdkaacenc', 'avenc_aac']:"
+
'';
checkPhase = ''
runHook preCheck
···
# Necessary to set GDK_PIXBUF_MODULE_FILE.
strictDeps = false;
+
dontWrapGApps = true;
+
+
preFixup = ''
+
makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
+
'';
+
+
meta = {
homepage = "https://soundconverter.org/";
description = "Leading audio file converter for the GNOME Desktop";
mainProgram = "soundconverter";
···
and writes WAV, FLAC, MP3, AAC and Ogg Vorbis files.
Uses Python and GTK+ GUI toolkit, and runs on X Window System.
'';
+
license = lib.licenses.gpl3Only;
+
platforms = lib.platforms.linux;
+
maintainers = with lib.maintainers; [
+
jakubgs
+
aleksana
+
];
};
}
pkgs/applications/graphics/identity/Cargo.lock pkgs/by-name/id/identity/Cargo.lock
+25 -26
pkgs/applications/graphics/identity/default.nix pkgs/by-name/id/identity/package.nix
···
-
{ lib
-
, stdenv
-
, fetchFromGitLab
-
, rustPlatform
-
, nix-update-script
-
-
, appstream
-
, blueprint-compiler
-
, cargo
-
, desktop-file-utils
-
, meson
-
, ninja
-
, pkg-config
-
, rustc
-
, wrapGAppsHook4
-
-
, dav1d
-
, gst_all_1
-
, gtk4
-
, libadwaita
-
, libwebp
}:
stdenv.mkDerivation rec {
···
passthru.updateScript = nix-update-script { };
-
meta = with lib; {
description = "Program for comparing multiple versions of an image or video";
-
mainProgram = "identity";
homepage = "https://gitlab.gnome.org/YaLTeR/identity";
-
license = licenses.gpl3Plus;
-
platforms = platforms.linux;
-
maintainers = with maintainers; [ ];
};
}
···
+
{
+
lib,
+
stdenv,
+
fetchFromGitLab,
+
rustPlatform,
+
cargo,
+
rustc,
+
appstream,
+
blueprint-compiler,
+
dav1d,
+
desktop-file-utils,
+
gst_all_1,
+
gtk4,
+
libadwaita,
+
libwebp,
+
meson,
+
ninja,
+
pkg-config,
+
nix-update-script,
+
wrapGAppsHook4,
}:
stdenv.mkDerivation rec {
···
passthru.updateScript = nix-update-script { };
+
meta = {
description = "Program for comparing multiple versions of an image or video";
homepage = "https://gitlab.gnome.org/YaLTeR/identity";
+
license = lib.licenses.gpl3Plus;
+
maintainers = with lib.maintainers; [ getchoo ];
+
mainProgram = "identity";
+
platforms = lib.platforms.linux;
};
}
+2 -1
pkgs/applications/networking/ids/suricata/default.nix
···
sed -i 's|${builtins.storeDir}/\(.\{8\}\)[^-]*-|${builtins.storeDir}/\1...-|g' ./src/build-info.h
'';
-
hardeningDisable = [ "stackprotector" ];
installFlags = [
"e_datadir=\${TMPDIR}"
···
sed -i 's|${builtins.storeDir}/\(.\{8\}\)[^-]*-|${builtins.storeDir}/\1...-|g' ./src/build-info.h
'';
+
# zerocallusedregs interferes during BPF compilation; TODO: perhaps improve
+
hardeningDisable = [ "stackprotector" "zerocallusedregs" ];
installFlags = [
"e_datadir=\${TMPDIR}"
+5 -14
pkgs/applications/virtualization/crosvm/default.nix
···
-
{ lib, rustPlatform, fetchgit, fetchpatch
, pkg-config, protobuf, python3, wayland-scanner
, libcap, libdrm, libepoxy, minijail, virglrenderer, wayland, wayland-protocols
, pkgsCross
···
rustPlatform.buildRustPackage rec {
pname = "crosvm";
-
version = "125.0";
src = fetchgit {
url = "https://chromium.googlesource.com/chromiumos/platform/crosvm";
-
rev = "6a7ff1ecb7fad6820d3bbfe8b11e65854059aba5";
-
hash = "sha256-y/vHU8i9YNbzSHla853z/2w914mVMFOryyaHE1uxlvM=";
fetchSubmodules = true;
};
-
patches = [
-
(fetchpatch {
-
name = "musl.patch";
-
url = "https://chromium.googlesource.com/chromiumos/platform/crosvm/+/128e591037c0be0362ed814d0b5583aa65ff09e1%5E%21/?format=TEXT";
-
decode = "base64 -d";
-
hash = "sha256-p5VzHRb0l0vCJNe48cRl/uBYHwTQMEykMcBOMzL3yaY=";
-
})
-
];
-
separateDebugInfo = true;
-
cargoHash = "sha256-1AUfd9dhIZvVVUsVbnGoLKc0lBfccwM4wqWgU4yZWOE=";
nativeBuildInputs = [
pkg-config protobuf python3 rustPlatform.bindgenHook wayland-scanner
···
+
{ lib, rustPlatform, fetchgit
, pkg-config, protobuf, python3, wayland-scanner
, libcap, libdrm, libepoxy, minijail, virglrenderer, wayland, wayland-protocols
, pkgsCross
···
rustPlatform.buildRustPackage rec {
pname = "crosvm";
+
version = "126.0";
src = fetchgit {
url = "https://chromium.googlesource.com/chromiumos/platform/crosvm";
+
rev = "5533201f3ff3230d121e06100557d369c055e6dc";
+
hash = "sha256-Ufi8dIhNgXvD53PWLG2uj7CD37UZIegrqAQz3wTKTvE=";
fetchSubmodules = true;
};
separateDebugInfo = true;
+
cargoHash = "sha256-E2lyBgptQs+/5JS2WJc4ietguXdK16DFEVzqylmX+Pk=";
nativeBuildInputs = [
pkg-config protobuf python3 rustPlatform.bindgenHook wayland-scanner
+65 -32
pkgs/build-support/rust/default-crate-overrides.nix
···
{ lib
, stdenv
, atk
-
, pkg-config
, curl
, darwin
-
, libgit2
-
, gtk3
-
, libssh2
-
, openssl
-
, sqlite
-
, zlib
, dbus
, dbus-glib
, gdk-pixbuf
-
, cairo
-
, python3
-
, libsodium
-
, postgresql
, gmp
, gobject-introspection
-
, foundationdb
-
, capnproto
-
, nettle
, gtk4
-
, clang
-
, llvmPackages
, linux-pam
, pango
-
, cmake
-
, glib
-
, freetype
-
, fontconfig
, rdkafka
, udev
-
, libevdev
-
, alsa-lib
-
, graphene
-
, protobuf
-
, autoconf
-
, automake
-
, libtool
-
, seatd # =libseat
, ...
}:
···
nativeBuildInputs = [
pkg-config
] ++ lib.optionals (stdenv.buildPlatform.config != stdenv.hostPlatform.config) [
-
python3 autoconf automake libtool
];
buildInputs = [ libevdev ];
···
};
gobject-sys = attrs: {
buildInputs = [ dbus-glib ];
};
gio-sys = attrs: {
buildInputs = [ dbus-glib ];
};
-
gdk-pixbuf-sys = attrs: {
-
buildInputs = [ dbus-glib ];
};
-
gdk-pixbuf = attrs: {
buildInputs = [ gdk-pixbuf ];
};
gtk-sys = attrs: {
buildInputs = [ gtk3 ];
nativeBuildInputs = [ pkg-config ];
···
graphene-sys = attrs: {
nativeBuildInputs = [ pkg-config gobject-introspection ];
buildInputs = [ graphene ];
};
nettle-sys = attrs: {
···
buildInputs = [ freetype fontconfig ];
};
thrussh-libsodium = attrs: {
nativeBuildInputs = [ pkg-config ];
buildInputs = [ libsodium ];
···
tonic-reflection = attrs: {
nativeBuildInputs = [ protobuf ];
};
xcb = attrs: {
···
{ lib
, stdenv
+
, alsa-lib
, atk
+
, autoconf
+
, automake
+
, cairo
+
, capnproto
+
, clang
+
, cmake
, curl
, darwin
, dbus
, dbus-glib
+
, fontconfig
+
, foundationdb
+
, freetype
, gdk-pixbuf
+
, glib
, gmp
, gobject-introspection
+
, graphene
+
, gtk3
, gtk4
+
, libevdev
+
, libgit2
+
, libsodium
+
, libsoup_3
+
, libssh2
+
, libtool
, linux-pam
+
, llvmPackages
+
, nettle
+
, openssl
, pango
+
, pkg-config
+
, postgresql
+
, protobuf
+
, python3
, rdkafka
+
, seatd # =libseat
+
, sqlite
, udev
+
, webkitgtk_4_1
+
, zlib
, ...
}:
···
nativeBuildInputs = [
pkg-config
] ++ lib.optionals (stdenv.buildPlatform.config != stdenv.hostPlatform.config) [
+
python3
+
autoconf
+
automake
+
libtool
];
buildInputs = [ libevdev ];
···
};
gobject-sys = attrs: {
+
nativeBuildInputs = [ pkg-config ];
buildInputs = [ dbus-glib ];
};
gio-sys = attrs: {
+
nativeBuildInputs = [ pkg-config ];
buildInputs = [ dbus-glib ];
};
+
gdk-pixbuf = attrs: {
+
buildInputs = [ dbus-glib gdk-pixbuf ];
};
+
gdk-pixbuf-sys = attrs: {
+
nativeBuildInputs = [ pkg-config ];
buildInputs = [ gdk-pixbuf ];
};
+
gdk-sys = attrs: {
+
nativeBuildInputs = [ pkg-config ];
+
buildInputs = [ gtk3 ]; # libgdk-3
+
};
+
+
gdkx11-sys = attrs: {
+
nativeBuildInputs = [ pkg-config ];
+
buildInputs = [ gtk3 ];
+
};
+
gtk-sys = attrs: {
buildInputs = [ gtk3 ];
nativeBuildInputs = [ pkg-config ];
···
graphene-sys = attrs: {
nativeBuildInputs = [ pkg-config gobject-introspection ];
buildInputs = [ graphene ];
+
};
+
+
javascriptcore-rs-sys = attrs: {
+
nativeBuildInputs = [ pkg-config ];
+
buildInputs = [ webkitgtk_4_1 ];
};
nettle-sys = attrs: {
···
buildInputs = [ freetype fontconfig ];
};
+
soup3-sys = attrs: {
+
nativeBuildInputs = [ pkg-config ];
+
buildInputs = [ libsoup_3 ];
+
};
+
thrussh-libsodium = attrs: {
nativeBuildInputs = [ pkg-config ];
buildInputs = [ libsodium ];
···
tonic-reflection = attrs: {
nativeBuildInputs = [ protobuf ];
+
};
+
+
webkit2gtk-sys = attrs: {
+
nativeBuildInputs = [ pkg-config ];
+
buildInputs = [ webkitgtk_4_1 ];
};
xcb = attrs: {
+2 -2
pkgs/by-name/af/affine/package.nix
···
};
in {
pname = "affine";
-
version = "0.14.9";
src = fetchurl {
url = "https://github.com/toeverything/AFFiNE/releases/download/v${finalAttrs.version}/affine-${finalAttrs.version}-stable-linux-x64.zip";
-
hash = "sha256-JGWkmvcdgkvWDAffInzf2lUFHVjkU/a4m25f8BtQqZc=";
};
nativeBuildInputs = [
copyDesktopItems
···
};
in {
pname = "affine";
+
version = "0.15.2";
src = fetchurl {
url = "https://github.com/toeverything/AFFiNE/releases/download/v${finalAttrs.version}/affine-${finalAttrs.version}-stable-linux-x64.zip";
+
hash = "sha256-Nu5s/0sP4exRtfjd058tD5jzDezPHnHjm5CJxOLJvVE=";
};
nativeBuildInputs = [
copyDesktopItems
+30
pkgs/by-name/co/commit/command-from-path.patch
···
···
+
diff --git a/src/welcome.js b/src/welcome.js
+
index 27cc7dc..c6772c3 100644
+
--- a/src/welcome.js
+
+++ b/src/welcome.js
+
@@ -55,24 +55,7 @@ export default function Welcome({ application }) {
+
}
+
+
function getCommand() {
+
- const FLATPAK_ID = GLib.getenv("FLATPAK_ID");
+
-
+
- if (FLATPAK_ID) {
+
- return `flatpak run ${FLATPAK_ID}`;
+
- }
+
-
+
- const { programInvocationName } = system;
+
- // re.sonny.Commit
+
- if (programInvocationName === GLib.path_get_basename(programInvocationName)) {
+
- return programInvocationName;
+
- }
+
-
+
- // ./re.sonny.commit
+
- // /home/sonny/re.sonny.Commit
+
- return GLib.canonicalize_filename(
+
- programInvocationName,
+
- GLib.get_current_dir(),
+
- );
+
+ return "re.sonny.Commit";
+
}
+
+
function getRange(key) {
+75
pkgs/by-name/co/commit/package.nix
···
···
+
{
+
lib,
+
stdenv,
+
fetchFromGitHub,
+
appstream-glib,
+
blueprint-compiler,
+
desktop-file-utils,
+
gjs,
+
gtksourceview5,
+
libadwaita,
+
libspelling,
+
meson,
+
ninja,
+
pkg-config,
+
wrapGAppsHook4,
+
nix-update-script,
+
}:
+
stdenv.mkDerivation rec {
+
pname = "commit";
+
version = "4.1";
+
+
src = fetchFromGitHub {
+
owner = "sonnyp";
+
repo = "Commit";
+
rev = "v${version}";
+
hash = "sha256-HhyoQ4wrc8dHvVU+MylJgaKu9HwSw+/f6UDTIM2YRNk=";
+
fetchSubmodules = true;
+
};
+
+
patches = [
+
# Instead of using the absolute path in command snippets,
+
# assume `re.sonny.Commit` is already in PATH. This prevents
+
# configurations from breaking when our store path changes
+
./command-from-path.patch
+
];
+
+
# gjs uses the invocation name to add gresource files
+
# to get around this, we set the entry point name manually
+
#
+
# `/usr/bin/env` is also used quite a bit
+
postPatch = ''
+
sed -i "1 a imports.package._findEffectiveEntryPointName = () => 're.sonny.Commit';" src/bin.js
+
patchShebangs {,.}*
+
'';
+
+
nativeBuildInputs = [
+
appstream-glib
+
blueprint-compiler
+
desktop-file-utils
+
meson
+
ninja
+
pkg-config
+
wrapGAppsHook4
+
];
+
+
buildInputs = [
+
libadwaita
+
libspelling
+
gtksourceview5
+
gjs
+
];
+
+
passthru = {
+
updateScript = nix-update-script { };
+
};
+
+
meta = {
+
description = "Commit message editor";
+
homepage = "https://github.com/sonnyp/Commit";
+
license = lib.licenses.gpl3Only;
+
maintainers = with lib.maintainers; [ getchoo ];
+
mainProgram = "re.sonny.Commit";
+
platforms = lib.platforms.linux;
+
};
+
}
+73
pkgs/by-name/de/decibels/package.nix
···
···
+
{
+
lib,
+
stdenv,
+
fetchFromGitLab,
+
appstream,
+
blueprint-compiler,
+
desktop-file-utils,
+
gjs,
+
gst_all_1,
+
libadwaita,
+
meson,
+
ninja,
+
pkg-config,
+
typescript,
+
wrapGAppsHook4,
+
nix-update-script,
+
}:
+
stdenv.mkDerivation rec {
+
pname = "decibels";
+
version = "46.0";
+
+
src = fetchFromGitLab {
+
domain = "gitlab.gnome.org";
+
group = "GNOME";
+
owner = "Incubator";
+
repo = "decibels";
+
rev = version;
+
hash = "sha256-3LQQcrpmWrTfk8A8GR+KnxJEB1HGozgEsM+j5ECK8kc=";
+
fetchSubmodules = true;
+
};
+
+
nativeBuildInputs = [
+
appstream
+
blueprint-compiler
+
desktop-file-utils
+
meson
+
ninja
+
pkg-config
+
typescript
+
wrapGAppsHook4
+
];
+
+
buildInputs = [
+
gjs
+
gst_all_1.gstreamer
+
gst_all_1.gst-plugins-base # for GstVideo
+
gst_all_1.gst-plugins-bad # for GstPlay
+
gst_all_1.gst-plugins-good # for scaletempo
+
libadwaita
+
];
+
+
# NOTE: this is applied after install to ensure `tsc` doesn't
+
# mess with us
+
#
+
# gjs uses the invocation name to add gresource files
+
# to get around this, we set the entry point name manually
+
preFixup = ''
+
sed -i "1 a imports.package._findEffectiveEntryPointName = () => 'org.gnome.Decibels';" $out/bin/org.gnome.Decibels
+
'';
+
+
passthru = {
+
updateScript = nix-update-script { };
+
};
+
+
meta = {
+
description = "Play audio files";
+
homepage = "https://gitlab.gnome.org/GNOME/Incubator/decibels";
+
license = lib.licenses.gpl3Only;
+
maintainers = with lib.maintainers; [ getchoo ];
+
mainProgram = "org.gnome.Decibels";
+
platforms = lib.platforms.linux;
+
};
+
}
+2 -2
pkgs/by-name/ga/gabutdm/package.nix
···
stdenv.mkDerivation rec {
pname = "gabutdm";
-
version = "2.2.8";
src = fetchFromGitHub {
owner = "gabutakut";
repo = "gabutdm";
rev = version;
-
hash = "sha256-HF+zBDkA9fYauLUYsvJJxcRggHu+5qH4rm0IM/tL9Hc=";
};
nativeBuildInputs = [
···
stdenv.mkDerivation rec {
pname = "gabutdm";
+
version = "2.5.0";
src = fetchFromGitHub {
owner = "gabutakut";
repo = "gabutdm";
rev = version;
+
hash = "sha256-0PBNKacgKT5xcd0mnn0y9ltmxEAbP+S7MLtt/Zau8vs=";
};
nativeBuildInputs = [
+2 -2
pkgs/by-name/ge/gerbolyze/package.nix
···
}:
let
-
version = "3.1.8";
src = fetchFromGitHub {
owner = "jaseg";
repo = "gerbolyze";
rev = "v${version}";
-
hash = "sha256-uF06aU9zT7LjYHreQ8aFQKn/wAesS31LvzHBgD50LfQ=";
fetchSubmodules = true;
};
···
}:
let
+
version = "3.1.9";
src = fetchFromGitHub {
owner = "jaseg";
repo = "gerbolyze";
rev = "v${version}";
+
hash = "sha256-bisLln3Y239HuJt0MkrCU+6vLLbEDxfTjEJMkcbE/wE=";
fetchSubmodules = true;
};
+62
pkgs/by-name/mo/morphosis/package.nix
···
···
+
{
+
lib,
+
python3Packages,
+
fetchFromGitLab,
+
appstream,
+
blueprint-compiler,
+
desktop-file-utils,
+
gobject-introspection,
+
libadwaita,
+
meson,
+
ninja,
+
pandoc,
+
pkg-config,
+
webkitgtk_6_0,
+
wrapGAppsHook4,
+
}:
+
python3Packages.buildPythonApplication rec {
+
pname = "morphosis";
+
version = "1.3";
+
pyproject = false;
+
+
src = fetchFromGitLab {
+
domain = "gitlab.gnome.org";
+
owner = "World";
+
repo = "morphosis";
+
rev = "v${version}";
+
hash = "sha256-JEZFgON4QkxHDbWSZbDNLpIFctt8mDHdGVVu3Q+WH4U=";
+
};
+
+
nativeBuildInputs = [
+
appstream
+
blueprint-compiler
+
desktop-file-utils
+
gobject-introspection
+
meson
+
ninja
+
pkg-config
+
wrapGAppsHook4
+
];
+
+
buildInputs = [
+
libadwaita
+
webkitgtk_6_0
+
];
+
+
dependencies = with python3Packages; [ pygobject3 ];
+
+
dontWrapGApps = true;
+
makeWrapperArgs = [
+
''''${gappsWrapperArgs[@]}''
+
"--prefix PATH : ${lib.makeBinPath [ pandoc ]}"
+
];
+
+
meta = {
+
description = "Convert your documents";
+
homepage = "https://gitlab.gnome.org/Monster/morphosis";
+
license = lib.licenses.gpl3Only;
+
maintainers = with lib.maintainers; [ getchoo ];
+
mainProgram = "morphosis";
+
platforms = lib.platforms.linux;
+
};
+
}
+3 -3
pkgs/by-name/ne/nezha-agent/package.nix
···
}:
buildGoModule rec {
pname = "nezha-agent";
-
version = "0.17.2";
src = fetchFromGitHub {
owner = "nezhahq";
repo = "agent";
rev = "refs/tags/v${version}";
-
hash = "sha256-PUBomSo11URCCJB/qFeSHSS3pw/vvcgDBo9Kc0lJQLE=";
};
-
vendorHash = "sha256-wVZWP8yvazxs8sG47MTOlWzKwjsZO/b7PN987fwWEaY=";
ldflags = [
"-s"
···
}:
buildGoModule rec {
pname = "nezha-agent";
+
version = "0.17.3";
src = fetchFromGitHub {
owner = "nezhahq";
repo = "agent";
rev = "refs/tags/v${version}";
+
hash = "sha256-dnmoGf9z7R14Fen7maQyk/H600Hgkx7esGWvjddLDMc=";
};
+
vendorHash = "sha256-SLF5Oq++VzKzy6mfqJuRlAJMBXyb1EHWN+qoyCw9kv4=";
ldflags = [
"-s"
+38
pkgs/by-name/nv/nv-codec-headers/package.nix
···
···
+
{
+
lib,
+
callPackage,
+
stdenvNoCC,
+
# Configurable options
+
sources ? callPackage ./sources.nix { },
+
majorVersion ? "9",
+
}:
+
+
let
+
pick = {
+
"8" = sources.nv-codec-headers-8;
+
"9" = sources.nv-codec-headers-9;
+
"10" = sources.nv-codec-headers-10;
+
"11" = sources.nv-codec-headers-11;
+
"12" = sources.nv-codec-headers-12;
+
}.${majorVersion};
+
in
+
stdenvNoCC.mkDerivation {
+
inherit (pick) pname version src;
+
+
makeFlags = [
+
"PREFIX=$(out)"
+
];
+
+
passthru = {
+
inherit sources;
+
};
+
+
meta = {
+
description = "FFmpeg version of headers for NVENC - version ${pick.version}";
+
homepage = "https://ffmpeg.org/";
+
downloadPage = "https://git.videolan.org/?p=ffmpeg/nv-codec-headers.git";
+
license = with lib.licenses; [ mit ];
+
maintainers = with lib.maintainers; [ AndersonTorres ];
+
platforms = lib.platforms.all;
+
};
+
}
+42
pkgs/by-name/nv/nv-codec-headers/sources.nix
···
···
+
{
+
fetchgit,
+
}:
+
+
let
+
nv-codec-headers-template =
+
{
+
version,
+
hash,
+
}:
+
{
+
pname = "nv-codec-headers";
+
inherit version;
+
src = fetchgit {
+
url = "https://git.videolan.org/git/ffmpeg/nv-codec-headers.git";
+
rev = "n${version}";
+
inherit hash;
+
};
+
};
+
in
+
{
+
nv-codec-headers-8 = nv-codec-headers-template {
+
version = "8.2.15.2";
+
hash = "sha256-TKYT8vXqnUpq+M0grDeOR37n/ffqSWDYTrXIbl++BG4=";
+
};
+
nv-codec-headers-9 = nv-codec-headers-template {
+
version = "9.1.23.1";
+
hash = "sha256-kF5tv8Nh6I9x3hvSAdKLakeBVEcIiXFY6o6bD+tY2/U=";
+
};
+
nv-codec-headers-10 = nv-codec-headers-template {
+
version = "10.0.26.2";
+
hash = "sha256-BfW+fmPp8U22+HK0ZZY6fKUjqigWvOBi6DmW7SSnslg=";
+
};
+
nv-codec-headers-11 = nv-codec-headers-template {
+
version = "11.1.5.2";
+
hash = "sha256-KzaqwpzISHB7tSTruynEOJmSlJnAFK2h7/cRI/zkNPk=";
+
};
+
nv-codec-headers-12 = nv-codec-headers-template {
+
version = "12.1.14.0";
+
hash = "sha256-WJYuFmMGSW+B32LwE7oXv/IeTln6TNEeXSkquHh85Go=";
+
};
+
}
+2 -2
pkgs/by-name/nw/nwg-drawer/package.nix
···
let
pname = "nwg-drawer";
-
version = "0.4.8";
src = fetchFromGitHub {
owner = "nwg-piotr";
repo = "nwg-drawer";
rev = "v${version}";
-
hash = "sha256-ZfWl9DfU8h300WbvFNOCs7QGp11NB49ShPRxY5hpNFE=";
};
vendorHash = "sha256-J7r3YyfV5lRZbjKo7ZNHQrOqR1GNbUB7GxRMlXuuw/c=";
···
let
pname = "nwg-drawer";
+
version = "0.4.9";
src = fetchFromGitHub {
owner = "nwg-piotr";
repo = "nwg-drawer";
rev = "v${version}";
+
hash = "sha256-KhgALKJNS7Y+u5pAfpvTup0W1+Vi6r1uaVFQZRiv4Dk=";
};
vendorHash = "sha256-J7r3YyfV5lRZbjKo7ZNHQrOqR1GNbUB7GxRMlXuuw/c=";
+159
pkgs/by-name/os/ossia-score/package.nix
···
···
+
{ stdenv
+
, lib
+
, fetchFromGitHub
+
, cmake
+
, ninja
+
, clangStdenv
+
, pkg-config
+
, alsa-lib
+
, avahi
+
, avahi-compat
+
, bluez
+
, boost185
+
, fmt
+
, ffmpeg
+
, fftw
+
, flac
+
, git
+
, gnutls
+
, lame
+
, libcoap
+
, libjack2
+
, libopus
+
, libsamplerate
+
, libsndfile
+
, libvorbis
+
, lilv
+
, lv2
+
, mpg123
+
, pipewire
+
, portaudio
+
, qt6
+
, rapidfuzz-cpp
+
, re2
+
, rubberband
+
, snappy
+
, SDL2
+
, spdlog
+
, suil
+
, udev
+
}:
+
+
# TODO: figure out LLVM jit
+
# assert lib.versionAtLeast llvm.version "15";
+
+
stdenv.mkDerivation (finalAttrs: {
+
pname = "ossia-score";
+
version = "3.2.3-3";
+
+
src = fetchFromGitHub {
+
owner = "ossia";
+
repo = "score";
+
rev = "v3.2.3-3";
+
hash = "sha256-xRqsMKwuejbl+5ljYMFhQv/j1MfnFH5MGIn9rCQG/ro=";
+
fetchSubmodules = true;
+
};
+
+
nativeBuildInputs = [ cmake ninja git pkg-config qt6.qttools qt6.wrapQtAppsHook ];
+
+
buildInputs = [
+
alsa-lib
+
boost185
+
avahi
+
avahi-compat
+
bluez
+
ffmpeg
+
fftw
+
flac
+
fmt
+
gnutls
+
lame
+
libcoap
+
libjack2
+
libopus
+
libsamplerate
+
libsndfile
+
libvorbis
+
lilv
+
lv2
+
mpg123
+
pipewire
+
portaudio
+
qt6.qtbase
+
qt6.qtdeclarative
+
qt6.qtserialport
+
qt6.qtscxml
+
qt6.qtshadertools
+
qt6.qtsvg
+
qt6.qtwayland
+
qt6.qtwebsockets
+
rapidfuzz-cpp
+
re2
+
rubberband
+
snappy
+
SDL2
+
spdlog
+
suil
+
udev
+
];
+
+
cmakeFlags = [
+
"-Wno-dev"
+
+
"-DSCORE_DEPLOYMENT_BUILD=1"
+
"-DSCORE_STATIC_PLUGINS=1"
+
"-DSCORE_FHS_BUILD=1"
+
"-DCMAKE_UNITY_BUILD=1"
+
"-DCMAKE_SKIP_RPATH=ON"
+
"-DOSSIA_USE_SYSTEM_LIBRARIES=1"
+
"-DSCORE_USE_SYSTEM_LIBRARIES=1"
+
+
"-DLilv_INCLUDE_DIR=${lilv.dev}/include/lilv-0"
+
"-DSuil_INCLUDE_DIR=${suil}/include/suil-0"
+
];
+
+
# Needed for libraries that get dlopen'd
+
env.NIX_LDFLAGS = toString [
+
"-lasound"
+
"-llilv-0"
+
"-lsuil-0"
+
"-lsndfile"
+
"-lpipewire-0.3"
+
"-lfftw3"
+
"-lfftw3_threads"
+
"-ludev"
+
];
+
+
runtimeDependencies = [
+
alsa-lib
+
avahi
+
avahi-compat
+
bluez
+
fftw
+
lilv
+
suil
+
pipewire
+
udev
+
];
+
+
installPhase = ''
+
runHook preInstall
+
+
cmake -DCMAKE_INSTALL_DO_STRIP=1 -DCOMPONENT=OssiaScore -P cmake_install.cmake
+
+
runHook postInstall
+
'';
+
+
meta = with lib; {
+
homepage = "https://ossia.io/score/about.html";
+
description = "Sequencer for audio-visual artists";
+
longDescription = ''
+
ossia score is a sequencer for audio-visual artists, designed to enable
+
the creation of interactive shows, museum installations, intermedia
+
digital artworks, interactive music and more in an intuitive user interface.
+
'';
+
platforms = [ "x86_64-linux" ];
+
license = licenses.gpl3Only;
+
maintainers = with maintainers; [ jcelerier minijackson ];
+
};
+
})
+4 -4
pkgs/by-name/py/pyright/package.nix
···
{ lib, buildNpmPackage, fetchFromGitHub, runCommand, jq }:
let
-
version = "1.1.369";
src = fetchFromGitHub {
owner = "Microsoft";
repo = "pyright";
rev = "${version}";
-
hash = "sha256-YAv+2QiArHoZrLNisCFaBNhqQm5uHJdtil0w4xtLl4k=";
};
patchedPackageJSON = runCommand "package.json" { } ''
···
pname = "pyright-internal";
inherit version src;
sourceRoot = "${src.name}/packages/pyright-internal";
-
npmDepsHash = "sha256-xnS7guT8E/wHk3d2ESve4HgMPfH/NuP5TsnsGlvQtUI=";
dontNpmBuild = true;
installPhase = ''
runHook preInstall
···
inherit version src;
sourceRoot = "${src.name}/packages/pyright";
-
npmDepsHash = "sha256-ijG0thy0YPPrgMYCJrRqIXkexuHVKcXX7PxPpCJbsg8=";
postPatch = ''
chmod +w ../../
···
{ lib, buildNpmPackage, fetchFromGitHub, runCommand, jq }:
let
+
version = "1.1.370";
src = fetchFromGitHub {
owner = "Microsoft";
repo = "pyright";
rev = "${version}";
+
hash = "sha256-IYQ6HUEaT3KjMcFeWal4Ru2A/Kxf7sAMZ1p48l9RQ2o=";
};
patchedPackageJSON = runCommand "package.json" { } ''
···
pname = "pyright-internal";
inherit version src;
sourceRoot = "${src.name}/packages/pyright-internal";
+
npmDepsHash = "sha256-P57+FEyjsHXwZ3A91bfecCuXvkrrwqsRHMjV3oGt1Nw=";
dontNpmBuild = true;
installPhase = ''
runHook preInstall
···
inherit version src;
sourceRoot = "${src.name}/packages/pyright";
+
npmDepsHash = "sha256-tLRSGuJMKAKvTsmERI7SyQXamAJPi/h4P/wQEo4HdtY=";
postPatch = ''
chmod +w ../../
+41
pkgs/by-name/st/stu/package.nix
···
···
+
{
+
lib,
+
fetchFromGitHub,
+
rustPlatform,
+
stdenv,
+
darwin,
+
stu,
+
testers,
+
}:
+
let
+
version = "0.4.2";
+
in
+
rustPlatform.buildRustPackage {
+
pname = "stu";
+
inherit version;
+
+
src = fetchFromGitHub {
+
owner = "lusingander";
+
repo = "stu";
+
rev = "v${version}";
+
hash = "sha256-T5b3aCepUj8COrKReEaK4JeUbR7Sv7022xSCW8k8Iow=";
+
};
+
+
cargoHash = "sha256-DFG/9bnckqLezbitceLtM3CSnKAcQcZlv39VfbkyM/w=";
+
+
buildInputs = lib.optionals stdenv.isDarwin [
+
darwin.apple_sdk.frameworks.AppKit
+
darwin.apple_sdk.frameworks.CoreGraphics
+
];
+
+
passthru.tests.version = testers.testVersion { package = stu; };
+
+
meta = {
+
description = "Terminal file explorer for S3 buckets";
+
changelog = "https://github.com/lusingander/stu/releases/tag/v${version}";
+
homepage = "https://lusingander.github.io/stu/";
+
license = lib.licenses.mit;
+
maintainers = [ lib.maintainers.Nebucatnetzer ];
+
mainProgram = "stu";
+
};
+
}
+85
pkgs/by-name/ty/typescript-language-server/package.nix
···
···
+
{ lib
+
, stdenv
+
, fetchFromGitHub
+
, fetchYarnDeps
+
, fixup-yarn-lock
+
, makeWrapper
+
, nodejs
+
, prefetch-yarn-deps
+
, yarn
+
, testers
+
}:
+
+
stdenv.mkDerivation (finalAttrs: {
+
pname = "typescript-language-server";
+
version = "4.3.3";
+
+
src = fetchFromGitHub {
+
owner = "typescript-language-server";
+
repo = "typescript-language-server";
+
rev = "v${finalAttrs.version}";
+
hash = "sha256-FCv0+tA7AuCdGeG6FEiMyRAHcl0WbezhNYLL7xp5FWU=";
+
};
+
+
offlineCache = fetchYarnDeps {
+
yarnLock = "${finalAttrs.src}/yarn.lock";
+
hash = "sha256-nSMhPfbWD93sGIKehBBE/bh4RzHXFtGAjeyG20m/LWQ=";
+
};
+
+
nativeBuildInputs = [
+
fixup-yarn-lock
+
makeWrapper
+
nodejs
+
prefetch-yarn-deps
+
yarn
+
];
+
+
configurePhase = ''
+
runHook preConfigure
+
+
export HOME=$(mktemp -d)
+
yarn config --offline set yarn-offline-mirror $offlineCache
+
fixup-yarn-lock yarn.lock
+
yarn --offline --frozen-lockfile --ignore-platform --ignore-scripts --no-progress --non-interactive install
+
patchShebangs node_modules
+
+
runHook postConfigure
+
'';
+
+
buildPhase = ''
+
runHook preBuild
+
+
yarn --offline build
+
+
runHook postBuild
+
'';
+
+
installPhase = ''
+
runHook preInstall
+
+
yarn --offline --production install
+
+
mkdir -p "$out/lib/node_modules/typescript-language-server"
+
cp -r lib node_modules package.json "$out/lib/node_modules/typescript-language-server"
+
+
makeWrapper "${nodejs}/bin/node" "$out/bin/typescript-language-server" \
+
--add-flags "$out/lib/node_modules/typescript-language-server/lib/cli.mjs"
+
+
runHook postInstall
+
'';
+
+
passthru.tests = {
+
version = testers.testVersion {
+
package = finalAttrs.finalPackage;
+
};
+
};
+
+
meta = {
+
changelog = "https://github.com/typescript-language-server/typescript-language-server/releases/tag/v${finalAttrs.version}";
+
description = "Language Server Protocol implementation for TypeScript using tsserver";
+
homepage = "https://github.com/typescript-language-server/typescript-language-server";
+
license = with lib.licenses; [ asl20 mit ];
+
mainProgram = "typescript-language-server";
+
maintainers = with lib.maintainers; [ marcel ];
+
};
+
})
+59 -49
pkgs/desktops/gnome/apps/gnome-clocks/default.nix
···
-
{ stdenv
-
, lib
-
, fetchurl
-
, meson
-
, ninja
-
, gettext
-
, pkg-config
-
, wrapGAppsHook4
-
, itstool
-
, desktop-file-utils
-
, vala
-
, libxml2
-
, gtk4
-
, glib
-
, sound-theme-freedesktop
-
, gsettings-desktop-schemas
-
, gnome-desktop
-
, geocode-glib_2
-
, gnome
-
, gdk-pixbuf
-
, geoclue2
-
, libgweather
-
, libadwaita
}:
-
stdenv.mkDerivation rec {
pname = "gnome-clocks";
version = "46.0";
src = fetchurl {
-
url = "mirror://gnome/sources/gnome-clocks/${lib.versions.major version}/${pname}-${version}.tar.xz";
hash = "sha256-6qPFeM3O+XVOZotWJnCbc/NSZxAjX0tyB20v9JpPmcc=";
};
···
libxml2
];
-
buildInputs = [
-
gtk4
-
glib
-
gsettings-desktop-schemas
-
gdk-pixbuf
-
gnome-desktop
-
geocode-glib_2
-
geoclue2
-
libgweather
-
libadwaita
-
];
-
-
preFixup = ''
-
gappsWrapperArgs+=(
-
# Fallback sound theme
-
--prefix XDG_DATA_DIRS : "${sound-theme-freedesktop}/share"
-
)
-
'';
doCheck = true;
···
};
};
-
meta = with lib; {
homepage = "https://apps.gnome.org/Clocks/";
-
description = "Clock application designed for GNOME 3";
mainProgram = "gnome-clocks";
-
maintainers = teams.gnome.members;
-
license = licenses.gpl2Plus;
-
platforms = platforms.unix;
};
-
}
···
+
{
+
stdenv,
+
lib,
+
fetchurl,
+
meson,
+
ninja,
+
gettext,
+
pkg-config,
+
wrapGAppsHook4,
+
itstool,
+
desktop-file-utils,
+
vala,
+
libxml2,
+
gtk4,
+
glib,
+
gsettings-desktop-schemas,
+
gnome-desktop,
+
geocode-glib_2,
+
gnome,
+
gdk-pixbuf,
+
geoclue2,
+
gst_all_1,
+
libgweather,
+
libadwaita,
}:
+
stdenv.mkDerivation (finalAttrs: {
pname = "gnome-clocks";
version = "46.0";
src = fetchurl {
+
url = "mirror://gnome/sources/gnome-clocks/${lib.versions.major finalAttrs.version}/gnome-clocks-${finalAttrs.version}.tar.xz";
hash = "sha256-6qPFeM3O+XVOZotWJnCbc/NSZxAjX0tyB20v9JpPmcc=";
};
···
libxml2
];
+
buildInputs =
+
[
+
gtk4
+
glib
+
gsettings-desktop-schemas
+
gdk-pixbuf
+
gnome-desktop
+
geocode-glib_2
+
geoclue2
+
libgweather
+
libadwaita
+
]
+
++ (with gst_all_1; [
+
# GStreamer plugins needed for Alarms
+
gstreamer
+
gst-plugins-base
+
gst-plugins-good
+
]);
doCheck = true;
···
};
};
+
meta = {
homepage = "https://apps.gnome.org/Clocks/";
+
description = "A simple and elegant clock application for GNOME";
+
longDescription = ''
+
A simple and elegant clock application. It includes world clocks, alarms,
+
a stopwatch, and timers.
+
+
- Show the time in different cities around the world
+
- Set alarms to wake you up
+
- Measure elapsed time with an accurate stopwatch
+
- Set timers to properly cook your food
+
'';
mainProgram = "gnome-clocks";
+
maintainers = lib.teams.gnome.members;
+
license = lib.licenses.gpl2Plus;
+
platforms = lib.platforms.unix;
};
+
})
+2 -1
pkgs/development/compilers/swift/compiler/default.nix
···
, pkg-config
, clang
, bintools
-
, python3
, git
, fetchpatch
, makeWrapper
···
}:
let
inherit (stdenv) hostPlatform targetPlatform;
···
, pkg-config
, clang
, bintools
+
, python3Packages
, git
, fetchpatch
, makeWrapper
···
}:
let
+
python3 = python3Packages.python.withPackages (p: [ p.setuptools ]); # python 3.12 compat.
inherit (stdenv) hostPlatform targetPlatform;
+2 -2
pkgs/development/libraries/intel-gmmlib/default.nix
···
stdenv.mkDerivation rec {
pname = "intel-gmmlib";
-
version = "22.4.0";
src = fetchFromGitHub {
owner = "intel";
repo = "gmmlib";
rev = "intel-gmmlib-${version}";
-
sha256 = "sha256-8Tjc7rm38pgRE/8ZXRLOqazZHmj5jQJFooSe31Chpww=";
};
nativeBuildInputs = [ cmake ];
···
stdenv.mkDerivation rec {
pname = "intel-gmmlib";
+
version = "22.4.1";
src = fetchFromGitHub {
owner = "intel";
repo = "gmmlib";
rev = "intel-gmmlib-${version}";
+
sha256 = "sha256-z8FPSqWlSubtt+gurntWnkeKsdO2B+KZXTv2Y+TL7t4=";
};
nativeBuildInputs = [ cmake ];
-32
pkgs/development/libraries/nv-codec-headers/default.nix
···
-
{ lib
-
, fetchgit
-
, stdenvNoCC
-
}:
-
-
let
-
make-nv-codec-headers = (import ./make-nv-codec-headers.nix) {
-
inherit lib fetchgit stdenvNoCC;
-
};
-
in
-
{
-
nv-codec-headers-8 = make-nv-codec-headers {
-
version = "8.2.15.2";
-
hash = "sha256-TKYT8vXqnUpq+M0grDeOR37n/ffqSWDYTrXIbl++BG4=";
-
};
-
nv-codec-headers-9 = make-nv-codec-headers {
-
version = "9.1.23.1";
-
hash = "sha256-kF5tv8Nh6I9x3hvSAdKLakeBVEcIiXFY6o6bD+tY2/U=";
-
};
-
nv-codec-headers-10 = make-nv-codec-headers {
-
version = "10.0.26.2";
-
hash = "sha256-BfW+fmPp8U22+HK0ZZY6fKUjqigWvOBi6DmW7SSnslg=";
-
};
-
nv-codec-headers-11 = make-nv-codec-headers {
-
version = "11.1.5.2";
-
hash = "sha256-KzaqwpzISHB7tSTruynEOJmSlJnAFK2h7/cRI/zkNPk=";
-
};
-
nv-codec-headers-12 = make-nv-codec-headers {
-
version = "12.1.14.0";
-
hash = "sha256-WJYuFmMGSW+B32LwE7oXv/IeTln6TNEeXSkquHh85Go=";
-
};
-
}
···
-32
pkgs/development/libraries/nv-codec-headers/make-nv-codec-headers.nix
···
-
{ lib
-
, stdenvNoCC
-
, fetchgit
-
}:
-
-
{ pname ? "nv-codec-headers"
-
, version
-
, hash
-
}:
-
-
stdenvNoCC.mkDerivation {
-
inherit pname version;
-
-
src = fetchgit {
-
url = "https://git.videolan.org/git/ffmpeg/nv-codec-headers.git";
-
rev = "n${version}";
-
inherit hash;
-
};
-
-
makeFlags = [
-
"PREFIX=$(out)"
-
];
-
-
meta = {
-
description = "FFmpeg version of headers for NVENC";
-
homepage = "https://ffmpeg.org/";
-
downloadPage = "https://git.videolan.org/?p=ffmpeg/nv-codec-headers.git";
-
license = with lib.licenses; [ mit ];
-
maintainers = with lib.maintainers; [ AndersonTorres ];
-
platforms = lib.platforms.all;
-
};
-
}
···
+1
pkgs/development/node-packages/aliases.nix
···
inherit (pkgs) titanium; # added 2023-08-17
triton = pkgs.triton; # Added 2023-05-06
typescript = pkgs.typescript; # Added 2023-06-21
inherit (pkgs) uglify-js; # added 2024-06-15
inherit (pkgs) undollar; # added 2024-06-29
inherit (pkgs) ungit; # added 2023-08-20
···
inherit (pkgs) titanium; # added 2023-08-17
triton = pkgs.triton; # Added 2023-05-06
typescript = pkgs.typescript; # Added 2023-06-21
+
inherit (pkgs) typescript-language-server; # added 2024-02-27
inherit (pkgs) uglify-js; # added 2024-06-15
inherit (pkgs) undollar; # added 2024-06-29
inherit (pkgs) ungit; # added 2023-08-20
-1
pkgs/development/node-packages/main-programs.nix
···
pscid = "pscid";
remod-cli = "remod";
teck-programmer = "teck-firmware-upgrade";
-
typescript-language-server = "typescript-language-server";
vscode-json-languageserver = "vscode-json-languageserver";
webtorrent-cli = "webtorrent";
}
···
pscid = "pscid";
remod-cli = "remod";
teck-programmer = "teck-firmware-upgrade";
vscode-json-languageserver = "vscode-json-languageserver";
webtorrent-cli = "webtorrent";
}
-1
pkgs/development/node-packages/node-packages.json
···
, "tsun"
, "ts-node"
, "ttf2eot"
-
, "typescript-language-server"
, "unified-language-server"
, "vega-cli"
, "vega-lite"
···
, "tsun"
, "ts-node"
, "ttf2eot"
, "unified-language-server"
, "vega-cli"
, "vega-lite"
-17
pkgs/development/node-packages/node-packages.nix
···
bypassCache = true;
reconstructLock = true;
};
-
typescript-language-server = nodeEnv.buildNodePackage {
-
name = "typescript-language-server";
-
packageName = "typescript-language-server";
-
version = "4.3.3";
-
src = fetchurl {
-
url = "https://registry.npmjs.org/typescript-language-server/-/typescript-language-server-4.3.3.tgz";
-
sha512 = "3QLj57Ru9S6zv10sa4z1pA3TIR1Rdkd04Ke0EszbO4fx5PLdlYhlC/PMxwlyxls9wrZs7wPCME1Ru0s1Gabz4Q==";
-
};
-
buildInputs = globalBuildInputs;
-
meta = {
-
description = "Language Server Protocol (LSP) implementation for TypeScript using tsserver";
-
license = "Apache-2.0";
-
};
-
production = true;
-
bypassCache = true;
-
reconstructLock = true;
-
};
unified-language-server = nodeEnv.buildNodePackage {
name = "unified-language-server";
packageName = "unified-language-server";
···
bypassCache = true;
reconstructLock = true;
};
unified-language-server = nodeEnv.buildNodePackage {
name = "unified-language-server";
packageName = "unified-language-server";
-7
pkgs/development/node-packages/overrides.nix
···
'';
};
-
typescript-language-server = prev.typescript-language-server.override {
-
nativeBuildInputs = [ pkgs.buildPackages.makeWrapper ];
-
postInstall = ''
-
${pkgs.xorg.lndir}/bin/lndir ${pkgs.typescript} $out
-
'';
-
};
-
uppy-companion = prev."@uppy/companion".override {
name = "uppy-companion";
};
···
'';
};
uppy-companion = prev."@uppy/companion".override {
name = "uppy-companion";
};
+2 -2
pkgs/development/python-modules/molecule/default.nix
···
buildPythonPackage rec {
pname = "molecule";
-
version = "24.6.0";
pyproject = true;
disabled = pythonOlder "3.10";
src = fetchPypi {
inherit pname version;
-
hash = "sha256-jey0xoT8r7hae08DjaEl7UJb3RDbdr8M20E/m4TkG1g=";
};
nativeBuildInputs = [
···
buildPythonPackage rec {
pname = "molecule";
+
version = "24.6.1";
pyproject = true;
disabled = pythonOlder "3.10";
src = fetchPypi {
inherit pname version;
+
hash = "sha256-QcGQOllyl8JgK9BZ4Qe17y4yydokeX3LeP+Yc8ZhXuY=";
};
nativeBuildInputs = [
+3
pkgs/development/python-modules/shimmy/default.nix
···
];
disabledTestPaths = [
# Requires unpackaged pyspiel
"tests/test_openspiel.py"
···
];
disabledTestPaths = [
+
# Requires unpackaged labmaze
+
"tests/test_dm_control_multi_agent.py"
+
# Requires unpackaged pyspiel
"tests/test_openspiel.py"
+4 -4
pkgs/development/python-modules/unicurses/default.nix
···
buildPythonPackage rec {
pname = "unicurses";
-
version = "3.0.0";
format = "setuptools";
src = fetchPypi {
inherit version;
pname = "Uni-Curses";
-
hash = "sha256-ZJUKWxu2cQlFGN1RNtyDacwSOtBiUKzk9SIDD0IQiuU=";
};
propagatedBuildInputs = [ x256 ];
···
# Necessary because ctypes.util.find_library does not find the ncurses libraries
postPatch = ''
substituteInPlace './unicurses/__init__.py' \
-
--replace "find_library('ncursesw')" '"${ncurses}/lib/libncursesw.so.6"' \
-
--replace "find_library('panelw')" '"${ncurses}/lib/libpanelw.so.6"'
'';
pythonImportsCheck = [ "unicurses" ];
···
buildPythonPackage rec {
pname = "unicurses";
+
version = "3.1.2";
format = "setuptools";
src = fetchPypi {
inherit version;
pname = "Uni-Curses";
+
hash = "sha256-M4mjdmy2NSf5KiTVYznPy86bVgZB5u1vDi6GIH1Frc4=";
};
propagatedBuildInputs = [ x256 ];
···
# Necessary because ctypes.util.find_library does not find the ncurses libraries
postPatch = ''
substituteInPlace './unicurses/__init__.py' \
+
--replace-fail "find_library('ncursesw')" '"${ncurses}/lib/libncursesw.so.6"' \
+
--replace-fail "find_library('panelw')" '"${ncurses}/lib/libpanelw.so.6"'
'';
pythonImportsCheck = [ "unicurses" ];
+3 -3
pkgs/development/tools/rust/cargo-run-bin/default.nix
···
rustPlatform.buildRustPackage rec {
pname = "cargo-run-bin";
-
version = "1.7.2";
src = fetchCrate {
inherit pname version;
-
hash = "sha256-VhDCOTabj/HHc6bYdAUOErvxXOzyY3+e7GccZcb1cSQ=";
};
-
cargoHash = "sha256-riWWxv3FsBrgzVUWGtKvV4WjhgsXImLpiS9EJ40kCn8=";
# multiple impurities in tests
doCheck = false;
···
rustPlatform.buildRustPackage rec {
pname = "cargo-run-bin";
+
version = "1.7.3";
src = fetchCrate {
inherit pname version;
+
hash = "sha256-VMlia5EEnNiNkOzwdTZwoaKtAxHz5xAxxnGlGoSbD80=";
};
+
cargoHash = "sha256-DFsDUoYq+TE8ifwQIl5YfoeUl8udIf1z35rFmLe/4To=";
# multiple impurities in tests
doCheck = false;
+3 -3
pkgs/development/tools/rust/cargo-show-asm/default.nix
···
rustPlatform.buildRustPackage rec {
pname = "cargo-show-asm";
-
version = "0.2.37";
src = fetchCrate {
inherit pname version;
-
hash = "sha256-doN4oL7ZRuORgVsPFMY57zRFwz4m2BqgEgNvnf4t5cU=";
};
-
cargoHash = "sha256-QWMsDUBJZgXXd20FYDpJYXxofhT7YohTV0hiHePww1o=";
nativeBuildInputs = [
installShellFiles
···
rustPlatform.buildRustPackage rec {
pname = "cargo-show-asm";
+
version = "0.2.38";
src = fetchCrate {
inherit pname version;
+
hash = "sha256-CYnW6wv4aL/Qs6IwPaRi9w8/iNMo5to0J3z4zTdgHaE=";
};
+
cargoHash = "sha256-jRsxP4b1URTDcnp8VsZvSTaPNOBBwq570eCn2jfQSGg=";
nativeBuildInputs = [
installShellFiles
+5
pkgs/os-specific/linux/audit/default.nix
···
, linuxHeaders
, python3
, swig
# Enabling python support while cross compiling would be possible, but the
# configure script tries executing python to gather info instead of relying on
···
];
enableParallelBuilding = true;
meta = {
homepage = "https://people.redhat.com/sgrubb/audit/";
···
, linuxHeaders
, python3
, swig
+
, pkgsCross
# Enabling python support while cross compiling would be possible, but the
# configure script tries executing python to gather info instead of relying on
···
];
enableParallelBuilding = true;
+
+
passthru.tests = {
+
musl = pkgsCross.musl64.audit;
+
};
meta = {
homepage = "https://people.redhat.com/sgrubb/audit/";
+2 -2
pkgs/os-specific/linux/prl-tools/default.nix
···
in
stdenv.mkDerivation (finalAttrs: {
pname = "prl-tools";
-
version = "19.4.0-54962";
# We download the full distribution to extract prl-tools-lin.iso from
# => ${dmg}/Parallels\ Desktop.app/Contents/Resources/Tools/prl-tools-lin.iso
src = fetchurl {
url = "https://download.parallels.com/desktop/v${lib.versions.major finalAttrs.version}/${finalAttrs.version}/ParallelsDesktop-${finalAttrs.version}.dmg";
-
hash = "sha256-c/MrWUvwY/Z38uOBbetJSVkZlwkdzFhw6wpk1L0BuQs=";
};
hardeningDisable = [ "pic" "format" ];
···
in
stdenv.mkDerivation (finalAttrs: {
pname = "prl-tools";
+
version = "19.4.1-54985";
# We download the full distribution to extract prl-tools-lin.iso from
# => ${dmg}/Parallels\ Desktop.app/Contents/Resources/Tools/prl-tools-lin.iso
src = fetchurl {
url = "https://download.parallels.com/desktop/v${lib.versions.major finalAttrs.version}/${finalAttrs.version}/ParallelsDesktop-${finalAttrs.version}.dmg";
+
hash = "sha256-VBHCsxaMI6mfmc/iQ4hJW/592rKck9HilTX2Hq7Hb5s=";
};
hardeningDisable = [ "pic" "format" ];
+3 -2
pkgs/servers/monitoring/loki/default.nix
···
}:
buildGoModule rec {
-
version = "3.0.0";
pname = "grafana-loki";
src = fetchFromGitHub {
owner = "grafana";
repo = "loki";
rev = "v${version}";
-
hash = "sha256-2+OST6bKIjuhrXJKA+8vUERKT1/min7tN8oFxKn3L74=";
};
vendorHash = null;
···
"cmd/loki-canary"
"clients/cmd/promtail"
"cmd/logcli"
];
tags = ["promtail_journal_enabled"];
···
}:
buildGoModule rec {
+
version = "3.1.0";
pname = "grafana-loki";
src = fetchFromGitHub {
owner = "grafana";
repo = "loki";
rev = "v${version}";
+
hash = "sha256-HISDW6qxpfJpOFweUQo6T+8aV5mvB3o3jnx8CZxweJo=";
};
vendorHash = null;
···
"cmd/loki-canary"
"clients/cmd/promtail"
"cmd/logcli"
+
"cmd/lokitool"
];
tags = ["promtail_journal_enabled"];
+3 -3
pkgs/tools/misc/broot/default.nix
···
rustPlatform.buildRustPackage rec {
pname = "broot";
-
version = "1.39.0";
src = fetchFromGitHub {
owner = "Canop";
repo = pname;
rev = "v${version}";
-
hash = "sha256-OmkO7qZ8l9HvSJFGNgTeCo/gS17fF0edfOc8wvf29/I=";
};
-
cargoHash = "sha256-lfFv8NF5nID96tCcLB7bXnDfAyrjoXhnBa2QDHz3nY4=";
nativeBuildInputs = [
installShellFiles
···
rustPlatform.buildRustPackage rec {
pname = "broot";
+
version = "1.39.1";
src = fetchFromGitHub {
owner = "Canop";
repo = pname;
rev = "v${version}";
+
hash = "sha256-cKCIKyXYtDfW3UTTr6QL7Gh/bfb9aZAFRptaP2zdcxc=";
};
+
cargoHash = "sha256-JsMgToSzvf3JcVLz5a6kygtxhrU8YSYrHrwbMRhQ1uw=";
nativeBuildInputs = [
installShellFiles
+4 -14
pkgs/top-level/all-packages.nix
···
clockify = callPackage ../applications/office/clockify { };
-
contrast = callPackage ../applications/accessibility/contrast { };
-
cplex = callPackage ../applications/science/math/cplex (config.cplex or {});
cpulimit = callPackage ../tools/misc/cpulimit { };
···
nuspell = callPackage ../development/libraries/nuspell { };
nuspellWithDicts = dicts: callPackage ../development/libraries/nuspell/wrapper.nix { inherit dicts; };
-
# splicing magic
-
nv-codec-headers-versions = callPackages ../development/libraries/nv-codec-headers { };
-
inherit (nv-codec-headers-versions)
-
nv-codec-headers-9
-
nv-codec-headers-10
-
nv-codec-headers-11
-
nv-codec-headers-12
-
;
-
# A default nv-codec-headers to make people happy
-
nv-codec-headers = nv-codec-headers-versions.nv-codec-headers-9;
nvidiaCtkPackages =
callPackage ../by-name/nv/nvidia-container-toolkit/packages.nix
···
icon-library = callPackage ../applications/graphics/icon-library { };
id3v2 = callPackage ../applications/audio/id3v2 { };
-
-
identity = callPackage ../applications/graphics/identity { };
ifenslave = callPackage ../os-specific/linux/ifenslave { };
···
clockify = callPackage ../applications/office/clockify { };
cplex = callPackage ../applications/science/math/cplex (config.cplex or {});
cpulimit = callPackage ../tools/misc/cpulimit { };
···
nuspell = callPackage ../development/libraries/nuspell { };
nuspellWithDicts = dicts: callPackage ../development/libraries/nuspell/wrapper.nix { inherit dicts; };
+
nv-codec-headers-9 = nv-codec-headers.override { majorVersion = "9"; };
+
nv-codec-headers-10 = nv-codec-headers.override { majorVersion = "10"; };
+
nv-codec-headers-11 = nv-codec-headers.override { majorVersion = "11"; };
+
nv-codec-headers-12 = nv-codec-headers.override { majorVersion = "12"; };
nvidiaCtkPackages =
callPackage ../by-name/nv/nvidia-container-toolkit/packages.nix
···
icon-library = callPackage ../applications/graphics/icon-library { };
id3v2 = callPackage ../applications/audio/id3v2 { };
ifenslave = callPackage ../os-specific/linux/ifenslave { };