From bb55ac4f61480e4b8fa9e8117671e82a47e580c9 Mon Sep 17 00:00:00 2001 From: laalsaas Date: Thu, 16 Feb 2023 23:56:42 +0100 Subject: [PATCH] badwolf: init at 1.2.2 --- .../networking/browsers/badwolf/default.nix | 38 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 + 2 files changed, 40 insertions(+) create mode 100644 pkgs/applications/networking/browsers/badwolf/default.nix diff --git a/pkgs/applications/networking/browsers/badwolf/default.nix b/pkgs/applications/networking/browsers/badwolf/default.nix new file mode 100644 index 0000000000000..41308634186d7 --- /dev/null +++ b/pkgs/applications/networking/browsers/badwolf/default.nix @@ -0,0 +1,38 @@ +{ stdenv +, lib +, fetchgit +, pkg-config +, wrapGAppsHook +, webkitgtk +, libxml2 +, glib +, glib-networking +, gettext +}: +stdenv.mkDerivation rec { + pname = "badwolf"; + version = "1.2.2"; + + src = fetchgit { + url = "git://hacktivis.me/git/badwolf.git"; + rev = "v${version}"; + hash = "sha256-HfAsq6z+1kqMAsNxJjWJx9nd2cbv0XN4KRS8cYuhOsQ="; + }; + + preConfigure = '' + export PREFIX=$out + ''; + + nativeBuildInputs = [ pkg-config wrapGAppsHook ]; + + buildInputs = [ webkitgtk libxml2 gettext glib glib-networking ]; + + meta = with lib; { + description = "Minimalist and privacy-oriented WebKitGTK+ browser"; + homepage = "https://hacktivis.me/projects/badwolf"; + license = licenses.bsd3; + platforms = platforms.linux; + maintainers = with maintainers; [ laalsaas ]; + }; + +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index e47674107bbd0..85bf0f63b5ec9 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -28354,6 +28354,8 @@ with pkgs; inherit (gnome) baobab; + badwolf = callPackage ../applications/networking/browsers/badwolf { }; + backintime-common = callPackage ../applications/networking/sync/backintime/common.nix { }; backintime-qt = libsForQt5.callPackage ../applications/networking/sync/backintime/qt.nix { };