mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-13 00:14:43 +00:00
571c71e6f7
We are migrating packages that meet below requirements: 1. using `callPackage` 2. called path is a directory 3. overriding set is empty (`{ }`) 4. not containing path expressions other than relative path (to makenixpkgs-vet happy) 5. not referenced by nix files outside of the directory, other than`pkgs/top-level/all-packages.nix` 6. not referencing nix files outside of the directory 7. not referencing `default.nix` (since it's changed to `package.nix`) 8. `outPath` doesn't change after migration The tool is here: https://github.com/Aleksanaa/by-name-migrate.
29 lines
956 B
Nix
29 lines
956 B
Nix
{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;
|
|
mainProgram = "lha";
|
|
};
|
|
}
|