mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-31 17:23:34 +00:00
Merge staging-next into staging
This commit is contained in:
commit
1f5f0905f8
@ -7536,7 +7536,8 @@
|
||||
name = "Yacine Hmito";
|
||||
};
|
||||
gracicot = {
|
||||
email = "gracicot42@gmail.com";
|
||||
email = "dev@gracicot.com";
|
||||
matrix = "@gracicot-59e8f173d73408ce4f7ac803:gitter.im";
|
||||
github = "gracicot";
|
||||
githubId = 2906673;
|
||||
name = "Guillaume Racicot";
|
||||
@ -9110,6 +9111,12 @@
|
||||
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 = "jchv";
|
||||
@ -12261,6 +12268,12 @@
|
||||
githubId = 30078229;
|
||||
name = "marble";
|
||||
};
|
||||
marcel = {
|
||||
email = "me@m4rc3l.de";
|
||||
github = "MarcelCoding";
|
||||
githubId = 34819524;
|
||||
name = "Marcel";
|
||||
};
|
||||
marcovergueira = {
|
||||
email = "vergueira.marco@gmail.com";
|
||||
github = "marcovergueira";
|
||||
|
@ -1,17 +1,29 @@
|
||||
{ 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 }:
|
||||
{
|
||||
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.3";
|
||||
version = "4.0.5";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://launchpad.net/soundconverter/trunk/${version}/+download/${pname}-${version}.tar.gz";
|
||||
sha256 = "sha256-hzIG/4LD3705erPYvXb7uoRwF9LtKKIKB3jrhpYMsZ0=";
|
||||
src = fetchFromGitHub {
|
||||
owner = "kassoulet";
|
||||
repo = "soundconverter";
|
||||
rev = version;
|
||||
hash = "sha256-sno5EOh8HHfBTIE67VA8mheYp5wUMFRCbcS2EtKES3c=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
@ -30,16 +42,14 @@ python3Packages.buildPythonApplication rec {
|
||||
gobject-introspection
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
python3Packages.gst-python
|
||||
python3Packages.distutils-extra
|
||||
python3Packages.setuptools
|
||||
python3Packages.pygobject3
|
||||
dependencies = with python3Packages; [
|
||||
gst-python
|
||||
distutils-extra
|
||||
setuptools
|
||||
pygobject3
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
xvfb-run
|
||||
];
|
||||
nativeCheckInputs = [ xvfb-run ];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace bin/soundconverter --replace \
|
||||
@ -47,19 +57,31 @@ python3Packages.buildPythonApplication rec {
|
||||
"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']:"
|
||||
'';
|
||||
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
|
||||
@ -70,7 +92,13 @@ python3Packages.buildPythonApplication rec {
|
||||
# Necessary to set GDK_PIXBUF_MODULE_FILE.
|
||||
strictDeps = false;
|
||||
|
||||
meta = with lib; {
|
||||
dontWrapGApps = true;
|
||||
|
||||
preFixup = ''
|
||||
makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = "https://soundconverter.org/";
|
||||
description = "Leading audio file converter for the GNOME Desktop";
|
||||
mainProgram = "soundconverter";
|
||||
@ -79,8 +107,11 @@ python3Packages.buildPythonApplication rec {
|
||||
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 ];
|
||||
license = lib.licenses.gpl3Only;
|
||||
platforms = lib.platforms.linux;
|
||||
maintainers = with lib.maintainers; [
|
||||
jakubgs
|
||||
aleksana
|
||||
];
|
||||
};
|
||||
}
|
||||
|
@ -125,7 +125,8 @@ stdenv.mkDerivation rec {
|
||||
sed -i 's|${builtins.storeDir}/\(.\{8\}\)[^-]*-|${builtins.storeDir}/\1...-|g' ./src/build-info.h
|
||||
'';
|
||||
|
||||
hardeningDisable = [ "stackprotector" ];
|
||||
# zerocallusedregs interferes during BPF compilation; TODO: perhaps improve
|
||||
hardeningDisable = [ "stackprotector" "zerocallusedregs" ];
|
||||
|
||||
installFlags = [
|
||||
"e_datadir=\${TMPDIR}"
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ lib, rustPlatform, fetchgit, fetchpatch
|
||||
{ lib, rustPlatform, fetchgit
|
||||
, pkg-config, protobuf, python3, wayland-scanner
|
||||
, libcap, libdrm, libepoxy, minijail, virglrenderer, wayland, wayland-protocols
|
||||
, pkgsCross
|
||||
@ -6,27 +6,18 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "crosvm";
|
||||
version = "125.0";
|
||||
version = "126.0";
|
||||
|
||||
src = fetchgit {
|
||||
url = "https://chromium.googlesource.com/chromiumos/platform/crosvm";
|
||||
rev = "6a7ff1ecb7fad6820d3bbfe8b11e65854059aba5";
|
||||
hash = "sha256-y/vHU8i9YNbzSHla853z/2w914mVMFOryyaHE1uxlvM=";
|
||||
rev = "5533201f3ff3230d121e06100557d369c055e6dc";
|
||||
hash = "sha256-Ufi8dIhNgXvD53PWLG2uj7CD37UZIegrqAQz3wTKTvE=";
|
||||
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=";
|
||||
cargoHash = "sha256-E2lyBgptQs+/5JS2WJc4ietguXdK16DFEVzqylmX+Pk=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config protobuf python3 rustPlatform.bindgenHook wayland-scanner
|
||||
|
@ -1,46 +1,48 @@
|
||||
{ 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
|
||||
, 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
|
||||
, ...
|
||||
}:
|
||||
|
||||
@ -93,7 +95,10 @@ in
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
] ++ lib.optionals (stdenv.buildPlatform.config != stdenv.hostPlatform.config) [
|
||||
python3 autoconf automake libtool
|
||||
python3
|
||||
autoconf
|
||||
automake
|
||||
libtool
|
||||
];
|
||||
buildInputs = [ libevdev ];
|
||||
|
||||
@ -132,21 +137,34 @@ in
|
||||
};
|
||||
|
||||
gobject-sys = attrs: {
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ dbus-glib ];
|
||||
};
|
||||
|
||||
gio-sys = attrs: {
|
||||
buildInputs = [ dbus-glib ];
|
||||
};
|
||||
|
||||
gdk-pixbuf-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 ];
|
||||
@ -203,6 +221,11 @@ in
|
||||
buildInputs = [ graphene ];
|
||||
};
|
||||
|
||||
javascriptcore-rs-sys = attrs: {
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ webkitgtk_4_1 ];
|
||||
};
|
||||
|
||||
nettle-sys = attrs: {
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ nettle clang ];
|
||||
@ -302,6 +325,11 @@ in
|
||||
buildInputs = [ freetype fontconfig ];
|
||||
};
|
||||
|
||||
soup3-sys = attrs: {
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ libsoup_3 ];
|
||||
};
|
||||
|
||||
thrussh-libsodium = attrs: {
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ libsodium ];
|
||||
@ -311,6 +339,11 @@ in
|
||||
nativeBuildInputs = [ protobuf ];
|
||||
};
|
||||
|
||||
webkit2gtk-sys = attrs: {
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ webkitgtk_4_1 ];
|
||||
};
|
||||
|
||||
xcb = attrs: {
|
||||
buildInputs = [ python3 ];
|
||||
};
|
||||
|
@ -18,10 +18,10 @@ stdenvNoCC.mkDerivation (finalAttrs: let
|
||||
};
|
||||
in {
|
||||
pname = "affine";
|
||||
version = "0.14.9";
|
||||
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-JGWkmvcdgkvWDAffInzf2lUFHVjkU/a4m25f8BtQqZc=";
|
||||
hash = "sha256-Nu5s/0sP4exRtfjd058tD5jzDezPHnHjm5CJxOLJvVE=";
|
||||
};
|
||||
nativeBuildInputs = [
|
||||
copyDesktopItems
|
||||
|
30
pkgs/by-name/co/commit/command-from-path.patch
Normal file
30
pkgs/by-name/co/commit/command-from-path.patch
Normal file
@ -0,0 +1,30 @@
|
||||
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
Normal file
75
pkgs/by-name/co/commit/package.nix
Normal file
@ -0,0 +1,75 @@
|
||||
{
|
||||
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;
|
||||
};
|
||||
}
|
@ -1,20 +1,22 @@
|
||||
{ stdenv
|
||||
, lib
|
||||
, fetchFromGitLab
|
||||
, cairo
|
||||
, cargo
|
||||
, desktop-file-utils
|
||||
, gettext
|
||||
, glib
|
||||
, gtk4
|
||||
, libadwaita
|
||||
, meson
|
||||
, ninja
|
||||
, pango
|
||||
, pkg-config
|
||||
, rustPlatform
|
||||
, rustc
|
||||
, wrapGAppsHook4
|
||||
{
|
||||
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 {
|
||||
@ -56,14 +58,16 @@ stdenv.mkDerivation rec {
|
||||
pango
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
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 = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ ];
|
||||
platforms = platforms.unix;
|
||||
# never built on aarch64-darwin, x86_64-darwin since first introduction in nixpkgs
|
||||
broken = stdenv.isDarwin;
|
||||
license = lib.licenses.gpl3Plus;
|
||||
maintainers = with lib.maintainers; [ getchoo ];
|
||||
mainProgram = "contrast";
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
73
pkgs/by-name/de/decibels/package.nix
Normal file
73
pkgs/by-name/de/decibels/package.nix
Normal file
@ -0,0 +1,73 @@
|
||||
{
|
||||
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;
|
||||
};
|
||||
}
|
@ -20,13 +20,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "gabutdm";
|
||||
version = "2.2.8";
|
||||
version = "2.5.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "gabutakut";
|
||||
repo = "gabutdm";
|
||||
rev = version;
|
||||
hash = "sha256-HF+zBDkA9fYauLUYsvJJxcRggHu+5qH4rm0IM/tL9Hc=";
|
||||
hash = "sha256-0PBNKacgKT5xcd0mnn0y9ltmxEAbP+S7MLtt/Zau8vs=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -7,12 +7,12 @@
|
||||
}:
|
||||
|
||||
let
|
||||
version = "3.1.8";
|
||||
version = "3.1.9";
|
||||
src = fetchFromGitHub {
|
||||
owner = "jaseg";
|
||||
repo = "gerbolyze";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-uF06aU9zT7LjYHreQ8aFQKn/wAesS31LvzHBgD50LfQ=";
|
||||
hash = "sha256-bisLln3Y239HuJt0MkrCU+6vLLbEDxfTjEJMkcbE/wE=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
|
@ -1,24 +1,23 @@
|
||||
{ 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
|
||||
{
|
||||
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 {
|
||||
@ -67,12 +66,12 @@ stdenv.mkDerivation rec {
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
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; [ ];
|
||||
license = lib.licenses.gpl3Plus;
|
||||
maintainers = with lib.maintainers; [ getchoo ];
|
||||
mainProgram = "identity";
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
62
pkgs/by-name/mo/morphosis/package.nix
Normal file
62
pkgs/by-name/mo/morphosis/package.nix
Normal file
@ -0,0 +1,62 @@
|
||||
{
|
||||
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;
|
||||
};
|
||||
}
|
@ -7,16 +7,16 @@
|
||||
}:
|
||||
buildGoModule rec {
|
||||
pname = "nezha-agent";
|
||||
version = "0.17.2";
|
||||
version = "0.17.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "nezhahq";
|
||||
repo = "agent";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-PUBomSo11URCCJB/qFeSHSS3pw/vvcgDBo9Kc0lJQLE=";
|
||||
hash = "sha256-dnmoGf9z7R14Fen7maQyk/H600Hgkx7esGWvjddLDMc=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-wVZWP8yvazxs8sG47MTOlWzKwjsZO/b7PN987fwWEaY=";
|
||||
vendorHash = "sha256-SLF5Oq++VzKzy6mfqJuRlAJMBXyb1EHWN+qoyCw9kv4=";
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
|
38
pkgs/by-name/nv/nv-codec-headers/package.nix
Normal file
38
pkgs/by-name/nv/nv-codec-headers/package.nix
Normal file
@ -0,0 +1,38 @@
|
||||
{
|
||||
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
Normal file
42
pkgs/by-name/nv/nv-codec-headers/sources.nix
Normal file
@ -0,0 +1,42 @@
|
||||
{
|
||||
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=";
|
||||
};
|
||||
}
|
@ -12,13 +12,13 @@
|
||||
|
||||
let
|
||||
pname = "nwg-drawer";
|
||||
version = "0.4.8";
|
||||
version = "0.4.9";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "nwg-piotr";
|
||||
repo = "nwg-drawer";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-ZfWl9DfU8h300WbvFNOCs7QGp11NB49ShPRxY5hpNFE=";
|
||||
hash = "sha256-KhgALKJNS7Y+u5pAfpvTup0W1+Vi6r1uaVFQZRiv4Dk=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-J7r3YyfV5lRZbjKo7ZNHQrOqR1GNbUB7GxRMlXuuw/c=";
|
||||
|
159
pkgs/by-name/os/ossia-score/package.nix
Normal file
159
pkgs/by-name/os/ossia-score/package.nix
Normal file
@ -0,0 +1,159 @@
|
||||
{ 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 ];
|
||||
};
|
||||
})
|
@ -1,13 +1,13 @@
|
||||
{ lib, buildNpmPackage, fetchFromGitHub, runCommand, jq }:
|
||||
|
||||
let
|
||||
version = "1.1.369";
|
||||
version = "1.1.370";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Microsoft";
|
||||
repo = "pyright";
|
||||
rev = "${version}";
|
||||
hash = "sha256-YAv+2QiArHoZrLNisCFaBNhqQm5uHJdtil0w4xtLl4k=";
|
||||
hash = "sha256-IYQ6HUEaT3KjMcFeWal4Ru2A/Kxf7sAMZ1p48l9RQ2o=";
|
||||
};
|
||||
|
||||
patchedPackageJSON = runCommand "package.json" { } ''
|
||||
@ -37,7 +37,7 @@ let
|
||||
pname = "pyright-internal";
|
||||
inherit version src;
|
||||
sourceRoot = "${src.name}/packages/pyright-internal";
|
||||
npmDepsHash = "sha256-xnS7guT8E/wHk3d2ESve4HgMPfH/NuP5TsnsGlvQtUI=";
|
||||
npmDepsHash = "sha256-P57+FEyjsHXwZ3A91bfecCuXvkrrwqsRHMjV3oGt1Nw=";
|
||||
dontNpmBuild = true;
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
@ -51,7 +51,7 @@ buildNpmPackage rec {
|
||||
inherit version src;
|
||||
|
||||
sourceRoot = "${src.name}/packages/pyright";
|
||||
npmDepsHash = "sha256-ijG0thy0YPPrgMYCJrRqIXkexuHVKcXX7PxPpCJbsg8=";
|
||||
npmDepsHash = "sha256-tLRSGuJMKAKvTsmERI7SyQXamAJPi/h4P/wQEo4HdtY=";
|
||||
|
||||
postPatch = ''
|
||||
chmod +w ../../
|
||||
|
41
pkgs/by-name/st/stu/package.nix
Normal file
41
pkgs/by-name/st/stu/package.nix
Normal file
@ -0,0 +1,41 @@
|
||||
{
|
||||
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
Normal file
85
pkgs/by-name/ty/typescript-language-server/package.nix
Normal file
@ -0,0 +1,85 @@
|
||||
{ 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 ];
|
||||
};
|
||||
})
|
@ -1,34 +1,35 @@
|
||||
{ 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,
|
||||
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 rec {
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "gnome-clocks";
|
||||
version = "46.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/gnome-clocks/${lib.versions.major version}/${pname}-${version}.tar.xz";
|
||||
url = "mirror://gnome/sources/gnome-clocks/${lib.versions.major finalAttrs.version}/gnome-clocks-${finalAttrs.version}.tar.xz";
|
||||
hash = "sha256-6qPFeM3O+XVOZotWJnCbc/NSZxAjX0tyB20v9JpPmcc=";
|
||||
};
|
||||
|
||||
@ -44,24 +45,24 @@ stdenv.mkDerivation rec {
|
||||
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"
|
||||
)
|
||||
'';
|
||||
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;
|
||||
|
||||
@ -72,12 +73,21 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
homepage = "https://apps.gnome.org/Clocks/";
|
||||
description = "Clock application designed for GNOME 3";
|
||||
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 = teams.gnome.members;
|
||||
license = licenses.gpl2Plus;
|
||||
platforms = platforms.unix;
|
||||
maintainers = lib.teams.gnome.members;
|
||||
license = lib.licenses.gpl2Plus;
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
})
|
||||
|
@ -10,7 +10,7 @@
|
||||
, pkg-config
|
||||
, clang
|
||||
, bintools
|
||||
, python3
|
||||
, python3Packages
|
||||
, git
|
||||
, fetchpatch
|
||||
, makeWrapper
|
||||
@ -42,6 +42,7 @@
|
||||
}:
|
||||
|
||||
let
|
||||
python3 = python3Packages.python.withPackages (p: [ p.setuptools ]); # python 3.12 compat.
|
||||
|
||||
inherit (stdenv) hostPlatform targetPlatform;
|
||||
|
||||
|
@ -9,13 +9,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "intel-gmmlib";
|
||||
version = "22.4.0";
|
||||
version = "22.4.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "intel";
|
||||
repo = "gmmlib";
|
||||
rev = "intel-gmmlib-${version}";
|
||||
sha256 = "sha256-8Tjc7rm38pgRE/8ZXRLOqazZHmj5jQJFooSe31Chpww=";
|
||||
sha256 = "sha256-z8FPSqWlSubtt+gurntWnkeKsdO2B+KZXTv2Y+TL7t4=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
@ -1,32 +0,0 @@
|
||||
{ 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=";
|
||||
};
|
||||
}
|
@ -1,32 +0,0 @@
|
||||
{ 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;
|
||||
};
|
||||
}
|
@ -171,6 +171,7 @@ mapAliases {
|
||||
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
|
||||
|
@ -51,7 +51,6 @@
|
||||
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";
|
||||
}
|
||||
|
@ -248,7 +248,6 @@
|
||||
, "tsun"
|
||||
, "ts-node"
|
||||
, "ttf2eot"
|
||||
, "typescript-language-server"
|
||||
, "unified-language-server"
|
||||
, "vega-cli"
|
||||
, "vega-lite"
|
||||
|
17
pkgs/development/node-packages/node-packages.nix
generated
17
pkgs/development/node-packages/node-packages.nix
generated
@ -90157,23 +90157,6 @@ in
|
||||
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";
|
||||
|
@ -389,13 +389,6 @@ final: prev: {
|
||||
'';
|
||||
};
|
||||
|
||||
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";
|
||||
};
|
||||
|
@ -23,14 +23,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "molecule";
|
||||
version = "24.6.0";
|
||||
version = "24.6.1";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.10";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-jey0xoT8r7hae08DjaEl7UJb3RDbdr8M20E/m4TkG1g=";
|
||||
hash = "sha256-QcGQOllyl8JgK9BZ4Qe17y4yydokeX3LeP+Yc8ZhXuY=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -53,6 +53,9 @@ buildPythonPackage rec {
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
# Requires unpackaged labmaze
|
||||
"tests/test_dm_control_multi_agent.py"
|
||||
|
||||
# Requires unpackaged pyspiel
|
||||
"tests/test_openspiel.py"
|
||||
|
||||
|
@ -8,13 +8,13 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "unicurses";
|
||||
version = "3.0.0";
|
||||
version = "3.1.2";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit version;
|
||||
pname = "Uni-Curses";
|
||||
hash = "sha256-ZJUKWxu2cQlFGN1RNtyDacwSOtBiUKzk9SIDD0IQiuU=";
|
||||
hash = "sha256-M4mjdmy2NSf5KiTVYznPy86bVgZB5u1vDi6GIH1Frc4=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ x256 ];
|
||||
@ -22,8 +22,8 @@ buildPythonPackage rec {
|
||||
# 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"'
|
||||
--replace-fail "find_library('ncursesw')" '"${ncurses}/lib/libncursesw.so.6"' \
|
||||
--replace-fail "find_library('panelw')" '"${ncurses}/lib/libpanelw.so.6"'
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "unicurses" ];
|
||||
|
@ -5,14 +5,14 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "cargo-run-bin";
|
||||
version = "1.7.2";
|
||||
version = "1.7.3";
|
||||
|
||||
src = fetchCrate {
|
||||
inherit pname version;
|
||||
hash = "sha256-VhDCOTabj/HHc6bYdAUOErvxXOzyY3+e7GccZcb1cSQ=";
|
||||
hash = "sha256-VMlia5EEnNiNkOzwdTZwoaKtAxHz5xAxxnGlGoSbD80=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-riWWxv3FsBrgzVUWGtKvV4WjhgsXImLpiS9EJ40kCn8=";
|
||||
cargoHash = "sha256-DFsDUoYq+TE8ifwQIl5YfoeUl8udIf1z35rFmLe/4To=";
|
||||
|
||||
# multiple impurities in tests
|
||||
doCheck = false;
|
||||
|
@ -9,14 +9,14 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "cargo-show-asm";
|
||||
version = "0.2.37";
|
||||
version = "0.2.38";
|
||||
|
||||
src = fetchCrate {
|
||||
inherit pname version;
|
||||
hash = "sha256-doN4oL7ZRuORgVsPFMY57zRFwz4m2BqgEgNvnf4t5cU=";
|
||||
hash = "sha256-CYnW6wv4aL/Qs6IwPaRi9w8/iNMo5to0J3z4zTdgHaE=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-QWMsDUBJZgXXd20FYDpJYXxofhT7YohTV0hiHePww1o=";
|
||||
cargoHash = "sha256-jRsxP4b1URTDcnp8VsZvSTaPNOBBwq570eCn2jfQSGg=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
installShellFiles
|
||||
|
@ -8,6 +8,7 @@
|
||||
, 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
|
||||
@ -74,6 +75,10 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
passthru.tests = {
|
||||
musl = pkgsCross.musl64.audit;
|
||||
};
|
||||
|
||||
meta = {
|
||||
homepage = "https://people.redhat.com/sgrubb/audit/";
|
||||
description = "Audit Library";
|
||||
|
@ -36,13 +36,13 @@ let
|
||||
in
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "prl-tools";
|
||||
version = "19.4.0-54962";
|
||||
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-c/MrWUvwY/Z38uOBbetJSVkZlwkdzFhw6wpk1L0BuQs=";
|
||||
hash = "sha256-VBHCsxaMI6mfmc/iQ4hJW/592rKck9HilTX2Hq7Hb5s=";
|
||||
};
|
||||
|
||||
hardeningDisable = [ "pic" "format" ];
|
||||
|
@ -10,14 +10,14 @@
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
version = "3.0.0";
|
||||
version = "3.1.0";
|
||||
pname = "grafana-loki";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "grafana";
|
||||
repo = "loki";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-2+OST6bKIjuhrXJKA+8vUERKT1/min7tN8oFxKn3L74=";
|
||||
hash = "sha256-HISDW6qxpfJpOFweUQo6T+8aV5mvB3o3jnx8CZxweJo=";
|
||||
};
|
||||
|
||||
vendorHash = null;
|
||||
@ -28,6 +28,7 @@ buildGoModule rec {
|
||||
"cmd/loki-canary"
|
||||
"clients/cmd/promtail"
|
||||
"cmd/logcli"
|
||||
"cmd/lokitool"
|
||||
];
|
||||
|
||||
tags = ["promtail_journal_enabled"];
|
||||
|
@ -19,16 +19,16 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "broot";
|
||||
version = "1.39.0";
|
||||
version = "1.39.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Canop";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-OmkO7qZ8l9HvSJFGNgTeCo/gS17fF0edfOc8wvf29/I=";
|
||||
hash = "sha256-cKCIKyXYtDfW3UTTr6QL7Gh/bfb9aZAFRptaP2zdcxc=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-lfFv8NF5nID96tCcLB7bXnDfAyrjoXhnBa2QDHz3nY4=";
|
||||
cargoHash = "sha256-JsMgToSzvf3JcVLz5a6kygtxhrU8YSYrHrwbMRhQ1uw=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
installShellFiles
|
||||
|
@ -4717,8 +4717,6 @@ with pkgs;
|
||||
|
||||
clockify = callPackage ../applications/office/clockify { };
|
||||
|
||||
contrast = callPackage ../applications/accessibility/contrast { };
|
||||
|
||||
cplex = callPackage ../applications/science/math/cplex (config.cplex or {});
|
||||
|
||||
cpulimit = callPackage ../tools/misc/cpulimit { };
|
||||
@ -23366,16 +23364,10 @@ with pkgs;
|
||||
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;
|
||||
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
|
||||
@ -31584,8 +31576,6 @@ with pkgs;
|
||||
|
||||
id3v2 = callPackage ../applications/audio/id3v2 { };
|
||||
|
||||
identity = callPackage ../applications/graphics/identity { };
|
||||
|
||||
ifenslave = callPackage ../os-specific/linux/ifenslave { };
|
||||
|
||||
ii = callPackage ../applications/networking/irc/ii {
|
||||
|
Loading…
Reference in New Issue
Block a user