diff options
author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2022-10-09 12:01:31 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-09 12:01:31 +0000 |
commit | 8972888c554bd9eafcaf5c17551adc606bba686d (patch) | |
tree | daca9fbee710c86dffbc519682193569ad73659a /pkgs/tools | |
parent | 7cce28d594fcc094dfb76eb89430806002c04352 (diff) | |
parent | b31c42831f1b99544f81bc27f9da183d3276e9aa (diff) | |
download | nixpkgs-8972888c554bd9eafcaf5c17551adc606bba686d.tar nixpkgs-8972888c554bd9eafcaf5c17551adc606bba686d.tar.gz nixpkgs-8972888c554bd9eafcaf5c17551adc606bba686d.tar.bz2 nixpkgs-8972888c554bd9eafcaf5c17551adc606bba686d.tar.lz nixpkgs-8972888c554bd9eafcaf5c17551adc606bba686d.tar.xz nixpkgs-8972888c554bd9eafcaf5c17551adc606bba686d.tar.zst nixpkgs-8972888c554bd9eafcaf5c17551adc606bba686d.zip |
Merge master into staging-next
Diffstat (limited to 'pkgs/tools')
-rw-r--r-- | pkgs/tools/X11/vdpauinfo/default.nix | 13 | ||||
-rw-r--r-- | pkgs/tools/admin/synapse-admin/default.nix | 3 | ||||
-rw-r--r-- | pkgs/tools/misc/rust-motd/default.nix | 17 | ||||
-rw-r--r-- | pkgs/tools/misc/vtm/default.nix | 4 | ||||
-rw-r--r-- | pkgs/tools/networking/dnstwist/default.nix | 6 | ||||
-rw-r--r-- | pkgs/tools/security/cosign/default.nix | 5 | ||||
-rw-r--r-- | pkgs/tools/security/sget/default.nix | 33 |
7 files changed, 60 insertions, 21 deletions
diff --git a/pkgs/tools/X11/vdpauinfo/default.nix b/pkgs/tools/X11/vdpauinfo/default.nix index 35305d44635..a5fc87aaf6f 100644 --- a/pkgs/tools/X11/vdpauinfo/default.nix +++ b/pkgs/tools/X11/vdpauinfo/default.nix @@ -1,15 +1,16 @@ -{ lib, stdenv, fetchurl, pkg-config, libvdpau }: +{ lib, stdenv, fetchurl, autoreconfHook, pkg-config, libvdpau }: stdenv.mkDerivation rec { pname = "vdpauinfo"; - version = "1.3"; + version = "1.5"; src = fetchurl { - url = "https://gitlab.freedesktop.org/vdpau/vdpauinfo/uploads/6fa9718c507ef0fb6966170ef55344bf/${pname}-${version}.tar.gz"; - sha256 = "0s6jdadnycyd1agsnfx7hrf17hmipasx1fpmppd4m1z6i9sp1i6g"; + url = "https://gitlab.freedesktop.org/vdpau/vdpauinfo/-/archive/${version}/${pname}-${version}.tar.bz2"; + hash = "sha256-uOs/r8Ow7KvSpY1NhD2A+D4Qs6iWJe4fZGfVj6nIiCw="; }; - nativeBuildInputs = [ pkg-config ]; + nativeBuildInputs = [ autoreconfHook pkg-config ]; + buildInputs = [ libvdpau ]; meta = with lib; { @@ -17,6 +18,6 @@ stdenv.mkDerivation rec { description = "Tool to query the Video Decode and Presentation API for Unix (VDPAU) abilities of the system"; license = licenses.mit; # expat version platforms = platforms.unix; - maintainers = [ maintainers.vcunat ]; + maintainers = with maintainers; [ vcunat ]; }; } diff --git a/pkgs/tools/admin/synapse-admin/default.nix b/pkgs/tools/admin/synapse-admin/default.nix index 098cc57d97e..2cde74ba453 100644 --- a/pkgs/tools/admin/synapse-admin/default.nix +++ b/pkgs/tools/admin/synapse-admin/default.nix @@ -23,6 +23,9 @@ mkYarnPackage rec { NODE_ENV = "production"; ${if baseUrl != null then "REACT_APP_SERVER" else null} = baseUrl; + # error:0308010C:digital envelope routines::unsupported + NODE_OPTIONS = "--openssl-legacy-provider"; + buildPhase = '' runHook preBuild diff --git a/pkgs/tools/misc/rust-motd/default.nix b/pkgs/tools/misc/rust-motd/default.nix index bfd4db8ff88..a2c7710984e 100644 --- a/pkgs/tools/misc/rust-motd/default.nix +++ b/pkgs/tools/misc/rust-motd/default.nix @@ -9,26 +9,33 @@ rustPlatform.buildRustPackage rec { pname = "rust-motd"; - version = "0.2.1"; + version = "1.0.0"; src = fetchFromGitHub { owner = "rust-motd"; repo = pname; rev = "v${version}"; - sha256 = "sha256-iuADR7m+wdmsQ897o4CQHqDv9PmYu/vJgO5C6Dluao4="; + hash = "sha256-w984vvjjieSv4eM3jT8zJIIR7/7pmADhR3Esj+2dCTs="; }; - cargoSha256 = "sha256-kdSMcADoTpMU4w2XSv0pPQZC155rrQACQ4XTVyj7eeA="; + cargoHash = "sha256-L/QdFjSYm3PekKS3tdsUl8XBVyIBE044EHOIB+aEltI="; - nativeBuildInputs = [ pkg-config ]; + nativeBuildInputs = [ + pkg-config + ]; - buildInputs = [ openssl ] ++ lib.optional stdenv.isDarwin Security; + buildInputs = [ + openssl + ] ++ lib.optional stdenv.isDarwin [ + Security + ]; OPENSSL_NO_VENDOR = 1; meta = with lib; { description = "Beautiful, useful MOTD generation with zero runtime dependencies"; homepage = "https://github.com/rust-motd/rust-motd"; + changelog = "https://github.com/rust-motd/rust-motd/releases/tag/v${version}"; license = licenses.mit; maintainers = with maintainers; [ figsoda ]; }; diff --git a/pkgs/tools/misc/vtm/default.nix b/pkgs/tools/misc/vtm/default.nix index 982f383da30..8335e37f6e0 100644 --- a/pkgs/tools/misc/vtm/default.nix +++ b/pkgs/tools/misc/vtm/default.nix @@ -6,13 +6,13 @@ stdenv.mkDerivation rec { pname = "vtm"; - version = "0.8.0"; + version = "0.9.2"; src = fetchFromGitHub { owner = "netxs-group"; repo = "vtm"; rev = "v${version}"; - sha256 = "sha256-Ty7DC4ap2F+mPzr1xaL8XeLSjQaQQVX0oGAcPpkoag4="; + sha256 = "sha256-TRuTvaCALQPxilkzSODdeI2P4FuxTGg8UTHkMDiuYTU="; }; nativeBuildInputs = [ cmake ]; diff --git a/pkgs/tools/networking/dnstwist/default.nix b/pkgs/tools/networking/dnstwist/default.nix index 03f31e5064b..d812873b086 100644 --- a/pkgs/tools/networking/dnstwist/default.nix +++ b/pkgs/tools/networking/dnstwist/default.nix @@ -5,13 +5,13 @@ python3.pkgs.buildPythonApplication rec { pname = "dnstwist"; - version = "20220815"; + version = "20221008"; src = fetchFromGitHub { owner = "elceef"; repo = pname; - rev = version; - sha256 = "sha256-cmwgnjhfTqehMCu6mN0840NIaTN8gf4r098ULVj0yPI="; + rev = "refs/tags/${version}"; + sha256 = "sha256-JRlUQoN8lNEaovAeYzrect/r6jdXtIzChK2lqaxAavc="; }; propagatedBuildInputs = with python3.pkgs; [ diff --git a/pkgs/tools/security/cosign/default.nix b/pkgs/tools/security/cosign/default.nix index f64237b8254..6cfd46954e3 100644 --- a/pkgs/tools/security/cosign/default.nix +++ b/pkgs/tools/security/cosign/default.nix @@ -20,7 +20,6 @@ buildGoModule rec { subPackages = [ "cmd/cosign" - "cmd/sget" ]; tags = [] ++ lib.optionals pivKeySupport [ "pivkey" ] ++ lib.optionals pkcs11Support [ "pkcs11key" ]; @@ -45,10 +44,6 @@ buildGoModule rec { --bash <($out/bin/cosign completion bash) \ --fish <($out/bin/cosign completion fish) \ --zsh <($out/bin/cosign completion zsh) - installShellCompletion --cmd sget \ - --bash <($out/bin/sget completion bash) \ - --fish <($out/bin/sget completion fish) \ - --zsh <($out/bin/sget completion zsh) ''; meta = with lib; { diff --git a/pkgs/tools/security/sget/default.nix b/pkgs/tools/security/sget/default.nix new file mode 100644 index 00000000000..ef59b5db334 --- /dev/null +++ b/pkgs/tools/security/sget/default.nix @@ -0,0 +1,33 @@ +{ stdenv, lib, buildGoModule, fetchFromGitHub, installShellFiles }: + +buildGoModule rec { + pname = "sget"; + version = "unstable-2022-10-04"; + + src = fetchFromGitHub { + owner = "sigstore"; + repo = pname; + rev = "d7d1e53b21ca906000e74474729854cb5ac48dbc"; + sha256 = "sha256-BgxTlLmtKqtDq3HgLoH+j0vBrpRujmL9Wr8F4d+jPi0="; + }; + + nativeBuildInputs = [ installShellFiles ]; + + vendorSha256 = "sha256-KPQHS7Hfco1ljOJgStIXMaol7j4dglcr0w+6Boj7GK8="; + + ldflags = [ "-s" "-w" ]; + + postInstall = '' + installShellCompletion --cmd sget \ + --bash <($out/bin/sget completion bash) \ + --fish <($out/bin/sget completion fish) \ + --zsh <($out/bin/sget completion zsh) + ''; + + meta = with lib; { + homepage = "https://github.com/sigstore/sget"; + description = "Command for safer, automatic verification of signatures and integration with Sigstore's binary transparency log, Rekor"; + license = licenses.asl20; + maintainers = with maintainers; [ lesuisse ]; + }; +} |