Merge master into staging-next

authored by github-actions[bot] and committed by GitHub e7703dd1 f8c265f4

+297 -190
+7 -1
lib/modules.nix
··· 113 args ? {} 114 , # This would be remove in the future, Prefer _module.check option instead. 115 check ? true 116 }: 117 let 118 withWarnings = x: ··· 338 modules ? [], 339 specialArgs ? {}, 340 prefix ? [], 341 }: 342 evalModules (evalModulesArgs // { 343 modules = regularModules ++ modules; 344 specialArgs = evalModulesArgs.specialArgs or {} // specialArgs; 345 prefix = extendArgs.prefix or evalModulesArgs.prefix; 346 }); 347 348 type = lib.types.submoduleWith { 349 - inherit modules specialArgs; 350 }; 351 352 result = withWarnings {
··· 113 args ? {} 114 , # This would be remove in the future, Prefer _module.check option instead. 115 check ? true 116 + # Internal variable to avoid `_key` collisions regardless 117 + # of `extendModules`. Used in `submoduleWith`. 118 + # Test case: lib/tests/modules, "168767" 119 + , extensionOffset ? 0 120 }: 121 let 122 withWarnings = x: ··· 342 modules ? [], 343 specialArgs ? {}, 344 prefix ? [], 345 + extensionOffset ? length modules, 346 }: 347 evalModules (evalModulesArgs // { 348 modules = regularModules ++ modules; 349 specialArgs = evalModulesArgs.specialArgs or {} // specialArgs; 350 prefix = extendArgs.prefix or evalModulesArgs.prefix; 351 + inherit extensionOffset; 352 }); 353 354 type = lib.types.submoduleWith { 355 + inherit modules specialArgs extensionOffset; 356 }; 357 358 result = withWarnings {
+5 -1
lib/tests/modules.sh
··· 293 294 # moduleType 295 checkConfigOutput '^"a b"$' config.resultFoo ./declare-variants.nix ./define-variant.nix 296 - checkConfigOutput '^"a y z"$' config.resultFooBar ./declare-variants.nix ./define-variant.nix 297 checkConfigOutput '^"a b c"$' config.resultFooFoo ./declare-variants.nix ./define-variant.nix 298 299 ## emptyValue's ··· 326 327 # Test that types.optionType leaves types untouched as long as they don't need to be merged 328 checkConfigOutput 'ok' config.freeformItems.foo.bar ./adhoc-freeformType-survives-type-merge.nix 329 330 cat <<EOF 331 ====== module tests ======
··· 293 294 # moduleType 295 checkConfigOutput '^"a b"$' config.resultFoo ./declare-variants.nix ./define-variant.nix 296 + checkConfigOutput '^"a b y z"$' config.resultFooBar ./declare-variants.nix ./define-variant.nix 297 checkConfigOutput '^"a b c"$' config.resultFooFoo ./declare-variants.nix ./define-variant.nix 298 299 ## emptyValue's ··· 326 327 # Test that types.optionType leaves types untouched as long as they don't need to be merged 328 checkConfigOutput 'ok' config.freeformItems.foo.bar ./adhoc-freeformType-survives-type-merge.nix 329 + 330 + # Anonymous submodules don't get nixed by import resolution/deduplication 331 + # because of an `extendModules` bug, issue 168767. 332 + checkConfigOutput '^1$' config.sub.specialisation.value ./extendModules-168767-imports.nix 333 334 cat <<EOF 335 ====== module tests ======
+41
lib/tests/modules/extendModules-168767-imports.nix
···
··· 1 + { lib 2 + , extendModules 3 + , ... 4 + }: 5 + with lib; 6 + { 7 + imports = [ 8 + 9 + { 10 + options.sub = mkOption { 11 + default = { }; 12 + type = types.submodule ( 13 + { config 14 + , extendModules 15 + , ... 16 + }: 17 + { 18 + options.value = mkOption { 19 + type = types.int; 20 + }; 21 + 22 + options.specialisation = mkOption { 23 + default = { }; 24 + inherit 25 + (extendModules { 26 + modules = [{ 27 + specialisation = mkOverride 0 { }; 28 + }]; 29 + }) 30 + type; 31 + }; 32 + } 33 + ); 34 + }; 35 + } 36 + 37 + { config.sub.value = 1; } 38 + 39 + 40 + ]; 41 + }
+8 -2
lib/types.nix
··· 568 { modules 569 , specialArgs ? {} 570 , shorthandOnlyDefinesConfig ? false 571 }@attrs: 572 let 573 inherit (lib.modules) evalModules; ··· 579 allModules = defs: imap1 (n: { value, file }: 580 if isFunction value 581 then setFunctionArgs 582 - (args: lib.modules.unifyModuleSyntax file "${toString file}-${toString n}" (value args)) 583 (functionArgs value) 584 else if isAttrs value 585 then 586 - lib.modules.unifyModuleSyntax file "${toString file}-${toString n}" (shorthandToModule value) 587 else value 588 ) defs; 589 ··· 620 (base.extendModules { 621 modules = [ { _module.args.name = last loc; } ] ++ allModules defs; 622 prefix = loc; 623 }).config; 624 emptyValue = { value = {}; }; 625 getSubOptions = prefix: (base.extendModules
··· 568 { modules 569 , specialArgs ? {} 570 , shorthandOnlyDefinesConfig ? false 571 + 572 + # Internal variable to avoid `_key` collisions regardless 573 + # of `extendModules`. Wired through by `evalModules`. 574 + # Test case: lib/tests/modules, "168767" 575 + , extensionOffset ? 0 576 }@attrs: 577 let 578 inherit (lib.modules) evalModules; ··· 584 allModules = defs: imap1 (n: { value, file }: 585 if isFunction value 586 then setFunctionArgs 587 + (args: lib.modules.unifyModuleSyntax file "${toString file}-${toString (n + extensionOffset)}" (value args)) 588 (functionArgs value) 589 else if isAttrs value 590 then 591 + lib.modules.unifyModuleSyntax file "${toString file}-${toString (n + extensionOffset)}" (shorthandToModule value) 592 else value 593 ) defs; 594 ··· 625 (base.extendModules { 626 modules = [ { _module.args.name = last loc; } ] ++ allModules defs; 627 prefix = loc; 628 + extensionOffset = extensionOffset + length defs; 629 }).config; 630 emptyValue = { value = {}; }; 631 getSubOptions = prefix: (base.extendModules
+1 -1
pkgs/applications/misc/evtest/default.nix
··· 10 src = fetchgit { 11 url = "git://anongit.freedesktop.org/${pname}"; 12 rev = "refs/tags/${pname}-${version}"; 13 - sha256 = "168gdhzj11f4nk94a6z696sm8v1njzwww69bn6wr97l17897913g"; 14 }; 15 16 meta = with lib; {
··· 10 src = fetchgit { 11 url = "git://anongit.freedesktop.org/${pname}"; 12 rev = "refs/tags/${pname}-${version}"; 13 + sha256 = "sha256-0UGcoGkNF/19aSTWNEFAmZP7seL/yObXsOLlZLiyG2Q="; 14 }; 15 16 meta = with lib; {
+2 -2
pkgs/applications/misc/masterpdfeditor/default.nix
··· 2 3 stdenv.mkDerivation rec { 4 pname = "masterpdfeditor"; 5 - version = "5.8.33"; 6 7 src = fetchurl { 8 url = "https://code-industry.net/public/master-pdf-editor-${version}-qt5.x86_64.tar.gz"; 9 - sha256 = "sha256-sgLF/NpaNlkL5iA1l7QzMiYKwRcMDu2DHdTIaeHOtfI="; 10 }; 11 12 nativeBuildInputs = [ autoPatchelfHook wrapQtAppsHook ];
··· 2 3 stdenv.mkDerivation rec { 4 pname = "masterpdfeditor"; 5 + version = "5.8.46"; 6 7 src = fetchurl { 8 url = "https://code-industry.net/public/master-pdf-editor-${version}-qt5.x86_64.tar.gz"; 9 + sha256 = "sha256-xms4aqIxYXR6v226RMf+abrFU1xz2aDIL6iQ+Yfff1k="; 10 }; 11 12 nativeBuildInputs = [ autoPatchelfHook wrapQtAppsHook ];
+13 -4
pkgs/applications/misc/ranger/default.nix
··· 1 - { lib, fetchFromGitHub, python3Packages, file, less, highlight 2 - , imagePreviewSupport ? true, w3m }: 3 4 python3Packages.buildPythonApplication rec { 5 pname = "ranger"; ··· 15 LC_ALL = "en_US.UTF-8"; 16 17 checkInputs = with python3Packages; [ pytestCheckHook ]; 18 - propagatedBuildInputs = [ file ] 19 - ++ lib.optionals (imagePreviewSupport) [ python3Packages.pillow ]; 20 21 preConfigure = '' 22 ${lib.optionalString (highlight != null) ''
··· 1 + { lib, fetchFromGitHub, python3Packages, file, less, highlight, w3m 2 + , imagePreviewSupport ? true 3 + , neoVimSupport ? true 4 + , improvedEncodingDetection ? true 5 + , rightToLeftTextSupport ? false 6 + }: 7 8 python3Packages.buildPythonApplication rec { 9 pname = "ranger"; ··· 19 LC_ALL = "en_US.UTF-8"; 20 21 checkInputs = with python3Packages; [ pytestCheckHook ]; 22 + propagatedBuildInputs = [ 23 + less 24 + file 25 + ] ++ lib.optionals imagePreviewSupport [ python3Packages.pillow ] 26 + ++ lib.optionals neoVimSupport [ python3Packages.pynvim ] 27 + ++ lib.optionals improvedEncodingDetection [ python3Packages.chardet ] 28 + ++ lib.optionals rightToLeftTextSupport [ python3Packages.python-bidi ]; 29 30 preConfigure = '' 31 ${lib.optionalString (highlight != null) ''
-22
pkgs/applications/networking/c14/default.nix
··· 1 - { lib, buildGoPackage, fetchFromGitHub }: 2 - 3 - buildGoPackage rec { 4 - pname = "c14-cli"; 5 - version = "0.3"; 6 - 7 - goPackagePath = "github.com/online-net/c14-cli"; 8 - 9 - src = fetchFromGitHub { 10 - owner = "online-net"; 11 - repo = "c14-cli"; 12 - rev = version; 13 - sha256 = "0b1piviy6vvdbak8y8bc24rk3c1fi67vv3352pmnzvrhsar2r5yf"; 14 - }; 15 - 16 - meta = with lib; { 17 - description = "C14 is designed for data archiving & long-term backups"; 18 - homepage = "https://www.online.net/en/storage/c14-cold-storage"; 19 - license = licenses.mit; 20 - maintainers = with maintainers; [ apeyroux ]; 21 - }; 22 - }
···
+3 -3
pkgs/applications/networking/cluster/helm-docs/default.nix
··· 2 3 buildGoModule rec { 4 pname = "helm-docs"; 5 - version = "1.7.0"; 6 7 src = fetchFromGitHub { 8 owner = "norwoodj"; 9 repo = "helm-docs"; 10 rev = "v${version}"; 11 - sha256 = "sha256-TXwEVyRYRiVqCDL7IR+DIu1iKqaq81W5xkvz+laxVek="; 12 }; 13 14 - vendorSha256 = "sha256-XTV0gyUWe6G5gxucsXOaDOUQoKMCfhrWzlKwUOaA6y4="; 15 16 subPackages = [ "cmd/helm-docs" ]; 17 ldflags = [
··· 2 3 buildGoModule rec { 4 pname = "helm-docs"; 5 + version = "1.8.1"; 6 7 src = fetchFromGitHub { 8 owner = "norwoodj"; 9 repo = "helm-docs"; 10 rev = "v${version}"; 11 + sha256 = "sha256-OpS/CYBb2Ll6ktvEhqkw/bWMSrFa4duidK3Glu8EnPw="; 12 }; 13 14 + vendorSha256 = "sha256-FpmeOQ8nV+sEVu2+nY9o9aFbCpwSShQUFOmyzwEQ9Pw="; 15 16 subPackages = [ "cmd/helm-docs" ]; 17 ldflags = [
+17 -7
pkgs/applications/networking/cluster/kompose/default.nix
··· 1 - { lib, buildGoPackage, fetchFromGitHub, installShellFiles }: 2 3 - buildGoPackage rec { 4 pname = "kompose"; 5 - version = "1.21.0"; 6 - 7 - goPackagePath = "github.com/kubernetes/kompose"; 8 9 src = fetchFromGitHub { 10 - rev = "v${version}"; 11 owner = "kubernetes"; 12 repo = "kompose"; 13 - sha256 = "15a1alf6ywwfc4z5kdcnv64fp3cfy3qrcw62ny6xyn1kh1w24vkh"; 14 }; 15 16 nativeBuildInputs = [ installShellFiles ]; 17 postInstall = '' 18 for shell in bash zsh; do 19 $out/bin/kompose completion $shell > kompose.$shell 20 installShellCompletion kompose.$shell 21 done 22 ''; 23 24 meta = with lib; { 25 description = "A tool to help users who are familiar with docker-compose move to Kubernetes";
··· 1 + { lib, buildGoModule, fetchFromGitHub, installShellFiles, testVersion, kompose }: 2 3 + buildGoModule rec { 4 pname = "kompose"; 5 + version = "1.26.1"; 6 7 src = fetchFromGitHub { 8 owner = "kubernetes"; 9 repo = "kompose"; 10 + rev = "v${version}"; 11 + sha256 = "sha256-NfzqGG5ZwPpmjhvcvXN1AA+kfZG/oujbAEtXkm1mzeU="; 12 }; 13 14 + vendorSha256 = "sha256-OR5U2PnebO0a+lwU09Dveh0Yxk91cmSRorTxQIO5lHc="; 15 + 16 nativeBuildInputs = [ installShellFiles ]; 17 + 18 + ldflags = [ "-s" "-w" ]; 19 + 20 + checkFlags = [ "-short" ]; 21 + 22 postInstall = '' 23 for shell in bash zsh; do 24 $out/bin/kompose completion $shell > kompose.$shell 25 installShellCompletion kompose.$shell 26 done 27 ''; 28 + 29 + passthru.tests.version = testVersion { 30 + package = kompose; 31 + command = "kompose version"; 32 + }; 33 34 meta = with lib; { 35 description = "A tool to help users who are familiar with docker-compose move to Kubernetes";
+9
pkgs/applications/networking/cluster/terraform-providers/providers.json
··· 162 "vendorSha256": "03761vl8xcirmas38q8xivx2r312c07fmg1y80lklmswbd8d0f71", 163 "version": "2.2.0" 164 }, 165 "checkly": { 166 "owner": "checkly", 167 "provider-source-address": "registry.terraform.io/checkly/checkly",
··· 162 "vendorSha256": "03761vl8xcirmas38q8xivx2r312c07fmg1y80lklmswbd8d0f71", 163 "version": "2.2.0" 164 }, 165 + "buildkite": { 166 + "owner": "buildkite", 167 + "provider-source-address": "registry.terraform.io/buildkite/buildkite", 168 + "repo": "terraform-provider-buildkite", 169 + "rev": "v0.8.0", 170 + "sha256": "1v4kzsvzkzf0bb6vpyjh0n2kbcfrqa193idvm4jgbcrdb0y3xzn5", 171 + "vendorSha256": "12kqjpyy80pfrasicmdi1f43mr846rad3c6xaa4dvzn7hq640q5j", 172 + "version": "0.8.0" 173 + }, 174 "checkly": { 175 "owner": "checkly", 176 "provider-source-address": "registry.terraform.io/checkly/checkly",
+2 -2
pkgs/applications/networking/mailreaders/evolution/evolution/default.nix
··· 46 47 stdenv.mkDerivation rec { 48 pname = "evolution"; 49 - version = "3.44.0"; 50 51 src = fetchurl { 52 url = "mirror://gnome/sources/evolution/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 53 - sha256 = "3yHT31Ik36hC6ikO/82QKv1LFBhgik37aQejt9TZlPk="; 54 }; 55 56 nativeBuildInputs = [
··· 46 47 stdenv.mkDerivation rec { 48 pname = "evolution"; 49 + version = "3.44.1"; 50 51 src = fetchurl { 52 url = "mirror://gnome/sources/evolution/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 53 + sha256 = "dEx+CK0R4bYQPO60u/2Jo7Yo4SbOOGe7AI80F8wEnqk="; 54 }; 55 56 nativeBuildInputs = [
+2 -2
pkgs/applications/networking/remote/freerdp/default.nix
··· 52 in 53 stdenv.mkDerivation rec { 54 pname = "freerdp"; 55 - version = "2.6.1"; 56 57 src = fetchFromGitHub { 58 owner = "FreeRDP"; 59 repo = "FreeRDP"; 60 rev = version; 61 - sha256 = "sha256-+yKdB/glNf74drv9EvBwVMWrqr5ADBkSJVVDH+UKb2U="; 62 }; 63 64 postPatch = ''
··· 52 in 53 stdenv.mkDerivation rec { 54 pname = "freerdp"; 55 + version = "2.7.0"; 56 57 src = fetchFromGitHub { 58 owner = "FreeRDP"; 59 repo = "FreeRDP"; 60 rev = version; 61 + sha256 = "sha256-XBYRhbwknVa8eXxk31b7n9gMWBcTjCecDN+j2FGcpw0="; 62 }; 63 64 postPatch = ''
+2 -1
pkgs/development/coq-modules/mathcomp-word/default.nix
··· 10 11 releaseRev = v: "v${v}"; 12 13 release."1.0".sha256 = "sha256:0703m97rnivcbc7vvbd9rl2dxs6l8n52cbykynw61c6w9rhxspcg"; 14 15 inherit version; 16 defaultVersion = with versions; switch [ coq.version mathcomp.version ] [ 17 - { cases = [ (range "8.12" "8.14") (isGe "1.12") ]; out = "1.0"; } 18 ] null; 19 20 propagatedBuildInputs = [ mathcomp.algebra mathcomp.ssreflect mathcomp.fingroup ];
··· 10 11 releaseRev = v: "v${v}"; 12 13 + release."1.1".sha256 = "sha256:0jb28vgkr4xpg9d6k85rq7abpx5ch612iw9ps5w8q80q1jpjlc4z"; 14 release."1.0".sha256 = "sha256:0703m97rnivcbc7vvbd9rl2dxs6l8n52cbykynw61c6w9rhxspcg"; 15 16 inherit version; 17 defaultVersion = with versions; switch [ coq.version mathcomp.version ] [ 18 + { cases = [ (range "8.12" "8.15") (isGe "1.12") ]; out = "1.1"; } 19 ] null; 20 21 propagatedBuildInputs = [ mathcomp.algebra mathcomp.ssreflect mathcomp.fingroup ];
+2 -2
pkgs/development/interpreters/joker/default.nix
··· 2 3 buildGoModule rec { 4 pname = "joker"; 5 - version = "0.18.0"; 6 7 src = fetchFromGitHub { 8 rev = "v${version}"; 9 owner = "candid82"; 10 repo = "joker"; 11 - sha256 = "sha256-Iia4sl8lRTpek5aZvQW/yy+TnMq5KNJH+pBnksqL/G0="; 12 }; 13 14 vendorSha256 = "sha256-AYoespfzFLP/jIIxbw5K653wc7sSfLY8K7di8GZ64wA=";
··· 2 3 buildGoModule rec { 4 pname = "joker"; 5 + version = "1.0.0"; 6 7 src = fetchFromGitHub { 8 rev = "v${version}"; 9 owner = "candid82"; 10 repo = "joker"; 11 + sha256 = "sha256-SlkhxALJwrZ/DOuBbqjb+wHEfT5mhd3lSD6E0geFP4Y="; 12 }; 13 14 vendorSha256 = "sha256-AYoespfzFLP/jIIxbw5K653wc7sSfLY8K7di8GZ64wA=";
+4 -1
pkgs/development/libraries/clucene-core/2.x.nix
··· 20 ] ++ lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [ 21 "-D_CL_HAVE_GCC_ATOMIC_FUNCTIONS=0" 22 "-D_CL_HAVE_NAMESPACES_EXITCODE=0" 23 "-D_CL_HAVE_NO_SNPRINTF_BUG_EXITCODE=0" 24 - "-D_CL_HAVE_NO_SNWPRINTF_BUG_EXITCODE=0" 25 "-D_CL_HAVE_TRY_BLOCKS_EXITCODE=0" 26 "-D_CL_HAVE_PTHREAD_MUTEX_RECURSIVE=0" 27 "-DLUCENE_STATIC_CONSTANT_SYNTAX_EXITCODE=0" 28 ]; 29 30 patches = # From debian
··· 20 ] ++ lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [ 21 "-D_CL_HAVE_GCC_ATOMIC_FUNCTIONS=0" 22 "-D_CL_HAVE_NAMESPACES_EXITCODE=0" 23 + "-D_CL_HAVE_NAMESPACES_EXITCODE__TRYRUN_OUTPUT=" 24 "-D_CL_HAVE_NO_SNPRINTF_BUG_EXITCODE=0" 25 + "-D_CL_HAVE_NO_SNPRINTF_BUG_EXITCODE__TRYRUN_OUTPUT=" 26 "-D_CL_HAVE_TRY_BLOCKS_EXITCODE=0" 27 + "-D_CL_HAVE_TRY_BLOCKS_EXITCODE__TRYRUN_OUTPUT=" 28 "-D_CL_HAVE_PTHREAD_MUTEX_RECURSIVE=0" 29 "-DLUCENE_STATIC_CONSTANT_SYNTAX_EXITCODE=0" 30 + "-DLUCENE_STATIC_CONSTANT_SYNTAX_EXITCODE__TRYRUN_OUTPUT=" 31 ]; 32 33 patches = # From debian
+3 -3
pkgs/development/python-modules/ansible-later/default.nix
··· 21 22 buildPythonPackage rec { 23 pname = "ansible-later"; 24 - version = "2.0.10"; 25 format = "pyproject"; 26 27 disabled = pythonOlder "3.8"; ··· 29 src = fetchFromGitHub { 30 owner = "thegeeklab"; 31 repo = pname; 32 - rev = "v${version}"; 33 - hash = "sha256-EwWoRLTA1vm8Su3VpXTrRVtmtneEsO/+SuuY1k1yeMQ="; 34 }; 35 36 nativeBuildInputs = [
··· 21 22 buildPythonPackage rec { 23 pname = "ansible-later"; 24 + version = "2.0.11"; 25 format = "pyproject"; 26 27 disabled = pythonOlder "3.8"; ··· 29 src = fetchFromGitHub { 30 owner = "thegeeklab"; 31 repo = pname; 32 + rev = "refs/tags/v${version}"; 33 + hash = "sha256-K4GResTKKWXQ0OHpBwqTLnptQ8ipuQ9iaGZDlPqRUaI="; 34 }; 35 36 nativeBuildInputs = [
+2 -2
pkgs/development/python-modules/aprslib/default.nix
··· 7 8 buildPythonPackage rec { 9 pname = "aprslib"; 10 - version = "0.7.0"; 11 12 src = fetchFromGitHub { 13 owner = "rossengeorgiev"; 14 repo = "aprs-python"; 15 rev = "v${version}"; 16 - sha256 = "sha256-QasyF0Ch4zdPoAgcqRavEENVGA/02/AgeWAgXYcSUjk="; 17 }; 18 19 checkInputs = [
··· 7 8 buildPythonPackage rec { 9 pname = "aprslib"; 10 + version = "0.7.1"; 11 12 src = fetchFromGitHub { 13 owner = "rossengeorgiev"; 14 repo = "aprs-python"; 15 rev = "v${version}"; 16 + hash = "sha256-wWlzOFhWJ7hJeM3RWsPTEsLjRzN4SMXsb2Cd612HB4w="; 17 }; 18 19 checkInputs = [
+2 -2
pkgs/development/python-modules/fuse-python/default.nix
··· 2 3 buildPythonPackage rec { 4 pname = "fuse-python"; 5 - version = "1.0.4"; 6 7 src = fetchPypi { 8 inherit pname version; 9 - sha256 = "b9a69c38b3909ffd35d77cb1a73ebfdc3a103a6d4cdd20c86c70ed1141771580"; 10 }; 11 12 buildInputs = [ fuse ];
··· 2 3 buildPythonPackage rec { 4 pname = "fuse-python"; 5 + version = "1.0.5"; 6 7 src = fetchPypi { 8 inherit pname version; 9 + sha256 = "sha256-dOX/szaCu6mlrypaBI9Ht+e0ZOv4QpG/WiWL+60Do6o="; 10 }; 11 12 buildInputs = [ fuse ];
+2 -2
pkgs/development/python-modules/hahomematic/default.nix
··· 14 15 buildPythonPackage rec { 16 pname = "hahomematic"; 17 - version = "1.1.4"; 18 format = "setuptools"; 19 20 disabled = pythonOlder "3.9"; ··· 23 owner = "danielperna84"; 24 repo = pname; 25 rev = "refs/tags/${version}"; 26 - sha256 = "sha256-it3Hku0k+o2v+KeykCO3W5CxOpkWbGXT055Kq6cSDzo="; 27 }; 28 29 propagatedBuildInputs = [
··· 14 15 buildPythonPackage rec { 16 pname = "hahomematic"; 17 + version = "1.1.5"; 18 format = "setuptools"; 19 20 disabled = pythonOlder "3.9"; ··· 23 owner = "danielperna84"; 24 repo = pname; 25 rev = "refs/tags/${version}"; 26 + sha256 = "sha256-wuoc+A+KoqH/OdZ7/Rj/RZjgRLMU1WrRFqlS3TzJL4I="; 27 }; 28 29 propagatedBuildInputs = [
+14 -5
pkgs/development/python-modules/mkdocs-material/default.nix
··· 1 - { lib, callPackage, buildPythonApplication, fetchFromGitHub 2 , jinja2 3 , markdown 4 , mkdocs 5 , mkdocs-material-extensions 6 , pygments 7 , pymdown-extensions 8 }: 9 10 buildPythonApplication rec { 11 pname = "mkdocs-material"; 12 - version = "8.2.9"; 13 14 src = fetchFromGitHub { 15 owner = "squidfunk"; 16 repo = pname; 17 - rev = version; 18 - sha256 = "sha256-lrklTQWWsP1rjixqu5/S7XMN+K095NRGv3JkjRQ4brM="; 19 }; 20 21 propagatedBuildInputs = [ ··· 30 # No tests for python 31 doCheck = false; 32 33 - pythonImportsCheck = [ "mkdocs" ]; 34 35 meta = with lib; { 36 description = "Material for mkdocs";
··· 1 + { lib 2 + , callPackage 3 + , buildPythonApplication 4 + , fetchFromGitHub 5 , jinja2 6 , markdown 7 , mkdocs 8 , mkdocs-material-extensions 9 , pygments 10 , pymdown-extensions 11 + , pythonOlder 12 }: 13 14 buildPythonApplication rec { 15 pname = "mkdocs-material"; 16 + version = "8.2.11"; 17 + format = "setuptools"; 18 + 19 + disabled = pythonOlder "3.6"; 20 21 src = fetchFromGitHub { 22 owner = "squidfunk"; 23 repo = pname; 24 + rev = "refs/tags/${version}"; 25 + hash = "sha256-YAXdIA36QWwdQxTux6Sy/F0j8lprSO+5/VezFcsGQYg="; 26 }; 27 28 propagatedBuildInputs = [ ··· 37 # No tests for python 38 doCheck = false; 39 40 + pythonImportsCheck = [ 41 + "mkdocs" 42 + ]; 43 44 meta = with lib; { 45 description = "Material for mkdocs";
+2 -2
pkgs/development/python-modules/mocket/default.nix
··· 19 20 buildPythonPackage rec { 21 pname = "mocket"; 22 - version = "3.10.4"; 23 disabled = !isPy3k; 24 25 src = fetchPypi { 26 inherit pname version; 27 - sha256 = "831c23bf891c525828b7da49a358c6e0698481e4c8b3a61a69e87f36d06ef969"; 28 }; 29 30 propagatedBuildInputs = [
··· 19 20 buildPythonPackage rec { 21 pname = "mocket"; 22 + version = "3.10.5"; 23 disabled = !isPy3k; 24 25 src = fetchPypi { 26 inherit pname version; 27 + sha256 = "sha256-rF6ol5T6wH0nNmaP+lHQL8H+XZz1kl7OEe7NNO4MCtw="; 28 }; 29 30 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/mypy-boto3-s3/default.nix
··· 8 9 buildPythonPackage rec { 10 pname = "mypy-boto3-s3"; 11 - version = "1.21.34"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.6"; 15 16 src = fetchPypi { 17 inherit pname version; 18 - hash = "sha256-gXvMC+GZknL+jYG9ZQD1/dqRhMwXrZvXG8CvCFYxdco="; 19 }; 20 21 propagatedBuildInputs = [
··· 8 9 buildPythonPackage rec { 10 pname = "mypy-boto3-s3"; 11 + version = "1.22.0.post1"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.6"; 15 16 src = fetchPypi { 17 inherit pname version; 18 + hash = "sha256-lOpsygYi1iCZ9DgqOjfJ4HL9PvRmLqMpEWqgeOyFCI4="; 19 }; 20 21 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/pg8000/default.nix
··· 8 9 buildPythonPackage rec { 10 pname = "pg8000"; 11 - version = "1.26.0"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.6"; 15 16 src = fetchPypi { 17 inherit pname version; 18 - sha256 = "sha256-niXqE6W3/Mg7AmBR18bk3NUiHpUOvlOT3nFaP+oVJ9M="; 19 }; 20 21 propagatedBuildInputs = [
··· 8 9 buildPythonPackage rec { 10 pname = "pg8000"; 11 + version = "1.26.1"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.6"; 15 16 src = fetchPypi { 17 inherit pname version; 18 + sha256 = "sha256-zNK2/hkK3ddMCTpivgcwuemfPqA6oO96uV7Rt/9p0lc="; 19 }; 20 21 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/pycoolmasternet-async/default.nix
··· 6 7 buildPythonPackage rec { 8 pname = "pycoolmasternet-async"; 9 - version = "0.1.2"; 10 11 disabled = pythonOlder "3.7"; 12 ··· 14 owner = "OnFreund"; 15 repo = "pycoolmasternet-async"; 16 rev = "v${version}"; 17 - sha256 = "0qzdk18iqrvin8p8zrydf69d6pii3j47j11h7ymmsx08gh7c176g"; 18 }; 19 20 # no tests implemented
··· 6 7 buildPythonPackage rec { 8 pname = "pycoolmasternet-async"; 9 + version = "0.1.3"; 10 11 disabled = pythonOlder "3.7"; 12 ··· 14 owner = "OnFreund"; 15 repo = "pycoolmasternet-async"; 16 rev = "v${version}"; 17 + hash = "sha256-1Xd8OdN8d3g23kQZqihZrNLKoqLCbu5BvAMNitg8aDA="; 18 }; 19 20 # no tests implemented
+2 -2
pkgs/development/python-modules/pyoppleio/default.nix
··· 7 8 buildPythonPackage rec { 9 pname = "pyoppleio"; 10 - version = "1.0.6"; 11 format = "setuptools"; 12 13 disabled = pythonOlder "3.7"; 14 15 src = fetchPypi { 16 inherit pname version; 17 - hash = "sha256-q//uJ+2m9S0r+Jsa5Eye90YSw4cKzd04vPHMm89j8kg="; 18 }; 19 20 propagatedBuildInputs = [
··· 7 8 buildPythonPackage rec { 9 pname = "pyoppleio"; 10 + version = "1.0.7"; 11 format = "setuptools"; 12 13 disabled = pythonOlder "3.7"; 14 15 src = fetchPypi { 16 inherit pname version; 17 + hash = "sha256-S1w3pPqhX903kkXUq9ALz0+zRvNGOimLughRRVKjV8E="; 18 }; 19 20 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/pypykatz/default.nix
··· 13 14 buildPythonPackage rec { 15 pname = "pypykatz"; 16 - version = "0.5.6"; 17 format = "setuptools"; 18 19 disabled = pythonOlder "3.7"; 20 21 src = fetchPypi { 22 inherit pname version; 23 - hash = "sha256-iuLQfdRNxy6Z+7sYGG+dSHlxicOPtNOdB/VNLyZjRsY="; 24 }; 25 26 propagatedBuildInputs = [
··· 13 14 buildPythonPackage rec { 15 pname = "pypykatz"; 16 + version = "0.5.7"; 17 format = "setuptools"; 18 19 disabled = pythonOlder "3.7"; 20 21 src = fetchPypi { 22 inherit pname version; 23 + hash = "sha256-G+dbP+xtRH8dIU70HbimRJV+e/yYlo2ds5OAIzUcydY="; 24 }; 25 26 propagatedBuildInputs = [
+42 -3
pkgs/development/python-modules/update-dotdee/default.nix
··· 1 - { lib, buildPythonPackage, fetchFromGitHub, executor, naturalsort }: 2 3 buildPythonPackage rec { 4 pname = "update-dotdee"; 5 version = "6.0"; 6 7 src = fetchFromGitHub { 8 owner = "xolox"; 9 repo = "python-update-dotdee"; 10 rev = version; 11 - sha256 = "sha256-2k7FdgWM0ESHQb2za87yhXGaR/rbMYLVcv10QexUH1A="; 12 }; 13 14 - propagatedBuildInputs = [ executor naturalsort ]; 15 16 meta = with lib; { 17 description = "Generic modularized configuration file manager";
··· 1 + { lib 2 + , buildPythonPackage 3 + , coloredlogs 4 + , executor 5 + , fetchFromGitHub 6 + , humanfriendly 7 + , naturalsort 8 + , property-manager 9 + , pytestCheckHook 10 + , pythonOlder 11 + , six 12 + }: 13 14 buildPythonPackage rec { 15 pname = "update-dotdee"; 16 version = "6.0"; 17 + format = "setuptools"; 18 + 19 + disabled = pythonOlder "3.7"; 20 21 src = fetchFromGitHub { 22 owner = "xolox"; 23 repo = "python-update-dotdee"; 24 rev = version; 25 + hash = "sha256-2k7FdgWM0ESHQb2za87yhXGaR/rbMYLVcv10QexUH1A="; 26 }; 27 28 + propagatedBuildInputs = [ 29 + coloredlogs 30 + executor 31 + humanfriendly 32 + naturalsort 33 + property-manager 34 + six 35 + ]; 36 + 37 + checkInputs = [ 38 + pytestCheckHook 39 + ]; 40 + 41 + postPatch = '' 42 + substituteInPlace tox.ini \ 43 + --replace " --cov --showlocals --verbose" "" 44 + ''; 45 + 46 + pythonImportsCheck = [ 47 + "update_dotdee" 48 + ]; 49 + 50 + disabledTests = [ 51 + # TypeError: %o format: an integer is required, not str 52 + "test_executable" 53 + ]; 54 55 meta = with lib; { 56 description = "Generic modularized configuration file manager";
+15 -5
pkgs/development/python-modules/winsspi/default.nix
··· 2 , buildPythonPackage 3 , fetchPypi 4 , minikerberos 5 }: 6 7 buildPythonPackage rec { 8 pname = "winsspi"; 9 - version = "0.0.9"; 10 11 src = fetchPypi { 12 inherit pname version; 13 - sha256 = "1q8hr8l8d9jxyp55qsrlkyhdhqjc0n18ajzms7hf1xkhdl7rrbd2"; 14 }; 15 - propagatedBuildInputs = [ minikerberos ]; 16 17 - # Project doesn't have tests 18 doCheck = false; 19 - pythonImportsCheck = [ "winsspi" ]; 20 21 meta = with lib; { 22 description = "Python module for ACL/ACE/Security descriptor manipulation";
··· 2 , buildPythonPackage 3 , fetchPypi 4 , minikerberos 5 + , pythonOlder 6 }: 7 8 buildPythonPackage rec { 9 pname = "winsspi"; 10 + version = "0.0.10"; 11 + format = "setuptools"; 12 + 13 + disabled = pythonOlder "3.7"; 14 15 src = fetchPypi { 16 inherit pname version; 17 + hash = "sha256-L1qNLEufRZFEQmkJ4mp05VBRLiO2z5r1LCoAADx8P9s="; 18 }; 19 20 + propagatedBuildInputs = [ 21 + minikerberos 22 + ]; 23 + 24 + # Module doesn't have tests 25 doCheck = false; 26 + 27 + pythonImportsCheck = [ 28 + "winsspi" 29 + ]; 30 31 meta = with lib; { 32 description = "Python module for ACL/ACE/Security descriptor manipulation";
+2 -2
pkgs/development/tools/analysis/checkov/default.nix
··· 32 33 buildPythonApplication rec { 34 pname = "checkov"; 35 - version = "2.0.1077"; 36 37 src = fetchFromGitHub { 38 owner = "bridgecrewio"; 39 repo = pname; 40 rev = version; 41 - hash = "sha256-Jrwgm5diBSJGY0DFG6r6iv1VQwwawKy04K8/y8yokYI="; 42 }; 43 44 nativeBuildInputs = with py.pkgs; [
··· 32 33 buildPythonApplication rec { 34 pname = "checkov"; 35 + version = "2.0.1084"; 36 37 src = fetchFromGitHub { 38 owner = "bridgecrewio"; 39 repo = pname; 40 rev = version; 41 + hash = "sha256-bzmXLqjtl742UcjBpYQdtiTKO6Oe/x7lGoJZh+uJzUo="; 42 }; 43 44 nativeBuildInputs = with py.pkgs; [
+2 -2
pkgs/development/tools/doctl/default.nix
··· 2 3 buildGoModule rec { 4 pname = "doctl"; 5 - version = "1.71.1"; 6 7 vendorSha256 = null; 8 ··· 31 owner = "digitalocean"; 32 repo = "doctl"; 33 rev = "v${version}"; 34 - sha256 = "sha256-Y6YabrpM1WcNGp5ksvq3SBuAS6KEUVzEfxsPmBDS+Io="; 35 }; 36 37 meta = with lib; {
··· 2 3 buildGoModule rec { 4 pname = "doctl"; 5 + version = "1.72.0"; 6 7 vendorSha256 = null; 8 ··· 31 owner = "digitalocean"; 32 repo = "doctl"; 33 rev = "v${version}"; 34 + sha256 = "sha256-+8uGh7cvNndBBLdTfbYDxfn7Z+4LPPgqeseLcR1P468="; 35 }; 36 37 meta = with lib; {
+8 -7
pkgs/development/tools/hcloud/default.nix
··· 2 3 buildGoModule rec { 4 pname = "hcloud"; 5 - version = "1.29.0"; 6 7 src = fetchFromGitHub { 8 owner = "hetznercloud"; 9 repo = "cli"; 10 rev = "v${version}"; 11 - sha256 = "sha256-B5L4vK5JkcYHqdyxAsP+tBcA6PtM2Gd4JwtW5nMuIXQ="; 12 }; 13 14 - nativeBuildInputs = [ installShellFiles ]; 15 16 - vendorSha256 = "sha256-3YU6vAIzTzkEwyMPH4QSUuQ1PQlrWnfRRCA1fHMny48="; 17 18 - doCheck = false; 19 - 20 - ldflags = [ "-s" "-w" "-X github.com/hetznercloud/cli/cli.Version=${version}" ]; 21 22 postInstall = '' 23 for shell in bash zsh; do
··· 2 3 buildGoModule rec { 4 pname = "hcloud"; 5 + version = "1.29.5"; 6 7 src = fetchFromGitHub { 8 owner = "hetznercloud"; 9 repo = "cli"; 10 rev = "v${version}"; 11 + sha256 = "sha256-a+AXWr/60VFdNk+UkDYRXo5ib8LvaCVpjNi1GFrRVho="; 12 }; 13 14 + vendorSha256 = "sha256-iJnjmfP9BcT+OXotbS2+OSWGxQaMXwdlR1WTi04FesM="; 15 16 + ldflags = [ 17 + "-s" "-w" 18 + "-X github.com/hetznercloud/cli/cli.Version=${version}" 19 + ]; 20 21 + nativeBuildInputs = [ installShellFiles ]; 22 23 postInstall = '' 24 for shell in bash zsh; do
+11 -1
pkgs/os-specific/linux/upower/default.nix
··· 18 , systemd 19 , useIMobileDevice ? true 20 , libimobiledevice 21 }: 22 23 stdenv.mkDerivation rec { 24 pname = "upower"; 25 version = "0.99.17"; 26 27 - outputs = [ "out" "dev" "devdoc" ]; 28 29 src = fetchFromGitLab { 30 domain = "gitlab.freedesktop.org"; ··· 33 rev = "v${version}"; 34 sha256 = "xvvqzGxgkuGcvnO12jnLURNJUoSlnMw2g/mnII+i6Bs="; 35 }; 36 37 nativeBuildInputs = [ 38 meson ··· 66 "-Dos_backend=linux" 67 "-Dsystemdsystemunitdir=${placeholder "out"}/etc/systemd/system" 68 "-Dudevrulesdir=${placeholder "out"}/lib/udev/rules.d" 69 ]; 70 71 doCheck = false; # fails with "env: './linux/integration-test': No such file or directory"
··· 18 , systemd 19 , useIMobileDevice ? true 20 , libimobiledevice 21 + , withDocs ? (stdenv.buildPlatform == stdenv.hostPlatform) 22 }: 23 24 stdenv.mkDerivation rec { 25 pname = "upower"; 26 version = "0.99.17"; 27 28 + outputs = [ "out" "dev" ] 29 + ++ lib.optionals withDocs [ "devdoc" ]; 30 31 src = fetchFromGitLab { 32 domain = "gitlab.freedesktop.org"; ··· 35 rev = "v${version}"; 36 sha256 = "xvvqzGxgkuGcvnO12jnLURNJUoSlnMw2g/mnII+i6Bs="; 37 }; 38 + 39 + strictDeps = true; 40 + 41 + depsBuildBuild = [ 42 + pkg-config 43 + ]; 44 45 nativeBuildInputs = [ 46 meson ··· 74 "-Dos_backend=linux" 75 "-Dsystemdsystemunitdir=${placeholder "out"}/etc/systemd/system" 76 "-Dudevrulesdir=${placeholder "out"}/lib/udev/rules.d" 77 + "-Dintrospection=${if (stdenv.buildPlatform == stdenv.hostPlatform) then "auto" else "disabled"}" 78 + "-Dgtk-doc=${lib.boolToString withDocs}" 79 ]; 80 81 doCheck = false; # fails with "env: './linux/integration-test': No such file or directory"
+4 -4
pkgs/servers/caddy/default.nix
··· 1 { lib, buildGoModule, fetchFromGitHub, nixosTests }: 2 let 3 - version = "2.4.6"; 4 dist = fetchFromGitHub { 5 owner = "caddyserver"; 6 repo = "dist"; ··· 18 owner = "caddyserver"; 19 repo = "caddy"; 20 rev = "v${version}"; 21 - sha256 = "sha256-xNCxzoNpXkj8WF9+kYJfO18ux8/OhxygkGjA49+Q4vY="; 22 }; 23 24 - vendorSha256 = "sha256-NomgHqIiugSISbEtvIbJDn5GRn6Dn72adLPkAvLbUQU="; 25 26 postInstall = '' 27 install -Dm644 ${dist}/init/caddy.service ${dist}/init/caddy-api.service -t $out/lib/systemd/system ··· 36 homepage = "https://caddyserver.com"; 37 description = "Fast, cross-platform HTTP/2 web server with automatic HTTPS"; 38 license = licenses.asl20; 39 - maintainers = with maintainers; [ Br1ght0ne ]; 40 }; 41 }
··· 1 { lib, buildGoModule, fetchFromGitHub, nixosTests }: 2 let 3 + version = "2.5.0"; 4 dist = fetchFromGitHub { 5 owner = "caddyserver"; 6 repo = "dist"; ··· 18 owner = "caddyserver"; 19 repo = "caddy"; 20 rev = "v${version}"; 21 + sha256 = "sha256-V9iIz/93n6EBJZ9v3MDKD6FivtplRFN9a/e0o7YX0/w="; 22 }; 23 24 + vendorSha256 = "sha256-xu3klc9yb4Ws8fvXRV286IDhi/zQVN1PKCiFKb8VJBo="; 25 26 postInstall = '' 27 install -Dm644 ${dist}/init/caddy.service ${dist}/init/caddy-api.service -t $out/lib/systemd/system ··· 36 homepage = "https://caddyserver.com"; 37 description = "Fast, cross-platform HTTP/2 web server with automatic HTTPS"; 38 license = licenses.asl20; 39 + maintainers = with maintainers; [ Br1ght0ne techknowlogick ]; 40 }; 41 }
+3 -3
pkgs/servers/klipper/default.nix
··· 6 }: 7 stdenv.mkDerivation rec { 8 pname = "klipper"; 9 - version = "unstable-2022-03-11"; 10 11 src = fetchFromGitHub { 12 owner = "KevinOConnor"; 13 repo = "klipper"; 14 - rev = "e3beafbdb4f2ac3f889f81aec0cad5ec473c8612"; 15 - sha256 = "sha256-xZSZUJ2TNaUzfwEFpnzr5EPlOvILLyiQ/3K1iiup7kU="; 16 }; 17 18 sourceRoot = "source/klippy";
··· 6 }: 7 stdenv.mkDerivation rec { 8 pname = "klipper"; 9 + version = "unstable-2022-03-14"; 10 11 src = fetchFromGitHub { 12 owner = "KevinOConnor"; 13 repo = "klipper"; 14 + rev = "30098db22a43274ceb87e078e603889f403a35c4"; 15 + sha256 = "sha256-ORpXBFGPY6A/HEYX9Hhwb3wP2KcAE+z3pTxf6j7CwGg="; 16 }; 17 18 sourceRoot = "source/klippy";
+15 -10
pkgs/tools/misc/gosu/default.nix
··· 1 - { lib, buildGoPackage, fetchFromGitHub }: 2 3 - buildGoPackage rec { 4 pname = "gosu"; 5 - version = "unstable-2017-05-09"; 6 - 7 - goPackagePath = "github.com/tianon/gosu"; 8 9 src = fetchFromGitHub { 10 owner = "tianon"; 11 repo = "gosu"; 12 - rev = "e87cf95808a7b16208515c49012aa3410bc5bba8"; 13 - sha256 = "sha256-Ff0FXJg3z8akof+/St1JJu1OO1kS5gMtxSRnCLpj4eI="; 14 }; 15 16 - goDeps = ./deps.nix; 17 18 - meta = { 19 - description= "Tool that avoids TTY and signal-forwarding behavior of sudo and su"; 20 homepage = "https://github.com/tianon/gosu"; 21 license = lib.licenses.gpl3; 22 platforms = lib.platforms.linux; 23 }; 24 }
··· 1 + { lib, buildGoModule, fetchFromGitHub, testVersion, gosu }: 2 3 + buildGoModule rec { 4 pname = "gosu"; 5 + version = "1.14"; 6 7 src = fetchFromGitHub { 8 owner = "tianon"; 9 repo = "gosu"; 10 + rev = version; 11 + sha256 = "sha256-qwoHQB37tY8Pz8CHleYZI+SGkbHG7P/vgfXVMSyqi10="; 12 }; 13 14 + vendorSha256 = "sha256-yxrOLCtSrY/a84N5yRWGUx1L425TckjvRyn/rtkzsRY="; 15 16 + ldflags = [ "-d" "-s" "-w" ]; 17 + 18 + passthru.tests.version = testVersion { 19 + package = gosu; 20 + }; 21 + 22 + meta = with lib; { 23 + description = "Tool that avoids TTY and signal-forwarding behavior of sudo and su"; 24 homepage = "https://github.com/tianon/gosu"; 25 license = lib.licenses.gpl3; 26 + maintainers = with maintainers; [ aaronjheng ]; 27 platforms = lib.platforms.linux; 28 }; 29 }
-11
pkgs/tools/misc/gosu/deps.nix
··· 1 - [ 2 - { 3 - goPackagePath = "github.com/opencontainers/runc"; 4 - fetch = { 5 - type = "git"; 6 - url = "https://github.com/opencontainers/runc"; 7 - rev = "5274430fee9bc930598cfd9c9dbd33213f79f96e"; 8 - sha256 = "149057gm2y1mc45s7bh43c1ngjg1m54jkpaxw534ir9v5mb1zsxx"; 9 - }; 10 - } 11 - ]
···
+3 -3
pkgs/tools/security/nuclei/default.nix
··· 5 6 buildGoModule rec { 7 pname = "nuclei"; 8 - version = "2.6.8"; 9 10 src = fetchFromGitHub { 11 owner = "projectdiscovery"; 12 repo = pname; 13 rev = "v${version}"; 14 - sha256 = "sha256-XVABgsmPRNseWN+iNfbjicoNuHyZSrrlVOV3YEX7DPU="; 15 }; 16 17 - vendorSha256 = "sha256-Mibn93EviweuEsMF2d1kQAJtss/ELlJQIZTM7To2dkg="; 18 19 modRoot = "./v2"; 20 subPackages = [
··· 5 6 buildGoModule rec { 7 pname = "nuclei"; 8 + version = "2.6.9"; 9 10 src = fetchFromGitHub { 11 owner = "projectdiscovery"; 12 repo = pname; 13 rev = "v${version}"; 14 + sha256 = "sha256-BGWlkNj0LQ02BSUWQYjoT4bR0t/DmNB0jBpvwB/gWwo="; 15 }; 16 17 + vendorSha256 = "sha256-ar62CZ/2zXO3lwvWNiIAt9XITj2Y/0iIYGX8tmSCwcU="; 18 19 modRoot = "./v2"; 20 subPackages = [
+3 -3
pkgs/tools/system/natscli/default.nix
··· 5 6 buildGoModule rec { 7 pname = "natscli"; 8 - version = "0.0.30"; 9 10 src = fetchFromGitHub { 11 owner = "nats-io"; 12 repo = pname; 13 rev = "v${version}"; 14 - sha256 = "sha256-+WvJWHRQr5wYV9TG5e379trBO2Gwy0/4bAEJNwDun7s="; 15 }; 16 17 - vendorSha256 = "sha256-IHDJp+cjukX916dvffpv4Wit9kmuY101fasN+ChMxWQ="; 18 19 meta = with lib; { 20 description = "NATS Command Line Interface";
··· 5 6 buildGoModule rec { 7 pname = "natscli"; 8 + version = "0.0.32"; 9 10 src = fetchFromGitHub { 11 owner = "nats-io"; 12 repo = pname; 13 rev = "v${version}"; 14 + sha256 = "sha256-/bK7eQaH5VpYm0lfL43DtVxEeoo4z0Ns1ykuA0osPAs="; 15 }; 16 17 + vendorSha256 = "sha256-qg3fmFBHeKujNQr7WFhkdvMQeR/PCBzqTHHeNsCrrMc="; 18 19 meta = with lib; { 20 description = "NATS Command Line Interface";
+2 -2
pkgs/tools/system/nq/default.nix
··· 2 3 stdenv.mkDerivation rec { 4 pname = "nq"; 5 - version = "0.4"; 6 src = fetchFromGitHub { 7 owner = "chneukirchen"; 8 repo = "nq"; 9 rev = "v${version}"; 10 - sha256 = "sha256-UfCeHwOD+tG6X2obW64DYZr6j90yh1Yl7My4ur+sqmk="; 11 }; 12 makeFlags = [ "PREFIX=$(out)" ]; 13 postPatch = ''
··· 2 3 stdenv.mkDerivation rec { 4 pname = "nq"; 5 + version = "0.5"; 6 src = fetchFromGitHub { 7 owner = "chneukirchen"; 8 repo = "nq"; 9 rev = "v${version}"; 10 + sha256 = "sha256-g14t2Wy2GwiqnfEDiLAPGehzUgK6mLC+5PAZynez62s="; 11 }; 12 makeFlags = [ "PREFIX=$(out)" ]; 13 postPatch = ''
+14 -11
pkgs/tools/typesetting/mmark/default.nix
··· 1 - { lib, buildGoPackage, fetchFromGitHub }: 2 3 - buildGoPackage rec { 4 pname = "mmark"; 5 - version = "1.3.6"; 6 - rev = "v${version}"; 7 - 8 - goPackagePath = "github.com/miekg/mmark"; 9 10 src = fetchFromGitHub { 11 - inherit rev; 12 - owner = "miekg"; 13 repo = "mmark"; 14 - sha256 = "0q2zrwa2vwk7a0zhmi000zpqrc01zssrj9c5n3573rg68fksg77m"; 15 }; 16 17 - goDeps = ./deps.nix; 18 19 meta = { 20 description = "A powerful markdown processor in Go geared towards the IETF"; 21 - homepage = "https://github.com/miekg/mmark"; 22 license = with lib.licenses; bsd2; 23 maintainers = with lib.maintainers; [ yrashk ]; 24 platforms = lib.platforms.unix;
··· 1 + { lib, buildGoModule, fetchFromGitHub, testers, mmark }: 2 3 + buildGoModule rec { 4 pname = "mmark"; 5 + version = "2.2.25"; 6 7 src = fetchFromGitHub { 8 + owner = "mmarkdown"; 9 repo = "mmark"; 10 + rev = "v${version}"; 11 + sha256 = "sha256-9XjNTbsB4kh7YpjUnTzSXypw9r4ZyR7GALTrYebRKAg="; 12 }; 13 14 + vendorSha256 = "sha256-uHphMy9OVnLD6IBqfMTyRlDyyTabzZC4Vn0628P+0F4="; 15 + 16 + ldflags = [ "-s" "-w" ]; 17 + 18 + passthru.tests.version = testers.testVersion { 19 + package = mmark; 20 + }; 21 22 meta = { 23 description = "A powerful markdown processor in Go geared towards the IETF"; 24 + homepage = "https://github.com/mmarkdown/mmark"; 25 license = with lib.licenses; bsd2; 26 maintainers = with lib.maintainers; [ yrashk ]; 27 platforms = lib.platforms.unix;
-12
pkgs/tools/typesetting/mmark/deps.nix
··· 1 - # This file was generated by https://github.com/kamilchm/go2nix v1.2.1 2 - [ 3 - { 4 - goPackagePath = "github.com/BurntSushi/toml"; 5 - fetch = { 6 - type = "git"; 7 - url = "https://github.com/BurntSushi/toml"; 8 - rev = "a368813c5e648fee92e5f6c30e3944ff9d5e8895"; 9 - sha256 = "1sjxs2lwc8jpln80s4rlzp7nprbcljhy5mz4rf9995gq93wqnym5"; 10 - }; 11 - } 12 - ]
···
+10 -10
pkgs/tools/virtualization/marathonctl/default.nix
··· 1 - { lib, buildGoPackage, fetchFromGitHub }: 2 - 3 - buildGoPackage { 4 - pname = "marathonctl-unstable"; 5 - version = "2017-03-06"; 6 7 - goPackagePath = "github.com/shoenig/marathonctl"; 8 - subPackages = [ "." ]; 9 - goDeps = ./deps.nix; 10 11 src = fetchFromGitHub { 12 owner = "shoenig"; 13 repo = "marathonctl"; 14 - rev = "0867e66551fff5d81f25959baf914a8ee11a3a8b"; 15 - sha256 = "1fcc54hwpa8s3kz4gn26mc6nrv6zjrw869331nvm47khi23gpmxw"; 16 }; 17 18 meta = with lib; { 19 homepage = "https://github.com/shoenig/marathonctl";
··· 1 + { lib, buildGoModule, fetchFromGitHub }: 2 3 + buildGoModule rec { 4 + pname = "marathonctl"; 5 + version = "0.0.7"; 6 7 src = fetchFromGitHub { 8 owner = "shoenig"; 9 repo = "marathonctl"; 10 + rev = "v${version}"; 11 + sha256 = "sha256-MigmvOwYa0uYPexchS4MP74I1Tp6QHYuQVSOh1+FrMg="; 12 }; 13 + 14 + vendorSha256 = "sha256-Oiol4KuPOyJq2Bfc5div+enX4kQqYn20itmwWBecuIg="; 15 + 16 + ldflags = [ "-s" "-w" ]; 17 18 meta = with lib; { 19 homepage = "https://github.com/shoenig/marathonctl";
-12
pkgs/tools/virtualization/marathonctl/deps.nix
··· 1 - # This file was generated by go2nix. 2 - [ 3 - { 4 - goPackagePath = "github.com/shoenig/config"; 5 - fetch = { 6 - type = "git"; 7 - url = "https://github.com/shoenig/config"; 8 - rev = "7d793e7ad7f175ef22743b1ea38acee8267788db"; 9 - sha256 = "1dhcv1j5xk30kj73dfnx3xqx8mcvk9r8ywp9khgf2kq6wh9sm1qr"; 10 - }; 11 - } 12 - ]
···
+1
pkgs/top-level/aliases.nix
··· 141 142 ### C ### 143 144 caddy1 = throw "caddy 1.x has been removed from nixpkgs, as it's unmaintained: https://github.com/caddyserver/caddy/blob/master/.github/SECURITY.md#supported-versions"; # Added 2020-10-02 145 calibre-py2 = throw "calibre-py2 has been removed from nixpkgs, as calibre has upgraded to python 3. Please use calibre as replacement"; # Added 2021-01-13 146 calibre-py3 = throw "calibre-py3 has been removed from nixpkgs, as calibre's default python version is now 3. Please use calibre as replacement"; # Added 2021-01-13
··· 141 142 ### C ### 143 144 + c14 = throw "c14 is deprecated and archived by upstream"; # Added 2022-04-10 145 caddy1 = throw "caddy 1.x has been removed from nixpkgs, as it's unmaintained: https://github.com/caddyserver/caddy/blob/master/.github/SECURITY.md#supported-versions"; # Added 2020-10-02 146 calibre-py2 = throw "calibre-py2 has been removed from nixpkgs, as calibre has upgraded to python 3. Please use calibre as replacement"; # Added 2021-01-13 147 calibre-py3 = throw "calibre-py3 has been removed from nixpkgs, as calibre's default python version is now 3. Please use calibre as replacement"; # Added 2021-01-13
+9 -12
pkgs/top-level/all-packages.nix
··· 4790 code-browser-gtk2 = callPackage ../applications/editors/code-browser { withGtk2 = true; }; 4791 code-browser-gtk = callPackage ../applications/editors/code-browser { withGtk3 = true; }; 4792 4793 - c14 = callPackage ../applications/networking/c14 { }; 4794 - 4795 certstrap = callPackage ../tools/security/certstrap { }; 4796 4797 cfssl = callPackage ../tools/security/cfssl { }; ··· 7740 7741 ninka = callPackage ../development/tools/misc/ninka { }; 7742 7743 - nixnote2 = libsForQt514.callPackage ../applications/misc/nixnote2 { }; 7744 7745 nodenv = callPackage ../development/tools/nodenv { }; 7746 ··· 8683 8684 nmap-formatter = callPackage ../tools/security/nmap-formatter { }; 8685 8686 - nmapsi4 = libsForQt514.callPackage ../tools/security/nmap/qt.nix { }; 8687 8688 nnn = callPackage ../applications/misc/nnn { }; 8689 ··· 12206 12207 colm = callPackage ../development/compilers/colm { }; 12208 12209 - colmap = libsForQt514.callPackage ../applications/science/misc/colmap { }; 12210 colmapWithCuda = colmap.override { cudaSupport = true; cudatoolkit = cudatoolkit_11; }; 12211 12212 chickenPackages_4 = callPackage ../development/compilers/chicken/4 { }; ··· 27595 27596 libowlevelzs = callPackage ../development/libraries/libowlevelzs { }; 27597 27598 - librecad = libsForQt514.callPackage ../applications/misc/librecad { 27599 boost = boost175; 27600 }; 27601 ··· 27876 27877 meme-suite = callPackage ../applications/science/biology/meme-suite { }; 27878 27879 - # Needs qtwebkit which is broken on qt5.15 27880 - mendeley = libsForQt514.callPackage ../applications/office/mendeley { 27881 gconf = gnome2.GConf; 27882 }; 27883 ··· 28985 28986 qimgv = libsForQt5.callPackage ../applications/graphics/qimgv { }; 28987 28988 - qlandkartegt = libsForQt514.callPackage ../applications/misc/qlandkartegt { 28989 gdal = gdal.override { 28990 libgeotiff = libgeotiff.override { proj = proj_7; }; 28991 libspatialite = libspatialite.override { proj = proj_7; }; ··· 30159 30160 virtual-ans = callPackage ../applications/audio/virtual-ans {}; 30161 30162 - virtualbox = libsForQt514.callPackage ../applications/virtualization/virtualbox { 30163 stdenv = stdenv_32bit; 30164 inherit (gnome2) libIDL; 30165 jdk = openjdk8; # TODO: remove override https://github.com/NixOS/nixpkgs/pull/89731 ··· 30442 30443 worldengine-cli = python3Packages.worldengine; 30444 30445 - wpsoffice = libsForQt514.callPackage ../applications/office/wpsoffice {}; 30446 30447 wrapFirefox = callPackage ../applications/networking/browsers/firefox/wrapper.nix { }; 30448 ··· 34909 inherit pkgs lib stdenv; 34910 }; 34911 34912 - golden-cheetah = libsForQt514.callPackage ../applications/misc/golden-cheetah {}; 34913 34914 linkchecker = callPackage ../tools/networking/linkchecker { }; 34915
··· 4790 code-browser-gtk2 = callPackage ../applications/editors/code-browser { withGtk2 = true; }; 4791 code-browser-gtk = callPackage ../applications/editors/code-browser { withGtk3 = true; }; 4792 4793 certstrap = callPackage ../tools/security/certstrap { }; 4794 4795 cfssl = callPackage ../tools/security/cfssl { }; ··· 7738 7739 ninka = callPackage ../development/tools/misc/ninka { }; 7740 7741 + nixnote2 = libsForQt5.callPackage ../applications/misc/nixnote2 { }; 7742 7743 nodenv = callPackage ../development/tools/nodenv { }; 7744 ··· 8681 8682 nmap-formatter = callPackage ../tools/security/nmap-formatter { }; 8683 8684 + nmapsi4 = libsForQt5.callPackage ../tools/security/nmap/qt.nix { }; 8685 8686 nnn = callPackage ../applications/misc/nnn { }; 8687 ··· 12204 12205 colm = callPackage ../development/compilers/colm { }; 12206 12207 + colmap = libsForQt5.callPackage ../applications/science/misc/colmap { }; 12208 colmapWithCuda = colmap.override { cudaSupport = true; cudatoolkit = cudatoolkit_11; }; 12209 12210 chickenPackages_4 = callPackage ../development/compilers/chicken/4 { }; ··· 27593 27594 libowlevelzs = callPackage ../development/libraries/libowlevelzs { }; 27595 27596 + librecad = libsForQt5.callPackage ../applications/misc/librecad { 27597 boost = boost175; 27598 }; 27599 ··· 27874 27875 meme-suite = callPackage ../applications/science/biology/meme-suite { }; 27876 27877 + mendeley = libsForQt5.callPackage ../applications/office/mendeley { 27878 gconf = gnome2.GConf; 27879 }; 27880 ··· 28982 28983 qimgv = libsForQt5.callPackage ../applications/graphics/qimgv { }; 28984 28985 + qlandkartegt = libsForQt5.callPackage ../applications/misc/qlandkartegt { 28986 gdal = gdal.override { 28987 libgeotiff = libgeotiff.override { proj = proj_7; }; 28988 libspatialite = libspatialite.override { proj = proj_7; }; ··· 30156 30157 virtual-ans = callPackage ../applications/audio/virtual-ans {}; 30158 30159 + virtualbox = libsForQt5.callPackage ../applications/virtualization/virtualbox { 30160 stdenv = stdenv_32bit; 30161 inherit (gnome2) libIDL; 30162 jdk = openjdk8; # TODO: remove override https://github.com/NixOS/nixpkgs/pull/89731 ··· 30439 30440 worldengine-cli = python3Packages.worldengine; 30441 30442 + wpsoffice = libsForQt5.callPackage ../applications/office/wpsoffice {}; 30443 30444 wrapFirefox = callPackage ../applications/networking/browsers/firefox/wrapper.nix { }; 30445 ··· 34906 inherit pkgs lib stdenv; 34907 }; 34908 34909 + golden-cheetah = libsForQt5.callPackage ../applications/misc/golden-cheetah {}; 34910 34911 linkchecker = callPackage ../tools/networking/linkchecker { }; 34912