nixpkgs-suyu/pkgs/development/libraries/htmlcxx/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

20 lines
527 B
Nix

{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
pname = "htmlcxx";
version = "0.86";
src = fetchurl {
url = "mirror://sourceforge/htmlcxx/htmlcxx/${version}/${pname}-${version}.tar.gz";
sha256 = "1hgmyiad3qgbpf2dvv2jygzj6jpz4dl3n8ds4nql68a4l9g2nm07";
};
patches = [ ./ptrdiff.patch ];
meta = with stdenv.lib; {
homepage = http://htmlcxx.sourceforge.net/;
description = "A simple non-validating css1 and html parser for C++";
license = licenses.lgpl2;
platforms = platforms.linux;
};
}