mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 09:23:01 +00:00
ff1a94e523
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.
27 lines
669 B
Nix
27 lines
669 B
Nix
{ lib, stdenv, fetchurl, autoreconfHook, libiconv }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "htmlcxx";
|
|
version = "0.87";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/htmlcxx/v${version}/${pname}-${version}.tar.gz";
|
|
sha256 = "sha256-XTj5OM9N+aKYpTRq8nGV//q/759GD8KgIjPLz6j8dcg=";
|
|
};
|
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
buildInputs = [ libiconv ];
|
|
patches = [
|
|
./ptrdiff.patch
|
|
./c++17.patch
|
|
];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://htmlcxx.sourceforge.net/";
|
|
description = "A simple non-validating css1 and html parser for C++";
|
|
mainProgram = "htmlcxx";
|
|
license = licenses.lgpl2;
|
|
platforms = platforms.all;
|
|
};
|
|
}
|