1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 14:41:17 +00:00
nixpkgs/pkgs/applications/misc/netsurf/nsgenbind/default.nix

31 lines
735 B
Nix
Raw Normal View History

2016-06-22 06:27:33 +01:00
{ stdenv, fetchurl
, flex, bison
, buildsystem
}:
stdenv.mkDerivation rec {
name = "netsurf-nsgenbind-${version}";
version = "0.3";
src = fetchurl {
url = "http://download.netsurf-browser.org/libs/releases/nsgenbind-${version}-src.tar.gz";
sha256 = "16xsazly7gxwywmlkf2xix9b924sj3skhgdak7218l0nc62a08gg";
};
buildInputs = [ buildsystem flex bison ];
makeFlags = [
"PREFIX=$(out)"
"NSSHARED=${buildsystem}/share/netsurf-buildsystem"
];
meta = with stdenv.lib; {
homepage = "http://www.netsurf-browser.org/";
description = "Generator for JavaScript bindings for netsurf browser";
license = licenses.gpl2;
maintainers = [ maintainers.vrthra ];
platforms = platforms.linux;
};
}