Merge master into staging-next

This commit is contained in:
github-actions[bot] 2022-03-06 12:01:22 +00:00 committed by GitHub
commit c8add09e8f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
26 changed files with 103 additions and 94 deletions

View file

@ -14,7 +14,7 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "csound"; pname = "csound";
version = "6.16.2"; version = "6.17.0";
hardeningDisable = [ "format" ]; hardeningDisable = [ "format" ];
@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
owner = "csound"; owner = "csound";
repo = "csound"; repo = "csound";
rev = version; rev = version;
sha256 = "sha256-1rcS3kOspU9ACx45yB8betph4G0hso1OSJQRiabX6tE="; sha256 = "sha256-O19jm3JxHg4TcQzWQZu1uFjfYN2FR41fCRq5YGnTGD0=";
}; };
cmakeFlags = [ "-DBUILD_CSOUND_AC=0" ] # fails to find Score.hpp cmakeFlags = [ "-DBUILD_CSOUND_AC=0" ] # fails to find Score.hpp
@ -37,8 +37,8 @@ stdenv.mkDerivation rec {
meta = with lib; { meta = with lib; {
description = "Sound design, audio synthesis, and signal processing system, providing facilities for music composition and performance on all major operating systems and platforms"; description = "Sound design, audio synthesis, and signal processing system, providing facilities for music composition and performance on all major operating systems and platforms";
homepage = "http://www.csounds.com/"; homepage = "https://csound.com/";
license = licenses.gpl2; license = licenses.lgpl21Plus;
maintainers = [maintainers.marcweber]; maintainers = [maintainers.marcweber];
platforms = platforms.linux; platforms = platforms.linux;
}; };

View file

@ -6,7 +6,7 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "lightburn"; pname = "lightburn";
version = "1.0.06"; version = "1.1.00";
nativeBuildInputs = [ nativeBuildInputs = [
p7zip p7zip
@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
src = fetchurl { src = fetchurl {
url = "https://github.com/LightBurnSoftware/deployment/releases/download/${version}/LightBurn-Linux64-v${version}.7z"; url = "https://github.com/LightBurnSoftware/deployment/releases/download/${version}/LightBurn-Linux64-v${version}.7z";
sha256 = "sha256-2Wlyt9Xw/FNaFkN1Q6utXdGzp42piebESQARhfpvRhM="; sha256 = "sha256-BhruXo/DLBsmvHfoaarVG8cUU+QL4gNpf3M2zQPioUQ=";
}; };
buildInputs = [ buildInputs = [

View file

@ -1,14 +1,14 @@
{ lib, stdenv, fetchFromGitHub, python3, installShellFiles }: { lib, stdenv, fetchFromGitHub, python3, installShellFiles }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
version = "1.9"; version = "2.0";
pname = "ddgr"; pname = "ddgr";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "jarun"; owner = "jarun";
repo = "ddgr"; repo = "ddgr";
rev = "v${version}"; rev = "v${version}";
sha256 = "0qbdq7k0mmvkjp6qzz88n7vf29liqn6y5w4y39ldqdc8hzw5sld7"; sha256 = "sha256-otfa2t/tfpYKqQu+VQxRKryUsIxM3JKILc3zseTC2KM=";
}; };
nativeBuildInputs = [ installShellFiles ]; nativeBuildInputs = [ installShellFiles ];

View file

@ -14,11 +14,11 @@ let
in in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "mkgmap"; pname = "mkgmap";
version = "4896"; version = "4897";
src = fetchurl { src = fetchurl {
url = "https://www.mkgmap.org.uk/download/mkgmap-r${version}-src.tar.gz"; url = "https://www.mkgmap.org.uk/download/mkgmap-r${version}-src.tar.gz";
sha256 = "1tPKZASmU0xfQgNZJYzhtvm0f7ynrWk/RWCFZ1kseKs="; sha256 = "RR8o8stOnL6nnEkCtRT9tgo8foSxd6ASTsRcGDgbQRk=";
}; };
patches = [ patches = [

View file

@ -266,7 +266,7 @@ let
google_api_key = "AIzaSyDGi15Zwl11UNe6Y-5XW_upsfyw31qwZPI"; google_api_key = "AIzaSyDGi15Zwl11UNe6Y-5XW_upsfyw31qwZPI";
# Optional features: # Optional features:
use_gio = gnomeSupport || chromiumVersionAtLeast "99"; use_gio = true;
use_gnome_keyring = gnomeKeyringSupport; use_gnome_keyring = gnomeKeyringSupport;
use_cups = cupsSupport; use_cups = cupsSupport;

View file

@ -1,5 +1,5 @@
{ newScope, config, stdenv, fetchurl, makeWrapper { newScope, config, stdenv, fetchurl, makeWrapper
, llvmPackages_13, llvmPackages_14, ed, gnugrep, coreutils, xdg-utils , llvmPackages_14, ed, gnugrep, coreutils, xdg-utils
, glib, gtk3, gnome, gsettings-desktop-schemas, gn, fetchgit , glib, gtk3, gnome, gsettings-desktop-schemas, gn, fetchgit
, libva, pipewire, wayland , libva, pipewire, wayland
, gcc, nspr, nss, runCommand , gcc, nspr, nss, runCommand
@ -19,7 +19,7 @@
}: }:
let let
llvmPackages = llvmPackages_13; llvmPackages = llvmPackages_14;
stdenv = llvmPackages.stdenv; stdenv = llvmPackages.stdenv;
upstream-info = (lib.importJSON ./upstream-info.json).${channel}; upstream-info = (lib.importJSON ./upstream-info.json).${channel};
@ -54,9 +54,6 @@ let
inherit (upstream-info.deps.gn) url rev sha256; inherit (upstream-info.deps.gn) url rev sha256;
}; };
}); });
} // lib.optionalAttrs (chromiumVersionAtLeast "99") rec {
llvmPackages = llvmPackages_14;
stdenv = llvmPackages_14.stdenv;
}); });
browser = callPackage ./browser.nix { browser = callPackage ./browser.nix {

View file

@ -45,19 +45,19 @@
} }
}, },
"ungoogled-chromium": { "ungoogled-chromium": {
"version": "98.0.4758.102", "version": "99.0.4844.51",
"sha256": "0gpk13k8pfk65vinlmkg3p7mm0qb8z35psajkxzx0v3n2bllfns1", "sha256": "1qxsn8zvvvsnn0k7nn606rhaial8ikrlfh175msqpp50xibjxicp",
"sha256bin64": "0pfrakkfqw6ni96s2d0z50mpd63maic9rsc64zd85vh2jkmzskw6", "sha256bin64": "04kqfppa88g2q54vp53avyyhqzrxljz49p4wqk76kq7fz2rm94x1",
"deps": { "deps": {
"gn": { "gn": {
"version": "2021-12-07", "version": "2022-01-10",
"url": "https://gn.googlesource.com/gn", "url": "https://gn.googlesource.com/gn",
"rev": "fc295f3ac7ca4fe7acc6cb5fb052d22909ef3a8f", "rev": "80a40b07305373617eba2d5878d353532af77da3",
"sha256": "02bx3bp85kkis704gndb6jvjph7gv3ij746bq4anl30kfrkpcifh" "sha256": "1103lf38h7412949j6nrk48m2vv2rrxacn42sjg33lg88nyv7skv"
}, },
"ungoogled-patches": { "ungoogled-patches": {
"rev": "98.0.4758.102-1", "rev": "99.0.4844.51-1",
"sha256": "0baz90fnzpldw0wwibhmh4pmki7vlpci9b9vvifa0rj5cwckl8a0" "sha256": "0rs10jrng63lk4xgnqpgc8zxaj6lp70csbx6r0ihpv4z3rdn37va"
} }
} }
} }

View file

@ -50,11 +50,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "yandex-browser"; pname = "yandex-browser";
version = "21.6.2.817-1"; version = "22.1.3.856-1";
src = fetchurl { src = fetchurl {
url = "http://repo.yandex.ru/yandex-browser/deb/pool/main/y/${pname}-beta/${pname}-beta_${version}_amd64.deb"; url = "http://repo.yandex.ru/yandex-browser/deb/pool/main/y/${pname}-beta/${pname}-beta_${version}_amd64.deb";
sha256 = "sha256-xeZkQzVPPNABxa3/YBLoZl1obbFdzxdqIgLyoA4PN8U="; sha256 = "sha256-+xxyV8dBnfu2hQ/ykkp7wFSaojhlPLVvMmZdh/hyaoE=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -109,21 +109,22 @@ stdenv.mkDerivation rec {
]; ];
unpackPhase = '' unpackPhase = ''
mkdir -p $TMP/ya $out/bin mkdir $TMP/ya/ $out/bin/ -p
cp $src $TMP/ya.deb ar vx $src
ar vx ya.deb
tar --no-overwrite-dir -xvf data.tar.xz -C $TMP/ya/ tar --no-overwrite-dir -xvf data.tar.xz -C $TMP/ya/
''; '';
installPhase = '' installPhase = ''
cp -R $TMP/ya/opt $out/ cp $TMP/ya/{usr/share,opt} $out/ -R
substituteInPlace $out/share/applications/yandex-browser-beta.desktop --replace /usr/ $out/
ln -sf $out/opt/yandex/browser-beta/yandex_browser $out/bin/yandex-browser ln -sf $out/opt/yandex/browser-beta/yandex_browser $out/bin/yandex-browser
''; '';
runtimeDependencies = [ runtimeDependencies = map lib.getLib [
libpulseaudio.out libpulseaudio
(lib.getLib systemd) curl
]; systemd
] ++ buildInputs;
meta = with lib; { meta = with lib; {
description = "Yandex Web Browser"; description = "Yandex Web Browser";
@ -131,6 +132,5 @@ stdenv.mkDerivation rec {
license = licenses.unfree; license = licenses.unfree;
maintainers = with maintainers; [ dan4ik605743 ]; maintainers = with maintainers; [ dan4ik605743 ];
platforms = [ "x86_64-linux" ]; platforms = [ "x86_64-linux" ];
broken = true;
}; };
} }

View file

@ -19,11 +19,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "github-desktop"; pname = "github-desktop";
version = "2.9.6"; version = "2.9.9";
src = fetchurl { src = fetchurl {
url = "https://github.com/shiftkey/desktop/releases/download/release-${version}-linux1/GitHubDesktop-linux-${version}-linux1.deb"; url = "https://github.com/shiftkey/desktop/releases/download/release-${version}-linux1/GitHubDesktop-linux-${version}-linux1.deb";
sha256 = "sha256-YL3Gc76jWfQvY96pAlS5JB7BwSOUklNvGR0tOBdQHuE="; sha256 = "sha256-LMKOxQR3Bgw00LnKqAe2hq+eASgwC7y0cxNSSt/sjWA=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View file

@ -179,6 +179,8 @@ rec {
fribidi fribidi
p11-kit p11-kit
gmp
# libraries not on the upstream include list, but nevertheless expected # libraries not on the upstream include list, but nevertheless expected
# by at least one appimage # by at least one appimage
libtool.lib # for Synfigstudio libtool.lib # for Synfigstudio

View file

@ -32,7 +32,7 @@ let
}; };
}; };
in in
builtins.listToAttrs (map (a: { inherit (a) pname; value = mkDataset a; }) [ builtins.listToAttrs (map (a: { name = a.pname; value = mkDataset a; }) [
{ {
pname = "G4NDL"; pname = "G4NDL";
version = "4.6"; version = "4.6";

View file

@ -9,14 +9,14 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "cftime"; pname = "cftime";
version = "1.5.2"; version = "1.6.0";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "375d37d9ab8bf501c048e44efce2276296e3d67bb276e891e0e93b0a8bbb988a"; sha256 = "sha256-ExA+ZlC+6mVSMWvVgl1qo7fpj1uBFQJt9IJnmN/590E=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View file

@ -8,14 +8,16 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "pydroid-ipcam"; pname = "pydroid-ipcam";
version = "unstable-2021-06-01"; version = "1.3.1";
format = "setuptools";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "home-assistant-libs"; owner = "home-assistant-libs";
repo = pname; repo = pname;
rev = "3ca14ff178f3506a6a91d8736deea8f06e9ad1c1"; rev = "3ca14ff178f3506a6a91d8736deea8f06e9ad1c1";
sha256 = "0w81pl5fya17hg5xgba2vgxnylfd8jc70il575wdz2pw6z6ihj3s"; hash = "sha256-ekgYzTf8it94OYVGcJhEzVFv+9tCrdfLgyco7wq9AXE=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
@ -25,7 +27,10 @@ buildPythonPackage rec {
# Project has no tests # Project has no tests
doCheck = false; doCheck = false;
pythonImportsCheck = [ "pydroid_ipcam" ];
pythonImportsCheck = [
"pydroid_ipcam"
];
meta = with lib; { meta = with lib; {
description = "Python library for Android IP Webcam"; description = "Python library for Android IP Webcam";

View file

@ -21,7 +21,7 @@ let ccache = stdenv.mkDerivation rec {
owner = pname; owner = pname;
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-h1lhR8P4aNM6tQCodhpEIXwA0bUQ26B3aoiQeX2siCU="; sha256 = "011i1aczv4nixq4gvjixcd73df2xplcrldfv0w12yaz5iy4vaw6b";
}; };
outputs = [ "out" "man" ]; outputs = [ "out" "man" ];

View file

@ -8,13 +8,13 @@
buildGoModule rec { buildGoModule rec {
pname = "open-policy-agent"; pname = "open-policy-agent";
version = "0.37.2"; version = "0.38.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "open-policy-agent"; owner = "open-policy-agent";
repo = "opa"; repo = "opa";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-2DkqRKAN7eOTBG6P3YYa5N9oJ0ndm35jIxK7o5Z3dfA="; sha256 = "sha256-RGGxqmQ0mZ5iSAzDvUU6mAlCve3MknuNr2wAzHcV3RQ=";
}; };
vendorSha256 = null; vendorSha256 = null;

View file

@ -14,7 +14,6 @@ let
steam-runtime = callPackage ./runtime.nix { }; steam-runtime = callPackage ./runtime.nix { };
steam-runtime-wrapped = callPackage ./runtime-wrapped.nix { }; steam-runtime-wrapped = callPackage ./runtime-wrapped.nix { };
steam = callPackage ./steam.nix { }; steam = callPackage ./steam.nix { };
steam-fonts = callPackage ./fonts.nix { };
steam-fhsenv = callPackage ./fhsenv.nix { steam-fhsenv = callPackage ./fhsenv.nix {
glxinfo-i686 = pkgsi686Linux.glxinfo; glxinfo-i686 = pkgsi686Linux.glxinfo;
steam-runtime-wrapped-i686 = steam-runtime-wrapped-i686 =

View file

@ -15,7 +15,6 @@
let let
commonTargetPkgs = pkgs: with pkgs; commonTargetPkgs = pkgs: with pkgs;
[ [
steamPackages.steam-fonts
# Needed for operating system detection until # Needed for operating system detection until
# https://github.com/ValveSoftware/steam-for-linux/issues/5909 is resolved # https://github.com/ValveSoftware/steam-for-linux/issues/5909 is resolved
lsb-release lsb-release

View file

@ -1,20 +0,0 @@
{ stdenv, fetchurl, unzip }:
stdenv.mkDerivation {
pname = "steam-fonts";
version = "1";
src = fetchurl {
url = "https://support.steampowered.com/downloads/1974-YFKL-4947/SteamFonts.zip";
sha256 = "1cgygmwich5f1jhhbmbkkpnzasjl8gy36xln76n6r2gjh6awqfx0";
};
nativeBuildInputs = [ unzip ];
sourceRoot = ".";
installPhase = ''
mkdir -p $out/share/fonts/truetype
cp -r *.TTF *.ttf $out/share/fonts/truetype
'';
}

View file

@ -25,11 +25,11 @@ let
in in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "unciv"; pname = "unciv";
version = "3.19.8"; version = "3.19.12";
src = fetchurl { src = fetchurl {
url = "https://github.com/yairm210/Unciv/releases/download/${version}/Unciv.jar"; url = "https://github.com/yairm210/Unciv/releases/download/${version}/Unciv.jar";
sha256 = "sha256-ubMREVcislhkA3pzxuqI+HpBHq9vbMa8nyq0qhTh2x8="; sha256 = "sha256-PALrOyaUYXyNH+QdE8oy1TM5U4SZjw1N0NJ2BKiqjtU=";
}; };
dontUnpack = true; dontUnpack = true;

View file

@ -1,19 +1,19 @@
{ fetchurl, fetchzip }: { fetchurl, fetchzip }:
{ {
"x86_64-darwin" = fetchzip { "x86_64-darwin" = fetchzip {
sha256 = "sha256-mKCqFMkTei7n/eI9s3aiAKc4jdnRA121TOizRHON1ic=="; sha256 = "sha256-bTbjkBHOjcI78+jyJJ1JGe/WrmTxXi5RRB1yQO2zuYw=";
url = "https://github.com/AdguardTeam/AdGuardHome/releases/download/v0.107.4/AdGuardHome_darwin_amd64.zip"; url = "https://github.com/AdguardTeam/AdGuardHome/releases/download/v0.107.5/AdGuardHome_darwin_amd64.zip";
}; };
"i686-linux" = fetchurl { "i686-linux" = fetchurl {
sha256 = "sha256-N+S2BWUskEHt5YjpncmiurdgQ6TN35TWN8Zv7bM3a5k="; sha256 = "sha256-wdzj7P+Hhm65i5hY4l2Ty486W473coZyZnCbzx9Poro=";
url = "https://github.com/AdguardTeam/AdGuardHome/releases/download/v0.107.4/AdGuardHome_linux_386.tar.gz"; url = "https://github.com/AdguardTeam/AdGuardHome/releases/download/v0.107.5/AdGuardHome_linux_386.tar.gz";
}; };
"x86_64-linux" = fetchurl { "x86_64-linux" = fetchurl {
sha256 = "sha256-p665fB2lVSLpWIYlTNW+ZGOohpobdvOs0AIQ1l9BlmE="; sha256 = "sha256-sZQe8rNYD0gBSpNeXS+4hbqoT5nUFbkQSI3c6VuQOC8=";
url = "https://github.com/AdguardTeam/AdGuardHome/releases/download/v0.107.4/AdGuardHome_linux_amd64.tar.gz"; url = "https://github.com/AdguardTeam/AdGuardHome/releases/download/v0.107.5/AdGuardHome_linux_amd64.tar.gz";
}; };
"aarch64-linux" = fetchurl { "aarch64-linux" = fetchurl {
sha256 = "sha256-oomkIHeQDTNDp6A6CcMv2s89PkuKpGVV4iLCxcj0Xsc="; sha256 = "sha256-9JsGzFf03en2ClrodglREsYqrwr6j/vypsfEVaMzCTI=";
url = "https://github.com/AdguardTeam/AdGuardHome/releases/download/v0.107.4/AdGuardHome_linux_arm64.tar.gz"; url = "https://github.com/AdguardTeam/AdGuardHome/releases/download/v0.107.5/AdGuardHome_linux_arm64.tar.gz";
}; };
} }

View file

@ -2,7 +2,7 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "adguardhome"; pname = "adguardhome";
version = "0.107.4"; version = "0.107.5";
src = (import ./bins.nix { inherit fetchurl fetchzip; }).${stdenv.hostPlatform.system}; src = (import ./bins.nix { inherit fetchurl fetchzip; }).${stdenv.hostPlatform.system};

View file

@ -1,5 +1,6 @@
{ lib, stdenv, buildPackages, fetchurl, fetchpatch, pkg-config, libuuid, gettext, texinfo { lib, stdenv, buildPackages, fetchurl, fetchpatch, pkg-config, libuuid, gettext, texinfo
, shared ? !stdenv.hostPlatform.isStatic , shared ? !stdenv.hostPlatform.isStatic
, e2fsprogs, runCommand
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -65,6 +66,15 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true; enableParallelBuilding = true;
passthru.tests = {
simple-filesystem = runCommand "e2fsprogs-create-fs" {} ''
mkdir -p $out
truncate -s10M $out/disc
${e2fsprogs}/bin/mkfs.ext4 $out/disc | tee $out/success
${e2fsprogs}/bin/e2fsck -n $out/disc | tee $out/success
[ -e $out/success ]
'';
};
meta = with lib; { meta = with lib; {
homepage = "http://e2fsprogs.sourceforge.net/"; homepage = "http://e2fsprogs.sourceforge.net/";
changelog = "http://e2fsprogs.sourceforge.net/e2fsprogs-release.html#${version}"; changelog = "http://e2fsprogs.sourceforge.net/e2fsprogs-release.html#${version}";

View file

@ -6,12 +6,12 @@
mkDerivation rec { mkDerivation rec {
pname = "calamares"; pname = "calamares";
version = "3.2.51"; version = "3.2.53";
# release including submodule # release including submodule
src = fetchurl { src = fetchurl {
url = "https://github.com/${pname}/${pname}/releases/download/v${version}/${pname}-${version}.tar.gz"; url = "https://github.com/${pname}/${pname}/releases/download/v${version}/${pname}-${version}.tar.gz";
sha256 = "sha256-MOs+VoqzHYRSXbOO8voj+3jvtYQnWyYAcTelS594LXA="; sha256 = "sha256-LWkgQsvP7XmupBDSAnbwewWRT+ZaALyDFw3w7iz66X0=";
}; };
nativeBuildInputs = [ cmake extra-cmake-modules ]; nativeBuildInputs = [ cmake extra-cmake-modules ];

View file

@ -3,13 +3,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "clipster"; pname = "clipster";
version = "2.0.2"; version = "2.1.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "mrichar1"; owner = "mrichar1";
repo = "clipster"; repo = "clipster";
rev = version; rev = version;
sha256 = "0582r8840dk4k4jj1zq6kmyh7z9drcng099bj7f4wvr468nb9z1p"; sha256 = "sha256-MLLkFsBBQtb7RFQN+uoEmuCn5bnbkYsqoyWGZtTCI2U=";
}; };
pythonEnv = python3.withPackages(ps: with ps; [ pygobject3 ]); pythonEnv = python3.withPackages(ps: with ps; [ pygobject3 ]);

View file

@ -2,13 +2,13 @@
buildGoModule rec { buildGoModule rec {
pname = "cosign"; pname = "cosign";
version = "1.5.2"; version = "1.6.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "sigstore"; owner = "sigstore";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-37jahAGgQn7HwwdRTlAS/oJQ3BxTkMViI6iJMBYFgjI="; sha256 = "sha256-jAkTIO+tmb1vjS2eRWU9Fau7qzPCBlXJCk00iwNpULE=";
}; };
buildInputs = lib.optional (stdenv.isLinux && pivKeySupport) (lib.getDev pcsclite) buildInputs = lib.optional (stdenv.isLinux && pivKeySupport) (lib.getDev pcsclite)
@ -16,19 +16,36 @@ buildGoModule rec {
nativeBuildInputs = [ pkg-config installShellFiles ]; nativeBuildInputs = [ pkg-config installShellFiles ];
vendorSha256 = "sha256-d3aOX4iMlhlxgYbqCHCIFKXunVha0Fw4ZBmy4OA6EhI="; vendorSha256 = "sha256-E9zeRlPIIoXo/EfagHC3aDnW747SdsPiqIA384D7NQI=";
excludedPackages = "\\(sample\\|webhook\\|help\\)"; subPackages = [
"cmd/cosign"
"cmd/cosign/webhook"
"cmd/sget"
];
tags = [] ++ lib.optionals pivKeySupport [ "pivkey" ] ++ lib.optionals pkcs11Support [ "pkcs11key" ]; tags = [] ++ lib.optionals pivKeySupport [ "pivkey" ] ++ lib.optionals pkcs11Support [ "pkcs11key" ];
ldflags = [ "-s" "-w" "-X github.com/sigstore/cosign/pkg/version.GitVersion=v${version}" ]; ldflags = [
"-s"
"-w"
"-X sigs.k8s.io/release-utils/version.gitVersion=v${version}"
"-X sigs.k8s.io/release-utils/version.gitTreeState=clean"
];
postPatch = '' postBuild = ''
rm pkg/cosign/tuf/client_test.go # Require network access # cmd/cosign/webhook should be called cosigned
rm internal/pkg/cosign/fulcio/signer_test.go # Require network access mv $GOPATH/bin/{webhook,cosigned}
rm internal/pkg/cosign/rekor/signer_test.go # Require network access '';
preCheck = ''
# test all paths
unset subPackages
rm cmd/cosign/cli/fulcio/fulcioroots/fulcioroots_test.go # Require network access
rm pkg/cosign/kubernetes/webhook/validator_test.go # Require network access rm pkg/cosign/kubernetes/webhook/validator_test.go # Require network access
rm pkg/cosign/tlog_test.go # Require network access
rm pkg/cosign/tuf/client_test.go # Require network access
''; '';
postInstall = '' postInstall = ''

View file

@ -14,11 +14,11 @@
mkDerivation rec { mkDerivation rec {
pname = "kdiff3"; pname = "kdiff3";
version = "1.9.4"; version = "1.9.5";
src = fetchurl { src = fetchurl {
url = "https://download.kde.org/stable/${pname}/${pname}-${version}.tar.xz"; url = "https://download.kde.org/stable/${pname}/${pname}-${version}.tar.xz";
sha256 = "sha256-oTBxLO7wdN9pFCaQn8SjMrZvTD8UkKVIq1v7RjFsOFo="; sha256 = "sha256-CDchWW2dQ3O8LxKYOUqN21tVp61NckKTOnzYrmRoPBo=";
}; };
buildInputs = [ boost ]; buildInputs = [ boost ];