2016-06-22 06:27:33 +01:00
|
|
|
{ stdenv, fetchurl
|
|
|
|
, flex, bison
|
|
|
|
, buildsystem
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "netsurf-nsgenbind";
|
2019-07-25 01:11:41 +01:00
|
|
|
version = "0.7";
|
2016-06-22 06:27:33 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://download.netsurf-browser.org/libs/releases/nsgenbind-${version}-src.tar.gz";
|
2019-07-25 01:11:41 +01:00
|
|
|
sha256 = "0rplmky4afsjwiwh7grkmcdmzg86zksa55j93dvq92f91yljwqqq";
|
2016-06-22 06:27:33 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ buildsystem flex bison ];
|
|
|
|
|
|
|
|
makeFlags = [
|
|
|
|
"PREFIX=$(out)"
|
|
|
|
"NSSHARED=${buildsystem}/share/netsurf-buildsystem"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2017-08-01 21:03:30 +01:00
|
|
|
homepage = http://www.netsurf-browser.org/;
|
2016-06-22 06:27:33 +01:00
|
|
|
description = "Generator for JavaScript bindings for netsurf browser";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = [ maintainers.vrthra ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|