Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
44 lines
1.4 KiB
Nix
44 lines
1.4 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchurl,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "s-tar";
|
|
version = "1.6";
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/s-tar/star-${version}.tar.bz2";
|
|
sha256 = "0xpp8gf0ghwdgncdwx17fpadxislwrj48gcm42851hz6p8p6c60v";
|
|
};
|
|
|
|
preConfigure = "rm configure";
|
|
preBuild = "sed 's_/bin/__g' -i RULES/*";
|
|
makeFlags = [ "GMAKE_NOWARN=true" ];
|
|
env.NIX_CFLAGS_COMPILE = "-std=c89";
|
|
installFlags = [
|
|
"DESTDIR=$(out)"
|
|
"INS_BASE=/"
|
|
];
|
|
postInstall = ''
|
|
find $out/bin -type l -delete
|
|
rm -r $out/etc $out/include $out/sbin
|
|
'';
|
|
|
|
meta = {
|
|
description = "Very fast tar like tape archiver with improved functionality";
|
|
longDescription = ''
|
|
Star archives and extracts multiple files to and from a single file called a tarfile.
|
|
A tarfile is usually a magnetic tape, but it can be any file.
|
|
In all cases, appearance of a directory name refers to the files and (recursively) sub-directories of that directory.
|
|
Star's actions are controlled by the mandatory command flags from the list below.
|
|
The way star acts may be modified by additional options.
|
|
Note that unpacking tar archives may be a security risk because star may overwrite existing files.
|
|
'';
|
|
homepage = "https://cdrtools.sourceforge.net/private/star.html";
|
|
license = lib.licenses.cddl;
|
|
maintainers = [ lib.maintainers.wucke13 ];
|
|
platforms = [ "x86_64-linux" ];
|
|
};
|
|
}
|