diff options
author | AndersonTorres <torres.anderson.85@protonmail.com> | 2020-09-28 02:49:06 -0300 |
---|---|---|
committer | AndersonTorres <torres.anderson.85@protonmail.com> | 2020-09-28 22:39:14 -0300 |
commit | b055ec84fcf30729743fcc4649cc64b4e9753c8b (patch) | |
tree | ed070657d0c1492365640dfe54c0cb617bfb2c96 /pkgs/applications/networking/browsers | |
parent | 9438b0412628b4855aa929b3435a7597c2bab51a (diff) |
Netsurf buildysstem: 1.8 -> 1.9
Diffstat (limited to 'pkgs/applications/networking/browsers')
-rw-r--r-- | pkgs/applications/networking/browsers/netsurf/buildsystem.nix | 24 | ||||
-rw-r--r-- | pkgs/applications/networking/browsers/netsurf/default.nix | 5 |
2 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/applications/networking/browsers/netsurf/buildsystem.nix b/pkgs/applications/networking/browsers/netsurf/buildsystem.nix new file mode 100644 index 0000000000000..2d625b7254465 --- /dev/null +++ b/pkgs/applications/networking/browsers/netsurf/buildsystem.nix @@ -0,0 +1,24 @@ +{ stdenv, fetchurl }: + +stdenv.mkDerivation rec { + pname = "netsurf-${libname}"; + libname = "buildsystem"; + version = "1.9"; + + src = fetchurl { + url = "http://download.netsurf-browser.org/libs/releases/${libname}-${version}.tar.gz"; + sha256 = "sha256-k4QeMUpoggmiC4dF8GU5PzqQ8Bvmj0Xpa8jS9KKqmio="; + }; + + makeFlags = [ + "PREFIX=$(out)" + ]; + + meta = with stdenv.lib; { + homepage = "https://www.netsurf-browser.org/"; + description = "NetSurf browser shared build system"; + license = licenses.mit; + maintainers = [ maintainers.vrthra maintainers.AndersonTorres ]; + platforms = platforms.unix; + }; +} diff --git a/pkgs/applications/networking/browsers/netsurf/default.nix b/pkgs/applications/networking/browsers/netsurf/default.nix new file mode 100644 index 0000000000000..338fc58146a95 --- /dev/null +++ b/pkgs/applications/networking/browsers/netsurf/default.nix @@ -0,0 +1,5 @@ +{ lib, pkgs }: + +lib.makeScope pkgs.newScope (self: with self; { + buildsystem = callPackage ./buildsystem.nix { }; +}) |