nixpkgs/pkgs/development/libraries/libnatspec/default.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

26 lines
672 B
Nix

{ lib, stdenv, fetchurl, autoreconfHook, popt, libiconv }:
stdenv.mkDerivation rec {
pname = "libnatspec";
version = "0.3.0";
src = fetchurl {
url = "mirror://sourceforge/natspec/${pname}-${version}.tar.bz2";
sha256 = "0wffxjlc8svilwmrcg3crddpfrpv35mzzjgchf8ygqsvwbrbb3b7";
};
nativeBuildInputs = [ autoreconfHook ];
buildInputs = [ popt ];
propagatedBuildInputs = [ libiconv ];
meta = with lib; {
homepage = "https://natspec.sourceforge.net/";
description = "A library intended to smooth national specificities in using of programs";
mainProgram = "natspec";
platforms = platforms.unix;
license = licenses.lgpl21;
};
}