upx: add update script

This commit is contained in:
Paul Meyer 2023-12-09 22:50:22 +01:00
parent cba7243fc6
commit 59adfe40d2

View File

@ -1,4 +1,9 @@
{ lib, stdenv, fetchFromGitHub, cmake }:
{ lib
, stdenv
, fetchFromGitHub
, cmake
, nix-update-script
}:
stdenv.mkDerivation rec {
pname = "upx";
@ -13,6 +18,10 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake ];
passthru = {
updateScript = nix-update-script { };
};
meta = with lib; {
homepage = "https://upx.github.io/";
description = "The Ultimate Packer for eXecutables";