mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 03:23:29 +03:00
unshieldv3: init at 0.2.2
This commit is contained in:
parent
b362e0e3ea
commit
3d94ec323e
1 changed files with 41 additions and 0 deletions
41
pkgs/by-name/un/unshieldv3/package.nix
Normal file
41
pkgs/by-name/un/unshieldv3/package.nix
Normal file
|
@ -0,0 +1,41 @@
|
||||||
|
{
|
||||||
|
lib,
|
||||||
|
stdenv,
|
||||||
|
fetchFromGitHub,
|
||||||
|
cmake,
|
||||||
|
nix-update-script,
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
|
pname = "unshieldv3";
|
||||||
|
version = "0.2.2";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "wfr";
|
||||||
|
repo = "unshieldv3";
|
||||||
|
tag = "v${finalAttrs.version}";
|
||||||
|
sha256 = "sha256-ScUlKuvkq4UglEVJL8NreAGDZFLVrEpEBQCZvu7XOrg=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ cmake ];
|
||||||
|
|
||||||
|
doCheck = true;
|
||||||
|
postCheck = ''
|
||||||
|
for i in $src/test-data/*.Z; do
|
||||||
|
mkdir -p test
|
||||||
|
./unshieldv3 extract $i test
|
||||||
|
done
|
||||||
|
'';
|
||||||
|
|
||||||
|
passthru.updateScript = nix-update-script { };
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Tool to extract .Z files from InstallShield V3 (Z) installers";
|
||||||
|
homepage = "https://github.com/wfr/unshieldv3";
|
||||||
|
changelog = "https://github.com/wfr/unshieldv3/releases/tag/v${finalAttrs.version}";
|
||||||
|
license = lib.licenses.asl20;
|
||||||
|
platforms = lib.platforms.linux ++ lib.platforms.darwin;
|
||||||
|
mainProgram = "unshieldv3";
|
||||||
|
maintainers = [ lib.maintainers.jchw ];
|
||||||
|
};
|
||||||
|
})
|
Loading…
Add table
Add a link
Reference in a new issue