summary refs log tree commit diff
path: root/pkgs/tools/archivers
diff options
context:
space:
mode:
authorSander van der Burg <svanderburg@gmail.com>2021-07-20 21:27:01 +0200
committerSander van der Burg <sander.van.der.burg@mendix.com>2021-07-21 00:19:42 +0200
commitc4508944773a579423c370b81860b175059ab540 (patch)
tree427b2e696ac7d4723ede10759e0f80d5f348be28 /pkgs/tools/archivers
parent8472d44b82084f8b638b0dca248fae61b9bd1bad (diff)
downloadnixpkgs-c4508944773a579423c370b81860b175059ab540.tar
nixpkgs-c4508944773a579423c370b81860b175059ab540.tar.gz
nixpkgs-c4508944773a579423c370b81860b175059ab540.tar.bz2
nixpkgs-c4508944773a579423c370b81860b175059ab540.tar.lz
nixpkgs-c4508944773a579423c370b81860b175059ab540.tar.xz
nixpkgs-c4508944773a579423c370b81860b175059ab540.tar.zst
nixpkgs-c4508944773a579423c370b81860b175059ab540.zip
lha: init at 2021-07-01
Diffstat (limited to 'pkgs/tools/archivers')
-rw-r--r--pkgs/tools/archivers/lha/default.nix27
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/tools/archivers/lha/default.nix b/pkgs/tools/archivers/lha/default.nix
new file mode 100644
index 00000000000..f6b5c2bd135
--- /dev/null
+++ b/pkgs/tools/archivers/lha/default.nix
@@ -0,0 +1,27 @@
+{stdenv, lib, fetchFromGitHub, autoreconfHook}:
+
+stdenv.mkDerivation {
+  pname = "lha";
+  version = "unstable-2021-01-07";
+
+  src = fetchFromGitHub {
+    owner = "jca02266";
+    repo = "lha";
+    rev = "03475355bc6311f7f816ea9a88fb34a0029d975b";
+    sha256 = "18w2x0g5yq89yxkxh1fmb05lz4hw7a3b4jmkk95gvh11mwbbr5lm";
+  };
+
+  nativeBuildInputs = [ autoreconfHook ];
+
+  meta = with lib; {
+    description = "LHa is an archiver and compressor using the LZSS and Huffman encoding compression algorithms";
+    platforms = platforms.unix;
+    maintainers = [ maintainers.sander ];
+    # Some of the original LhA code has been rewritten and the current author
+    # considers adopting a "true" free and open source license for it.
+    # However, old code is still covered by the original LHa license, which is
+    # not a free software license (it has additional requirements on commercial
+    # use).
+    license = licenses.unfree;
+  };
+}