mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 16:15:05 +00:00
9833d56c24
Done with the help of https://github.com/Mindavi/nixpkgs-mark-broken Tool is still WIP but this is one of the first results. I manually audited the results and removed some results that were not valid. Note that some of these packages maybe should have more constrained platforms set instead of broken set, but I think not being perfectly correct is better than just keep trying to build all these things and never succeeding. Some observations: - Some darwin builds require XCode tools - aarch64-linux builds sometimes suffer from using gcc9 - gcc9 is getting older and misses some new libraries/features - Sometimes tools try to do system detection or expect some explicit settings for platforms that are not x86_64-linux
27 lines
703 B
Nix
27 lines
703 B
Nix
{ lib, stdenv, fetchurl, 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=";
|
|
};
|
|
|
|
buildInputs = [ libiconv ];
|
|
patches = [
|
|
./ptrdiff.patch
|
|
./c++17.patch
|
|
];
|
|
|
|
meta = with lib; {
|
|
homepage = "http://htmlcxx.sourceforge.net/";
|
|
description = "A simple non-validating css1 and html parser for C++";
|
|
license = licenses.lgpl2;
|
|
platforms = platforms.all;
|
|
# never built on aarch64-darwin since first introduction in nixpkgs
|
|
broken = stdenv.isDarwin && stdenv.isAarch64;
|
|
};
|
|
}
|