blob: 09aab8258a81474ea9ec226427d64d6483557929 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
{ lib, stdenv, fetchFromGitHub, cmake }:
stdenv.mkDerivation rec {
pname = "upx";
version = "4.2.0";
src = fetchFromGitHub {
owner = "upx";
repo = pname;
rev = "v${version}";
fetchSubmodules = true;
sha256 = "sha256-PRfIJSjmeXjbslqWnKrHUPdOJfZU08nr4wXoAnP9qm0=";
};
nativeBuildInputs = [ cmake ];
meta = with lib; {
homepage = "https://upx.github.io/";
description = "The Ultimate Packer for eXecutables";
license = licenses.gpl2Plus;
platforms = platforms.unix;
};
}
|