nixpkgs/pkgs/by-name/cl/clzip/package.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

23 lines
539 B
Nix

{ lib
, stdenv
, fetchurl
}:
stdenv.mkDerivation (finalAttrs: {
pname = "clzip";
version = "1.14";
src = fetchurl {
url = "mirror://savannah/lzip/clzip/clzip-${finalAttrs.version}.tar.gz";
hash = "sha256-9j/hJFuDL+B/9nnpubhofpN5q2E6Jr+wrKN1TIsWLXM=";
};
meta = with lib; {
homepage = "https://www.nongnu.org/lzip/clzip.html";
description = "C language version of lzip";
mainProgram = "clzip";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ ];
platforms = platforms.all;
};
})