Netsurf buildysstem: 1.8 -> 1.9

This commit is contained in:
AndersonTorres 2020-09-28 02:49:06 -03:00
parent 9438b04126
commit b055ec84fc
3 changed files with 29 additions and 24 deletions

View file

@ -1,24 +0,0 @@
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
pname = "netsurf-buildsystem";
version = "1.8";
src = fetchurl {
url = "http://download.netsurf-browser.org/libs/releases/buildsystem-${version}.tar.gz";
sha256 = "0ffdjwskxlnh8sk40qqfgksbb1nrdzfxsshrscra0p4nqpkj98z6";
};
makeFlags = [
"PREFIX=$(out)"
];
meta = with stdenv.lib; {
homepage = "http://www.netsurf-browser.org/";
description = "Build system for netsurf browser";
license = licenses.gpl2;
maintainers = [ maintainers.vrthra ];
platforms = platforms.unix;
};
}

View file

@ -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;
};
}

View file

@ -0,0 +1,5 @@
{ lib, pkgs }:
lib.makeScope pkgs.newScope (self: with self; {
buildsystem = callPackage ./buildsystem.nix { };
})