lol

Merge pull request #153241 from AndersonTorres/new-zoo

unzoo: init at 4.4

authored by

Anderson Torres and committed by
GitHub
74f542c4 cc2d4030

+46
+44
pkgs/tools/archivers/unzoo/default.nix
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + }: 5 + 6 + stdenv.mkDerivation rec { 7 + pname = "unzoo"; 8 + version = "4.4"; 9 + 10 + src = fetchFromGitHub { 11 + owner = "museoa"; 12 + repo = pname; 13 + rev = version; 14 + hash = "sha256-oPq1I7EsvHaJ7anHbm/KWrYrxJkM79rLhgRfSAdoLtk="; 15 + }; 16 + 17 + outputs = [ "out" "doc" ]; 18 + 19 + buildPhase = '' 20 + runHook preBuild 21 + 22 + ${stdenv.cc.targetPrefix}cc -o unzoo -DSYS_IS_UNIX src/unzoo.c 23 + 24 + runHook postBuild 25 + ''; 26 + 27 + installPhase = '' 28 + runHook preInstall 29 + 30 + mkdir -p $out/bin $doc/share/doc/${pname} 31 + cp unzoo $out/bin 32 + cp README.TXT $doc/share/doc/${pname} 33 + 34 + runHook postInstall 35 + ''; 36 + 37 + meta = with lib; { 38 + homepage = "http://github.com/museoa/unzoo/"; 39 + description = "Manipulate archives of files in Zoo compressed form"; 40 + license = licenses.publicDomain; 41 + maintainers = with maintainers; [ AndersonTorres ]; 42 + platforms = platforms.all; 43 + }; 44 + }
+2
pkgs/top-level/all-packages.nix
··· 9383 9383 9384 9384 runzip = callPackage ../tools/archivers/runzip { }; 9385 9385 9386 + unzoo = callPackage ../tools/archivers/unzoo { }; 9387 + 9386 9388 ruplacer = callPackage ../tools/text/ruplacer { 9387 9389 inherit (darwin.apple_sdk.frameworks) Security; 9388 9390 };