lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request #36524 from timor/unp

unp: init at 2.0-pre7

authored by

Matthew Justin Bauer and committed by
GitHub
c52e8358 6a68171d

+41
+39
pkgs/tools/archivers/unp/default.nix
··· 1 + { stdenv, pkgs, lib, fetchurl, makeWrapper, perl, unrar, unzip, gzip, file, extraBackends ? [] }: 2 + 3 + stdenv.mkDerivation rec { 4 + name = "unp-${version}"; 5 + version = "2.0-pre7"; 6 + 7 + runtime_bins = [ file unrar unzip gzip ] ++ extraBackends; 8 + buildInputs = [ perl makeWrapper ] ++ runtime_bins; 9 + 10 + src = fetchurl { 11 + # url = "http://http.debian.net/debian/pool/main/u/unp/unp_2.0~pre7+nmu1.tar.bz2"; 12 + url = "mirror://debian/pool/main/u/unp/unp_2.0~pre7+nmu1.tar.bz2"; 13 + sha256 = "09w2sy7ivmylxf8blf0ywxicvb4pbl0xhrlbb3i9x9d56ll6ybbw"; 14 + name = "unp_2.0_pre7+nmu1.tar.bz2"; 15 + }; 16 + 17 + configurePhase = "true"; 18 + buildPhase = "true"; 19 + installPhase = '' 20 + mkdir -p $out/bin 21 + mkdir -p $out/share/man 22 + cp unp $out/bin/ 23 + cp ucat $out/bin/ 24 + cp debian/unp.1 $out/share/man 25 + 26 + wrapProgram $out/bin/unp \ 27 + --prefix PATH : ${lib.makeBinPath runtime_bins} 28 + wrapProgram $out/bin/ucat \ 29 + --prefix PATH : ${lib.makeBinPath runtime_bins} 30 + ''; 31 + 32 + meta = with stdenv.lib; { 33 + description = "Command line tool for unpacking archives easily"; 34 + homepage = https://packages.qa.debian.org/u/unp.html; 35 + license = with licenses; [ gpl2 ]; 36 + maintainers = [ maintainers.timor ]; 37 + platforms = platforms.all; 38 + }; 39 + }
+2
pkgs/top-level/all-packages.nix
··· 5449 5449 5450 5450 unarj = callPackage ../tools/archivers/unarj { }; 5451 5451 5452 + unp = callPackage ../tools/archivers/unp { }; 5453 + 5452 5454 unshield = callPackage ../tools/archivers/unshield { }; 5453 5455 5454 5456 unzip = callPackage ../tools/archivers/unzip { };