Netsurf nsgenbind: 0.7 -> 0.8

This commit is contained in:
AndersonTorres 2020-09-28 03:32:24 -03:00
parent b537eb29c0
commit d5832afa3e
3 changed files with 31 additions and 30 deletions

View File

@ -1,30 +0,0 @@
{ stdenv, fetchurl
, flex, bison
, buildsystem
}:
stdenv.mkDerivation rec {
pname = "netsurf-nsgenbind";
version = "0.7";
src = fetchurl {
url = "http://download.netsurf-browser.org/libs/releases/nsgenbind-${version}-src.tar.gz";
sha256 = "0rplmky4afsjwiwh7grkmcdmzg86zksa55j93dvq92f91yljwqqq";
};
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;
};
}

View File

@ -10,4 +10,5 @@ lib.makeScope pkgs.newScope (self: with self; {
libparserutils = callPackage ./libparserutils.nix { };
libutf8proc = callPackage ./libutf8proc.nix { };
libwapcaplet = callPackage ./libwapcaplet.nix { };
nsgenbind = callPackage ./nsgenbind.nix { };
})

View File

@ -0,0 +1,30 @@
{ stdenv, fetchurl
, flex, bison
, buildsystem
}:
stdenv.mkDerivation rec {
pname = "netsurf-${libname}";
libname = "nsgenbind";
version = "0.8";
src = fetchurl {
url = "http://download.netsurf-browser.org/libs/releases/${libname}-${version}-src.tar.gz";
sha256 = "sha256-TY1TrQAK2nEncjZeanPrj8XOl1hK+chlrFsmohh/HLM=";
};
buildInputs = [ flex bison buildsystem ];
makeFlags = [
"PREFIX=$(out)"
"NSSHARED=${buildsystem}/share/netsurf-buildsystem"
];
meta = with stdenv.lib; {
homepage = "https://www.netsurf-browser.org/";
description = "Generator for JavaScript bindings for netsurf browser";
license = licenses.mit;
maintainers = [ maintainers.vrthra maintainers.AndersonTorres ];
platforms = platforms.linux;
};
}