nixpkgs/pkgs/applications/networking/browsers/badwolf/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

50 lines
919 B
Nix
Raw Normal View History

2024-04-01 16:53:01 +00:00
{ lib
, stdenv
2023-02-16 22:56:42 +00:00
, fetchgit
2024-04-01 16:53:01 +00:00
, ninja
2023-02-16 22:56:42 +00:00
, pkg-config
2024-04-01 16:53:01 +00:00
, ed
2023-02-16 22:56:42 +00:00
, wrapGAppsHook
, webkitgtk
, libxml2
, glib-networking
, gettext
}:
2024-04-01 16:53:01 +00:00
2023-02-16 22:56:42 +00:00
stdenv.mkDerivation rec {
pname = "badwolf";
2024-04-01 16:53:01 +00:00
version = "1.3.0";
2023-02-16 22:56:42 +00:00
src = fetchgit {
2024-04-01 16:53:01 +00:00
url = "https://hacktivis.me/git/badwolf.git";
2023-02-16 22:56:42 +00:00
rev = "v${version}";
2024-04-01 16:53:01 +00:00
hash = "sha256-feWSxK9TJ5MWxUKutuTcdmMk5IbLjNseUAvfm20kQ1U=";
2023-02-16 22:56:42 +00:00
};
2024-04-01 16:53:01 +00:00
# configure script not accepting '--prefix'
prefixKey = "PREFIX=";
2023-02-16 22:56:42 +00:00
2024-04-01 16:53:01 +00:00
nativeBuildInputs = [
ninja
pkg-config
ed
wrapGAppsHook
];
2023-02-16 22:56:42 +00:00
2024-04-01 16:53:01 +00:00
buildInputs = [
webkitgtk
libxml2
gettext
glib-networking
];
2023-02-16 22:56:42 +00:00
meta = with lib; {
description = "Minimalist and privacy-oriented WebKitGTK+ browser";
mainProgram = "badwolf";
2023-02-16 22:56:42 +00:00
homepage = "https://hacktivis.me/projects/badwolf";
2024-04-01 16:53:01 +00:00
license = with licenses; [ bsd3 cc-by-sa-40 ];
2023-02-16 22:56:42 +00:00
platforms = platforms.linux;
2024-04-01 16:56:44 +00:00
maintainers = with maintainers; [ laalsaas aleksana ];
2023-02-16 22:56:42 +00:00
};
}