Merge staging-next into staging
This commit is contained in:
commit
a5a5133aaf
|
@ -1135,10 +1135,10 @@ rec {
|
||||||
type = toType;
|
type = toType;
|
||||||
});
|
});
|
||||||
config = mkMerge [
|
config = mkMerge [
|
||||||
{
|
(optionalAttrs (options ? warnings) {
|
||||||
warnings = optional (warn && fromOpt.isDefined)
|
warnings = optional (warn && fromOpt.isDefined)
|
||||||
"The option `${showOption from}' defined in ${showFiles fromOpt.files} has been renamed to `${showOption to}'.";
|
"The option `${showOption from}' defined in ${showFiles fromOpt.files} has been renamed to `${showOption to}'.";
|
||||||
}
|
})
|
||||||
(if withPriority
|
(if withPriority
|
||||||
then mkAliasAndWrapDefsWithPriority (setAttrByPath to) fromOpt
|
then mkAliasAndWrapDefsWithPriority (setAttrByPath to) fromOpt
|
||||||
else mkAliasAndWrapDefinitions (setAttrByPath to) fromOpt)
|
else mkAliasAndWrapDefinitions (setAttrByPath to) fromOpt)
|
||||||
|
|
|
@ -348,6 +348,13 @@ checkConfigOutput 'ok' config.freeformItems.foo.bar ./adhoc-freeformType-survive
|
||||||
# because of an `extendModules` bug, issue 168767.
|
# because of an `extendModules` bug, issue 168767.
|
||||||
checkConfigOutput '^1$' config.sub.specialisation.value ./extendModules-168767-imports.nix
|
checkConfigOutput '^1$' config.sub.specialisation.value ./extendModules-168767-imports.nix
|
||||||
|
|
||||||
|
# doRename works when `warnings` does not exist.
|
||||||
|
checkConfigOutput '^1234$' config.c.d.e ./doRename-basic.nix
|
||||||
|
# doRename adds a warning.
|
||||||
|
checkConfigOutput '^"The option `a\.b. defined in `.*/doRename-warnings\.nix. has been renamed to `c\.d\.e.\."$' \
|
||||||
|
config.result \
|
||||||
|
./doRename-warnings.nix
|
||||||
|
|
||||||
cat <<EOF
|
cat <<EOF
|
||||||
====== module tests ======
|
====== module tests ======
|
||||||
$pass Pass
|
$pass Pass
|
||||||
|
|
11
lib/tests/modules/doRename-basic.nix
Normal file
11
lib/tests/modules/doRename-basic.nix
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
{ lib, ... }: {
|
||||||
|
imports = [
|
||||||
|
(lib.doRename { from = ["a" "b"]; to = ["c" "d" "e"]; warn = true; use = x: x; visible = true; })
|
||||||
|
];
|
||||||
|
options = {
|
||||||
|
c.d.e = lib.mkOption {};
|
||||||
|
};
|
||||||
|
config = {
|
||||||
|
a.b = 1234;
|
||||||
|
};
|
||||||
|
}
|
14
lib/tests/modules/doRename-warnings.nix
Normal file
14
lib/tests/modules/doRename-warnings.nix
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
{ lib, config, ... }: {
|
||||||
|
imports = [
|
||||||
|
(lib.doRename { from = ["a" "b"]; to = ["c" "d" "e"]; warn = true; use = x: x; visible = true; })
|
||||||
|
];
|
||||||
|
options = {
|
||||||
|
warnings = lib.mkOption { type = lib.types.listOf lib.types.str; };
|
||||||
|
c.d.e = lib.mkOption {};
|
||||||
|
result = lib.mkOption {};
|
||||||
|
};
|
||||||
|
config = {
|
||||||
|
a.b = 1234;
|
||||||
|
result = lib.concatStringsSep "%" config.warnings;
|
||||||
|
};
|
||||||
|
}
|
|
@ -4450,6 +4450,13 @@
|
||||||
githubId = 9959940;
|
githubId = 9959940;
|
||||||
name = "Andreas Fehn";
|
name = "Andreas Fehn";
|
||||||
};
|
};
|
||||||
|
felipeqq2 = {
|
||||||
|
name = "Felipe Silva";
|
||||||
|
email = "felipeqq2@outlook.com";
|
||||||
|
github = "felipeqq2";
|
||||||
|
githubId = 71830138;
|
||||||
|
keys = [{ fingerprint = "F5F0 2BCE 3580 BF2B 707A AA8C 2FD3 4A9E 2671 91B8"; }];
|
||||||
|
};
|
||||||
felixscheinost = {
|
felixscheinost = {
|
||||||
name = "Felix Scheinost";
|
name = "Felix Scheinost";
|
||||||
email = "felix.scheinost@posteo.de";
|
email = "felix.scheinost@posteo.de";
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
{ lib
|
{ lib
|
||||||
, stdenv
|
, stdenv
|
||||||
, fetchpatch
|
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, rustPlatform
|
, rustPlatform
|
||||||
, meson
|
, meson
|
||||||
|
@ -22,26 +21,18 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "netease-cloud-music-gtk";
|
pname = "netease-cloud-music-gtk";
|
||||||
version = "2.0.2";
|
version = "2.0.3";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "gmg137";
|
owner = "gmg137";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
hash = "sha256-0pmuzdRQBdUS4ORh3zJQWb/hbhk7SY3P4QMwoy4Mgp8=";
|
hash = "sha256-A3mvf6TZ3+aiWA6rg9G5NMaDKvO0VQzwIM1t0MaTpTc=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
|
||||||
(fetchpatch {
|
|
||||||
name = "add-cargo-lock-for-2.0.2.patch";
|
|
||||||
url = "https://github.com/gmg137/netease-cloud-music-gtk/commit/21b5d40d49e661fe7bd35ed10bb8b883ef7fcd9f.patch";
|
|
||||||
hash = "sha256-pSgc+yJQMNyLPYUMc1Kp/Kr+++2tH8srIM5PgVeoZ+E=";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
cargoDeps = rustPlatform.fetchCargoTarball {
|
cargoDeps = rustPlatform.fetchCargoTarball {
|
||||||
inherit src patches;
|
inherit src;
|
||||||
hash = "sha256-7Z5i5Xqtk4ZbBXSVYg1e05ENa2swC88Ctd2paE60Yyo=";
|
hash = "sha256-Y7rZTbg0zd/eoo6E8TmV8JJPs1N0bLlBjvB6W07Kelg=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
|
|
@ -18,13 +18,13 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "tagger";
|
pname = "tagger";
|
||||||
version = "2022.10.5";
|
version = "2022.10.6";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "nlogozzo";
|
owner = "nlogozzo";
|
||||||
repo = "NickvisionTagger";
|
repo = "NickvisionTagger";
|
||||||
rev = version;
|
rev = version;
|
||||||
hash = "sha256-rkpeecJUOBom0clrwftBa/VxACTihfMfWVmfbZhMQ50=";
|
hash = "sha256-eo7H2pNtSChUAqjO0ocFjsGt4I0e8ZOHbZ/GoZgUva8=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
|
|
@ -2,13 +2,13 @@
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "dstask";
|
pname = "dstask";
|
||||||
version = "0.23.1";
|
version = "0.25";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "naggie";
|
owner = "naggie";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "0rfz8jim0xqcwdb5n28942v9r3hbvhjrwdgzvbwc9f9psqg2s8d2";
|
sha256 = "sha256-nsEn9ZhrSWO0kltyEXaehMcFpqVbivSsXOxu/AX7A9U=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Set vendorSha256 to null because dstask vendors its dependencies (meaning
|
# Set vendorSha256 to null because dstask vendors its dependencies (meaning
|
||||||
|
@ -30,8 +30,6 @@ buildGoModule rec {
|
||||||
"-X github.com/naggie/dstask.GIT_COMMIT=v${version}"
|
"-X github.com/naggie/dstask.GIT_COMMIT=v${version}"
|
||||||
];
|
];
|
||||||
|
|
||||||
subPackages = [ "cmd/dstask.go" ];
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Command line todo list with super-reliable git sync";
|
description = "Command line todo list with super-reliable git sync";
|
||||||
homepage = src.meta.homepage;
|
homepage = src.meta.homepage;
|
||||||
|
|
|
@ -2,17 +2,17 @@
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "glooctl";
|
pname = "glooctl";
|
||||||
version = "1.12.31";
|
version = "1.12.33";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "solo-io";
|
owner = "solo-io";
|
||||||
repo = "gloo";
|
repo = "gloo";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-t/i1UhPfhT7+HAhVBhZKQezqpFrBrzimUHjIozQeJnk=";
|
hash = "sha256-T/fkQxRcwDYppGpAu1sBg8Oe8dAa4Bk/jt4jYMikPBE=";
|
||||||
};
|
};
|
||||||
|
|
||||||
subPackages = [ "projects/gloo/cli/cmd" ];
|
subPackages = [ "projects/gloo/cli/cmd" ];
|
||||||
vendorSha256 = "sha256-MRBnwpuqYElxA4V1x7F4wccKV3T51RopfT37QUr7G4Y=";
|
vendorSha256 = "sha256-G26BfTdXMQP0U4FDRYkJNfUOGfqow714WPNBnBrXLZQ=";
|
||||||
|
|
||||||
nativeBuildInputs = [ installShellFiles ];
|
nativeBuildInputs = [ installShellFiles ];
|
||||||
|
|
||||||
|
|
|
@ -2,13 +2,13 @@
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "temporal-cli";
|
pname = "temporal-cli";
|
||||||
version = "1.17.0";
|
version = "1.17.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "temporalio";
|
owner = "temporalio";
|
||||||
repo = "tctl";
|
repo = "tctl";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-XEN4Ntt7yHng1+3E5SlxthEWPXJ+kSx9L1GbW9bV03Y=";
|
sha256 = "sha256-rdDtgSM2wZsHYv9tBNdcSHYXdvvEk5wqdLr1KjoPz1E=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorSha256 = "sha256-9bgovXVj+qddfDSI4DTaNYH4H8Uc4DZqeVYG5TWXTNw=";
|
vendorSha256 = "sha256-9bgovXVj+qddfDSI4DTaNYH4H8Uc4DZqeVYG5TWXTNw=";
|
||||||
|
|
|
@ -0,0 +1,43 @@
|
||||||
|
{ lib, writeScript, qt5, fetchurl, autoPatchelfHook }:
|
||||||
|
|
||||||
|
qt5.mkDerivation rec {
|
||||||
|
pname = "synology-cloud-sync-decryption-tool";
|
||||||
|
version = "027";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "https://global.download.synology.com/download/Utility/SynologyCloudSyncDecryptionTool/${version}/Linux/x86_64/SynologyCloudSyncDecryptionTool-${version}_x64.tar.gz";
|
||||||
|
sha256 = "sha256-EWxADvkfhnMwHIauJj3pH6SvSkkrc4cwAhsf1pWOOWQ=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ autoPatchelfHook ];
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
|
||||||
|
mkdir -p $out/bin
|
||||||
|
cp $NIX_BUILD_TOP/SynologyCloudSyncDecryptionTool $out/bin
|
||||||
|
|
||||||
|
runHook postInstall
|
||||||
|
'';
|
||||||
|
|
||||||
|
passthru.updateScript = writeScript "update-synology-cloud-sync-decryption-tool" ''
|
||||||
|
#!/usr/bin/env nix-shell
|
||||||
|
#!nix-shell -i bash -p curl common-updater-scripts
|
||||||
|
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
version="$(curl -s https://www.synology.com/en-uk/releaseNote/SynologyCloudSyncDecryptionTool \
|
||||||
|
| grep -oP '(?<=data-version=")\d+' \
|
||||||
|
| head -1)"
|
||||||
|
update-source-version synology-cloud-sync-decryption-tool "$version"
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "A desktop tool to decrypt data encrypted by Cloud Sync.";
|
||||||
|
homepage = "https://kb.synology.com/en-global/DSM/help/SynologyCloudSyncDecryptionTool/synologycloudsyncdecryptiontool";
|
||||||
|
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
|
||||||
|
license = licenses.unfree;
|
||||||
|
maintainers = with maintainers; [ kalbasit ];
|
||||||
|
platforms = [ "x86_64-linux" ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -1,20 +1,18 @@
|
||||||
{ lib, fetchgit }:
|
{ lib, fetchzip }:
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "2.010";
|
version = "2.010";
|
||||||
in (fetchgit {
|
|
||||||
name = "go-font-${version}";
|
|
||||||
url = "https://go.googlesource.com/image";
|
|
||||||
rev = "41969df76e82aeec85fa3821b1e24955ea993001";
|
rev = "41969df76e82aeec85fa3821b1e24955ea993001";
|
||||||
|
in (fetchzip {
|
||||||
|
name = "go-font-${version}";
|
||||||
|
url = "https://go.googlesource.com/image/+archive/${rev}/font/gofont/ttfs.tar.gz";
|
||||||
|
stripRoot = false;
|
||||||
|
|
||||||
postFetch = ''
|
postFetch = ''
|
||||||
mv $out source
|
|
||||||
cd source
|
|
||||||
|
|
||||||
mkdir -p $out/share/fonts/truetype
|
mkdir -p $out/share/fonts/truetype
|
||||||
mkdir -p $out/share/doc/go-font
|
mkdir -p $out/share/doc/go-font
|
||||||
cp font/gofont/ttfs/* $out/share/fonts/truetype
|
mv $out/*.ttf $out/share/fonts/truetype
|
||||||
mv $out/share/fonts/truetype/README $out/share/doc/go-font/LICENSE
|
mv $out/README $out/share/doc/go-font/LICENSE
|
||||||
'';
|
'';
|
||||||
|
|
||||||
sha256 = "175jwq16qjnd2k923n9gcbjizchy7yv4n41dm691sjwrhbl0b13x";
|
sha256 = "175jwq16qjnd2k923n9gcbjizchy7yv4n41dm691sjwrhbl0b13x";
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
, galliumDrivers ? ["auto"]
|
, galliumDrivers ? ["auto"]
|
||||||
, vulkanDrivers ? ["auto"]
|
, vulkanDrivers ? ["auto"]
|
||||||
, eglPlatforms ? [ "x11" ] ++ lib.optionals stdenv.isLinux [ "wayland" ]
|
, eglPlatforms ? [ "x11" ] ++ lib.optionals stdenv.isLinux [ "wayland" ]
|
||||||
, vulkanLayers ? [ "device-select" "overlay" ]
|
, vulkanLayers ? lib.optionals (!stdenv.isDarwin) [ "device-select" "overlay" ] # No Vulkan support on Darwin
|
||||||
, OpenGL, Xplugin
|
, OpenGL, Xplugin
|
||||||
, withValgrind ? lib.meta.availableOn stdenv.hostPlatform valgrind-light && !valgrind-light.meta.broken, valgrind-light
|
, withValgrind ? lib.meta.availableOn stdenv.hostPlatform valgrind-light && !valgrind-light.meta.broken, valgrind-light
|
||||||
, enableGalliumNine ? stdenv.isLinux
|
, enableGalliumNine ? stdenv.isLinux
|
||||||
|
|
33
pkgs/development/mobile/maestro/default.nix
Normal file
33
pkgs/development/mobile/maestro/default.nix
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
{ lib, stdenv, fetchurl, unzip, makeWrapper, jre_headless }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "maestro";
|
||||||
|
version = "1.11.3";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "https://github.com/mobile-dev-inc/maestro/releases/download/cli-${version}/maestro-${version}.zip";
|
||||||
|
sha256 = "0hjsrwp6d1k68p0qhn7v9689ihy06ssnfpi8dj61jw6r64c234m4";
|
||||||
|
};
|
||||||
|
|
||||||
|
dontUnpack = true;
|
||||||
|
nativeBuildInputs = [ unzip makeWrapper ];
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
mkdir $out
|
||||||
|
unzip $src -d $out
|
||||||
|
mv $out/maestro-$version/* $out
|
||||||
|
rm -rf $out/maestro-$version
|
||||||
|
'';
|
||||||
|
|
||||||
|
postFixup = ''
|
||||||
|
wrapProgram $out/bin/maestro --prefix PATH : "${lib.makeBinPath [ jre_headless ]}"
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Mobile UI Automation tool";
|
||||||
|
homepage = "https://maestro.mobile.dev/";
|
||||||
|
license = licenses.asl20;
|
||||||
|
platforms = lib.platforms.all;
|
||||||
|
maintainers = with maintainers; [ SubhrajyotiSen ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -14,7 +14,7 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "dinghy";
|
pname = "dinghy";
|
||||||
version = "0.13.4";
|
version = "0.14.0";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.8";
|
disabled = pythonOlder "3.8";
|
||||||
|
@ -23,7 +23,7 @@ buildPythonPackage rec {
|
||||||
owner = "nedbat";
|
owner = "nedbat";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
hash = "sha256-H3AFKKtSiFD3LqyWaIYB4LncPaH2/eptuKS4BN0cNBQ=";
|
hash = "sha256-zhSSEI5h7ZCQeytAFbevowhITghaG4vu81C4pDb6xUg=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
|
|
@ -26,29 +26,16 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "junos-eznc";
|
pname = "junos-eznc";
|
||||||
version = "2.6.3";
|
version = "2.6.5";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "Juniper";
|
owner = "Juniper";
|
||||||
repo = "py-junos-eznc";
|
repo = "py-junos-eznc";
|
||||||
rev = version;
|
rev = version;
|
||||||
hash = "sha256-XhQJwtS518AzSwyaWE392nfNdYe9+iYHvXxQsjJfzI8=";
|
hash = "sha256-BoHT6ejccInfREbYtW6psm3fvsQxLS1vpj/aPDqqpnY=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
|
||||||
(fetchpatch {
|
|
||||||
# Fixes tests with lxml>=4.8.0; remove > 2.6.3
|
|
||||||
url = "https://github.com/Juniper/py-junos-eznc/commit/048f750bb7357b6f6b9db8ad64bea479298c74fb.patch";
|
|
||||||
hash = "sha256-DYVj0BNPwDSbxDrzHhaq4F4kz1bliXB6Au3I63mRauc=";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
postPatch = ''
|
|
||||||
substituteInPlace requirements.txt \
|
|
||||||
--replace "ncclient==0.6.9" "ncclient"
|
|
||||||
'';
|
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
jinja2
|
jinja2
|
||||||
lxml
|
lxml
|
||||||
|
|
|
@ -14,16 +14,16 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pipdeptree";
|
pname = "pipdeptree";
|
||||||
version = "2.3.1";
|
version = "2.3.3";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "naiquevin";
|
owner = "tox-dev";
|
||||||
repo = "pipdeptree";
|
repo = "pipdeptree";
|
||||||
rev = "refs/tags/${version}";
|
rev = "refs/tags/${version}";
|
||||||
hash = "sha256-X3SVQzBg+QjBSewRsfiyLqIea0duhe1nUf8ancWLvcI=";
|
hash = "sha256-ivqu9b+4FhGa5y+WnKRk4nF6MR4Vj62pSs2d7ycIZMc=";
|
||||||
};
|
};
|
||||||
|
|
||||||
SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
||||||
|
@ -38,7 +38,9 @@ buildPythonPackage rec {
|
||||||
];
|
];
|
||||||
|
|
||||||
passthru.optional-dependencies = {
|
passthru.optional-dependencies = {
|
||||||
graphviz = [ graphviz ];
|
graphviz = [
|
||||||
|
graphviz
|
||||||
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
|
@ -54,7 +56,8 @@ buildPythonPackage rec {
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Command line utility to show dependency tree of packages";
|
description = "Command line utility to show dependency tree of packages";
|
||||||
homepage = "https://github.com/naiquevin/pipdeptree";
|
homepage = "https://github.com/tox-dev/pipdeptree";
|
||||||
|
changelog = "https://github.com/tox-dev/pipdeptree/releases/tag/${version}";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ charlesbaynham ];
|
maintainers = with maintainers; [ charlesbaynham ];
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
{ lib, stdenv, fetchurl, makeWrapper, jre }:
|
{ lib, stdenv, fetchurl, makeWrapper, jre }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "10.3.4";
|
version = "10.4";
|
||||||
pname = "checkstyle";
|
pname = "checkstyle";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/checkstyle/checkstyle/releases/download/checkstyle-${version}/checkstyle-${version}-all.jar";
|
url = "https://github.com/checkstyle/checkstyle/releases/download/checkstyle-${version}/checkstyle-${version}-all.jar";
|
||||||
sha256 = "sha256-HOKEbBU2jo7AJmSMVG2j1yM4VfcdN+Tl/MiazxtKYHw=";
|
sha256 = "sha256-x/13rqb3NOP4ML2HoddkmRrEwBAsG97Z2iLLoJCu2PQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper ];
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
|
|
|
@ -46,7 +46,7 @@ let
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "github-runner";
|
pname = "github-runner";
|
||||||
version = "2.299.0";
|
version = "2.299.1";
|
||||||
|
|
||||||
inherit sdkSource;
|
inherit sdkSource;
|
||||||
|
|
||||||
|
@ -54,7 +54,7 @@ stdenv.mkDerivation rec {
|
||||||
owner = "actions";
|
owner = "actions";
|
||||||
repo = "runner";
|
repo = "runner";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-/grYaWhpd6jZx/gkWC3L+BoZcB6WKVMZzMGfwDhBRr0=";
|
hash = "sha256-o6N7GDfSEWX6QaEga5hQpbpDcBh7Alcy9mK3QlODTbs=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
|
|
@ -2,13 +2,13 @@
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "esbuild";
|
pname = "esbuild";
|
||||||
version = "0.15.12";
|
version = "0.15.13";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "evanw";
|
owner = "evanw";
|
||||||
repo = "esbuild";
|
repo = "esbuild";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-NyujxnBi55wMmLW488gmimcywfeO6WWAnx/y0KqhR7o=";
|
sha256 = "sha256-iQei9YSJIKnqsWK26Eh6l3yafvRKPZ2YdHhQqybsfVg=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorSha256 = "sha256-+BfxCyg0KkDQpHt/wycy/8CTG6YBA/VJvJFhhzUnSiQ=";
|
vendorSha256 = "sha256-+BfxCyg0KkDQpHt/wycy/8CTG6YBA/VJvJFhhzUnSiQ=";
|
||||||
|
|
|
@ -2,13 +2,13 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "jo";
|
pname = "jo";
|
||||||
version = "1.6";
|
version = "1.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "jpmens";
|
owner = "jpmens";
|
||||||
repo = "jo";
|
repo = "jo";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 ="sha256-aATCeJV0x+XHOQbwulutxivPzGVQ0mJj90vA+6IM124=";
|
sha256 ="sha256-uJUbe593k7ENfbKCFhmm4Io0CPB109LF9EH8Qw0BFiY=";
|
||||||
};
|
};
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
|
@ -8,16 +8,16 @@
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "ruff";
|
pname = "ruff";
|
||||||
version = "0.0.94";
|
version = "0.0.97";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "charliermarsh";
|
owner = "charliermarsh";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-ux6AeETHFVCapBBKn32NlMhXMWTi5tEbnSqGd6K5r0A=";
|
sha256 = "sha256-e/tPGjkg/PXbFoaWhzTzf8XbeLll8H9ru1SpdejQjIA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoSha256 = "sha256-7eB6DaD4/ivAGip3Vsb1RZBQ38Hxn4y/oz9/jjI3A1g=";
|
cargoSha256 = "sha256-iVH9MVv0NYezbWcvVLvgGFMoIhDLnoeGl3pVcDk/M40=";
|
||||||
|
|
||||||
buildInputs = lib.optionals stdenv.isDarwin [
|
buildInputs = lib.optionals stdenv.isDarwin [
|
||||||
CoreServices
|
CoreServices
|
||||||
|
|
|
@ -11,19 +11,19 @@
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "cargo-deny";
|
pname = "cargo-deny";
|
||||||
version = "0.13.2";
|
version = "0.13.3";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "EmbarkStudios";
|
owner = "EmbarkStudios";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-5JQ4G8wyKf//KU5NRr3fLLDUKsla+965wLj3nWeaEOo=";
|
sha256 = "sha256-INRQy7udhrc21Hy5HQ83LAoc2sjUE5AU5uf7mHJPkpo=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# enable pkg-config feature of zstd
|
# enable pkg-config feature of zstd
|
||||||
cargoPatches = [ ./zstd-pkg-config.patch ];
|
cargoPatches = [ ./zstd-pkg-config.patch ];
|
||||||
|
|
||||||
cargoSha256 = "sha256-dNFwPP/qCyL1JWeE8y8hJR+b30tj0AQFFa42s2XjSzg=";
|
cargoSha256 = "sha256-JRciz40mSAXy3SoXVegudK4ehRjTBvSqrSFRDt7O/uQ=";
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "etcd";
|
pname = "etcd";
|
||||||
version = "3.4.21";
|
version = "3.4.22";
|
||||||
|
|
||||||
vendorSha256 = "sha256-P3EQTraMdZ2fAHDue5cKAxyHbh6nNeFV9ykT0rH7KPs=";
|
vendorSha256 = "sha256-P3EQTraMdZ2fAHDue5cKAxyHbh6nNeFV9ykT0rH7KPs=";
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@ buildGoModule rec {
|
||||||
owner = "etcd-io";
|
owner = "etcd-io";
|
||||||
repo = "etcd";
|
repo = "etcd";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-+IU1l23sN9v48ZhJLGncUa3t5kPHBFcqQ/ojaZXzMU4=";
|
sha256 = "sha256-LIhAvW/oIlPp6U4VVUvUlmOHCduIbzYnrKc4PyfcXQQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
|
|
|
@ -1,27 +1,46 @@
|
||||||
{ lib, buildGoModule, fetchFromGitHub, systemd, nixosTests }:
|
{ lib, buildGoModule, fetchFromGitHub, systemd, nixosTests, bcc }:
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "grafana-agent";
|
pname = "grafana-agent";
|
||||||
version = "0.25.1";
|
version = "0.28.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
owner = "grafana";
|
owner = "grafana";
|
||||||
repo = "agent";
|
repo = "agent";
|
||||||
sha256 = "sha256-VbcWYH3eSKfYlSoN9HpxvhtvW36M1aYn9nLDfEbIzTY=";
|
sha256 = "sha256-UuDRnpb9JpghGDFsrlU7+iMboqiWVyT7qFSSPlLSFGs=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorSha256 = "sha256-VFTz9+nf4qH8bbFijpT1uIHSAhJy/aMMlIjkvnzzAD4=";
|
vendorSha256 = "sha256-UEQYZbP3dzi7wZwX+InJrgHrFB1wfSUNmUMkit+Y1Lo=";
|
||||||
|
|
||||||
|
ldflags = let
|
||||||
|
prefix = "github.com/grafana/agent/pkg/build";
|
||||||
|
in [
|
||||||
|
"-s" "-w"
|
||||||
|
# https://github.com/grafana/agent/blob/d672eba4ca8cb010ad8a9caef4f8b66ea6ee3ef2/Makefile#L125
|
||||||
|
"-X ${prefix}.Version=${version}"
|
||||||
|
"-X ${prefix}.Branch=v${version}"
|
||||||
|
"-X ${prefix}.Revision=v${version}"
|
||||||
|
"-X ${prefix}.BuildUser=nix"
|
||||||
|
"-X ${prefix}.BuildDate=1980-01-01T00:00:00Z"
|
||||||
|
];
|
||||||
|
|
||||||
tags = [
|
tags = [
|
||||||
"nonetwork"
|
"nonetwork"
|
||||||
"nodocker"
|
"nodocker"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
subPackages = [
|
||||||
|
"cmd/agent"
|
||||||
|
"cmd/agentctl"
|
||||||
|
];
|
||||||
|
|
||||||
# uses go-systemd, which uses libsystemd headers
|
# uses go-systemd, which uses libsystemd headers
|
||||||
# https://github.com/coreos/go-systemd/issues/351
|
# https://github.com/coreos/go-systemd/issues/351
|
||||||
NIX_CFLAGS_COMPILE = [ "-I${lib.getDev systemd}/include" ];
|
NIX_CFLAGS_COMPILE = [ "-I${lib.getDev systemd}/include" ];
|
||||||
|
|
||||||
|
buildInputs = [ bcc ];
|
||||||
|
|
||||||
# tries to access /sys: https://github.com/grafana/agent/issues/333
|
# tries to access /sys: https://github.com/grafana/agent/issues/333
|
||||||
preBuild = ''
|
preBuild = ''
|
||||||
rm pkg/integrations/node_exporter/node_exporter_test.go
|
rm pkg/integrations/node_exporter/node_exporter_test.go
|
||||||
|
|
|
@ -32,14 +32,14 @@ let
|
||||||
in
|
in
|
||||||
with py.pkgs; buildPythonApplication rec {
|
with py.pkgs; buildPythonApplication rec {
|
||||||
pname = "awscli2";
|
pname = "awscli2";
|
||||||
version = "2.8.7"; # N.B: if you change this, check if overrides are still up-to-date
|
version = "2.8.8"; # N.B: if you change this, check if overrides are still up-to-date
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "aws";
|
owner = "aws";
|
||||||
repo = "aws-cli";
|
repo = "aws-cli";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-AFVIHDWgBuM9aGFY7sEvoU6NmSBYQa/dXgz/qW/3rUY=";
|
sha256 = "sha256-F8FqsLh+KU6YR1BsE1+UPOsLkr7ie10kXCYJS0DfDCQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
|
|
@ -2,16 +2,16 @@
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "copilot-cli";
|
pname = "copilot-cli";
|
||||||
version = "1.22.1";
|
version = "1.23.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "aws";
|
owner = "aws";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-Jm4UTwWuqbtckIoXD7YVQk2MQlvzdfRbLW7YA+CmhDE=";
|
sha256 = "sha256-K+OWAZudk/xxKZw0zdsJfMj1jRhzOamBI7wd5ttmaiY=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorSha256 = "sha256-MOFPuxn6LwPUw0A14OXhZefAgvtm+9qcDTR3kfwCtjQ=";
|
vendorSha256 = "sha256-DCjJJZKVDFyZXItWRzBsxb8xLZNDLWI2kAp4KKKn9yA=";
|
||||||
|
|
||||||
nativeBuildInputs = [ installShellFiles ];
|
nativeBuildInputs = [ installShellFiles ];
|
||||||
|
|
||||||
|
|
34
pkgs/tools/audio/unflac/default.nix
Normal file
34
pkgs/tools/audio/unflac/default.nix
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
{ lib
|
||||||
|
, buildGoModule
|
||||||
|
, fetchFromSourcehut
|
||||||
|
, ffmpeg
|
||||||
|
, makeWrapper
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildGoModule rec {
|
||||||
|
pname = "unflac";
|
||||||
|
version = "1.0";
|
||||||
|
|
||||||
|
src = fetchFromSourcehut {
|
||||||
|
owner = "~ft";
|
||||||
|
repo = pname;
|
||||||
|
rev = version;
|
||||||
|
sha256 = "1vlwlm895mcvmxaxcid3vfji1zi9wjchz7divm096na4whj35cc4";
|
||||||
|
};
|
||||||
|
|
||||||
|
vendorSha256 = "sha256-QqLjz1X4uVpxhYXb/xIBwuLUhRaqwz2GDUPjBTS4ut0=";
|
||||||
|
|
||||||
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
|
postFixup = ''
|
||||||
|
wrapProgram $out/bin/unflac --prefix PATH : "${lib.makeBinPath [ffmpeg]}"
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description =
|
||||||
|
"A command line tool for fast frame accurate audio image + cue sheet splitting";
|
||||||
|
homepage = "https://sr.ht/~ft/unflac/";
|
||||||
|
license = licenses.mit;
|
||||||
|
platforms = platforms.all;
|
||||||
|
maintainers = with maintainers; [ felipeqq2 ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -1,6 +1,7 @@
|
||||||
{ lib
|
{ lib
|
||||||
, stdenv
|
, stdenv
|
||||||
, fetchurl
|
, fetchurl
|
||||||
|
, fetchpatch
|
||||||
, buildPackages
|
, buildPackages
|
||||||
, coreutils
|
, coreutils
|
||||||
, pam
|
, pam
|
||||||
|
@ -21,6 +22,14 @@ stdenv.mkDerivation rec {
|
||||||
hash = "sha256-3hVzOIgXDFaDTar9NL+YPbEPshA5dC/Pw5a9MhaNY2I=";
|
hash = "sha256-3hVzOIgXDFaDTar9NL+YPbEPshA5dC/Pw5a9MhaNY2I=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
(fetchpatch {
|
||||||
|
name = "CVE-2022-43995.patch";
|
||||||
|
url = "https://github.com/sudo-project/sudo/commit/bd209b9f16fcd1270c13db27ae3329c677d48050.patch";
|
||||||
|
sha256 = "sha256-JUdoStoSyv6KBPsyzxuMIxqwZMZsjUPj8zUqOSvmZ1A=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
prePatch = ''
|
prePatch = ''
|
||||||
# do not set sticky bit in nix store
|
# do not set sticky bit in nix store
|
||||||
substituteInPlace src/Makefile.in --replace 04755 0755
|
substituteInPlace src/Makefile.in --replace 04755 0755
|
||||||
|
|
|
@ -456,6 +456,8 @@ with pkgs;
|
||||||
|
|
||||||
dhallToNix = callPackage ../build-support/dhall/to-nix.nix { };
|
dhallToNix = callPackage ../build-support/dhall/to-nix.nix { };
|
||||||
|
|
||||||
|
dinghy = with python3Packages; toPythonApplication dinghy;
|
||||||
|
|
||||||
deadcode = callPackage ../development/tools/deadcode { };
|
deadcode = callPackage ../development/tools/deadcode { };
|
||||||
|
|
||||||
deadnix = callPackage ../development/tools/deadnix { };
|
deadnix = callPackage ../development/tools/deadnix { };
|
||||||
|
@ -1431,6 +1433,8 @@ with pkgs;
|
||||||
|
|
||||||
ttchat = callPackage ../tools/misc/ttchat { };
|
ttchat = callPackage ../tools/misc/ttchat { };
|
||||||
|
|
||||||
|
unflac = callPackage ../tools/audio/unflac { };
|
||||||
|
|
||||||
veikk-linux-driver-gui = libsForQt5.callPackage ../tools/misc/veikk-linux-driver-gui { };
|
veikk-linux-driver-gui = libsForQt5.callPackage ../tools/misc/veikk-linux-driver-gui { };
|
||||||
|
|
||||||
ventoy-bin = callPackage ../tools/cd-dvd/ventoy-bin {
|
ventoy-bin = callPackage ../tools/cd-dvd/ventoy-bin {
|
||||||
|
@ -23549,9 +23553,7 @@ with pkgs;
|
||||||
grafana = callPackage ../servers/monitoring/grafana { };
|
grafana = callPackage ../servers/monitoring/grafana { };
|
||||||
grafanaPlugins = callPackages ../servers/monitoring/grafana/plugins { };
|
grafanaPlugins = callPackages ../servers/monitoring/grafana/plugins { };
|
||||||
|
|
||||||
grafana-agent = callPackage ../servers/monitoring/grafana-agent {
|
grafana-agent = callPackage ../servers/monitoring/grafana-agent {};
|
||||||
buildGoModule = buildGo118Module; # tests fail with 1.19
|
|
||||||
};
|
|
||||||
|
|
||||||
grafana-loki = callPackage ../servers/monitoring/loki { };
|
grafana-loki = callPackage ../servers/monitoring/loki { };
|
||||||
promtail = callPackage ../servers/monitoring/loki/promtail.nix { };
|
promtail = callPackage ../servers/monitoring/loki/promtail.nix { };
|
||||||
|
@ -31795,10 +31797,14 @@ with pkgs;
|
||||||
|
|
||||||
synology-drive-client = callPackage ../applications/networking/synology-drive-client { };
|
synology-drive-client = callPackage ../applications/networking/synology-drive-client { };
|
||||||
|
|
||||||
|
synology-cloud-sync-decryption-tool = callPackage ../applications/networking/synology-cloud-sync-decryption-tool { };
|
||||||
|
|
||||||
maestral = with python3Packages; toPythonApplication maestral;
|
maestral = with python3Packages; toPythonApplication maestral;
|
||||||
|
|
||||||
maestral-gui = libsForQt5.callPackage ../applications/networking/maestral-qt { };
|
maestral-gui = libsForQt5.callPackage ../applications/networking/maestral-qt { };
|
||||||
|
|
||||||
|
maestro = callPackage ../development/mobile/maestro { };
|
||||||
|
|
||||||
myfitnesspal = with python3Packages; toPythonApplication myfitnesspal;
|
myfitnesspal = with python3Packages; toPythonApplication myfitnesspal;
|
||||||
|
|
||||||
insync = callPackage ../applications/networking/insync { };
|
insync = callPackage ../applications/networking/insync { };
|
||||||
|
|
Loading…
Reference in a new issue