2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
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" ];
|
|
|
|
installFlags = [ "DESTDIR=$(out)" "INS_BASE=/" ];
|
|
|
|
postInstall = ''
|
|
|
|
find $out/bin -type l -delete
|
|
|
|
rm -r $out/etc $out/include $out/sbin
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Very fast tar like tape archiver with improved functionality";
|
2020-04-24 23:36:52 +00:00
|
|
|
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.
|
|
|
|
'';
|
2023-02-02 18:25:31 +00:00
|
|
|
homepage = "https://cdrtools.sourceforge.net/private/star.html";
|
2021-01-15 22:18:51 +00:00
|
|
|
license = lib.licenses.cddl;
|
|
|
|
maintainers = [ lib.maintainers.wucke13 ];
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = [ "x86_64-linux" ];
|
|
|
|
};
|
|
|
|
}
|