sqlite_orm: 1.9 -> 1.9.1 (#379250)
[NixPkgs.git] / pkgs / by-name / s- / s-tar / package.nix
blobb6782f7f14ceb6ed3deb9726904084d476286115
2   lib,
3   stdenv,
4   fetchurl,
5 }:
7 stdenv.mkDerivation rec {
8   pname = "s-tar";
9   version = "1.6";
10   src = fetchurl {
11     url = "mirror://sourceforge/s-tar/star-${version}.tar.bz2";
12     sha256 = "0xpp8gf0ghwdgncdwx17fpadxislwrj48gcm42851hz6p8p6c60v";
13   };
15   preConfigure = "rm configure";
16   preBuild = "sed 's_/bin/__g' -i RULES/*";
17   makeFlags = [ "GMAKE_NOWARN=true" ];
18   installFlags = [
19     "DESTDIR=$(out)"
20     "INS_BASE=/"
21   ];
22   postInstall = ''
23     find $out/bin -type l -delete
24     rm -r $out/etc $out/include $out/sbin
25   '';
27   meta = {
28     description = "Very fast tar like tape archiver with improved functionality";
29     longDescription = ''
30       Star archives and extracts multiple files to and from a single file called a tarfile.
31       A tarfile is usually a magnetic tape, but it can be any file.
32       In all cases, appearance of a directory name refers to the files and (recursively) sub-directories of that directory.
33       Star's actions are controlled by the mandatory command flags from the list below.
34       The way star acts may be modified by additional options.
35       Note that unpacking tar archives may be a security risk because star may overwrite existing files.
36     '';
37     homepage = "https://cdrtools.sourceforge.net/private/star.html";
38     license = lib.licenses.cddl;
39     maintainers = [ lib.maintainers.wucke13 ];
40     platforms = [ "x86_64-linux" ];
41   };