summary refs log tree commit diff
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2023-01-27 04:20:00 +0000
committerMario Rodas <marsam@users.noreply.github.com>2023-01-27 04:20:00 +0000
commit550f0267a882981867b36e6933f6a369cebf7456 (patch)
tree57dacb3476f4e724c48428dfe73e4f8a74bc3142
parent77cd80a47cdb8fc89af81720f2f6720a4120ffe8 (diff)
downloadnixpkgs-550f0267a882981867b36e6933f6a369cebf7456.tar
nixpkgs-550f0267a882981867b36e6933f6a369cebf7456.tar.gz
nixpkgs-550f0267a882981867b36e6933f6a369cebf7456.tar.bz2
nixpkgs-550f0267a882981867b36e6933f6a369cebf7456.tar.lz
nixpkgs-550f0267a882981867b36e6933f6a369cebf7456.tar.xz
nixpkgs-550f0267a882981867b36e6933f6a369cebf7456.tar.zst
nixpkgs-550f0267a882981867b36e6933f6a369cebf7456.zip
docker-slim: 1.39.0 -> 1.40.0
https://github.com/slimtoolkit/slim/releases/tag/1.40.0
-rw-r--r--pkgs/applications/virtualization/docker-slim/default.nix20
1 files changed, 10 insertions, 10 deletions
diff --git a/pkgs/applications/virtualization/docker-slim/default.nix b/pkgs/applications/virtualization/docker-slim/default.nix
index c116a581103..bbefed66fae 100644
--- a/pkgs/applications/virtualization/docker-slim/default.nix
+++ b/pkgs/applications/virtualization/docker-slim/default.nix
@@ -1,21 +1,21 @@
-{ lib, buildGoModule, fetchFromGitHub, makeWrapper }:
+{ lib, buildGoModule, fetchFromGitHub, makeBinaryWrapper }:
 
 buildGoModule rec {
   pname = "docker-slim";
-  version = "1.39.0";
+  version = "1.40.0";
 
   src = fetchFromGitHub {
-    owner = "docker-slim";
-    repo = "docker-slim";
+    owner = "slimtoolkit";
+    repo = "slim";
     rev = version;
-    sha256 = "sha256-CN3mvXjI6c10yvXM2owWASngsU2PjgLhd1N55vxubw0=";
+    sha256 = "sha256-KbwkZIGkAdzPPo5CrWKnKzFsD8OUONk6JWo1wzwti3s=";
   };
 
   vendorSha256 = null;
 
-  subPackages = [ "cmd/docker-slim" "cmd/docker-slim-sensor" ];
+  subPackages = [ "cmd/slim" "cmd/slim-sensor" ];
 
-  nativeBuildInputs = [ makeWrapper ];
+  nativeBuildInputs = [ makeBinaryWrapper ];
 
   ldflags = [
     "-s"
@@ -27,13 +27,13 @@ buildGoModule rec {
   # docker-slim tries to create its state dir next to the binary (inside the nix
   # store), so we set it to use the working directory at the time of invocation
   postInstall = ''
-    wrapProgram "$out/bin/docker-slim" --add-flags '--state-path "$(pwd)"'
+    wrapProgram "$out/bin/slim" --add-flags '--state-path "$(pwd)"'
   '';
 
   meta = with lib; {
     description = "Minify and secure Docker containers";
-    homepage = "https://dockersl.im/";
-    changelog = "https://github.com/docker-slim/docker-slim/raw/${version}/CHANGELOG.md";
+    homepage = "https://slimtoolkit.org/";
+    changelog = "https://github.com/slimtoolkit/slim/raw/${version}/CHANGELOG.md";
     license = licenses.asl20;
     maintainers = with maintainers; [ Br1ght0ne marsam mbrgm ];
   };