2
0
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-30 17:43:42 +00:00
nixpkgs/pkgs/applications/networking/browsers/netsurf/libutf8proc.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

35 lines
798 B
Nix
Raw Normal View History

2022-05-14 20:10:33 +00:00
{ lib
, stdenv
, fetchurl
, pkg-config
2016-06-22 05:37:37 +00:00
, buildsystem
}:
stdenv.mkDerivation rec {
2020-09-28 06:26:51 +00:00
pname = "netsurf-${libname}";
2016-06-22 05:37:37 +00:00
libname = "libutf8proc";
2019-07-25 00:10:56 +00:00
version = "2.4.0-1";
2016-06-22 05:37:37 +00:00
src = fetchurl {
url = "http://download.netsurf-browser.org/libs/releases/${libname}-${version}-src.tar.gz";
2022-05-14 20:10:33 +00:00
hash = "sha256-AasdaYnBx3VQkNskw/ZOSflcVgrknCa+xRQrrGgCxHI=";
2016-06-22 05:37:37 +00:00
};
nativeBuildInputs = [ pkg-config ];
2022-05-14 20:10:33 +00:00
2020-09-28 06:26:51 +00:00
buildInputs = [ buildsystem ];
2016-06-22 05:37:37 +00:00
makeFlags = [
"PREFIX=$(out)"
"NSSHARED=${buildsystem}/share/netsurf-buildsystem"
];
meta = with lib; {
2022-05-14 20:10:33 +00:00
homepage = "https://www.netsurf-browser.org/";
2016-06-22 05:37:37 +00:00
description = "UTF8 Processing library for netsurf browser";
2020-09-28 06:26:51 +00:00
license = licenses.mit;
maintainers = [ maintainers.vrthra maintainers.AndersonTorres ];
2016-06-22 05:37:37 +00:00
platforms = platforms.linux;
};
}