nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 stdenv,
4 fetchurl,
5 wrapGAppsHook3,
6 pkg-config,
7 gtk3,
8 libxml2,
9 enchant,
10 gucharmap,
11 python3,
12 adwaita-icon-theme,
13}:
14
15stdenv.mkDerivation (finalAttrs: {
16 pname = "bluefish";
17 version = "2.2.17";
18
19 src = fetchurl {
20 url = "mirror://sourceforge/bluefish/bluefish-${finalAttrs.version}.tar.bz2";
21 hash = "sha256-Onn2Ql4Uk56hNPlsFCTjqsBb7pWQS+Q0WBiDB4p7clM=";
22 };
23
24 nativeBuildInputs = [
25 pkg-config
26 wrapGAppsHook3
27 ];
28 buildInputs = [
29 adwaita-icon-theme
30 gtk3
31 libxml2
32 enchant
33 gucharmap
34 python3
35 ];
36
37 # infb_gui.c:143:61: error: implicit declaration of function 'xmlNanoHTTPFetch' [-Wimplicit-function-declaration]
38 env.NIX_CFLAGS_COMPILE = "-Wno-error=implicit-function-declaration";
39
40 meta = {
41 description = "Powerful editor targeted towards programmers and webdevelopers";
42 homepage = "https://bluefish.openoffice.nl/";
43 license = lib.licenses.gpl3Plus;
44 maintainers = with lib.maintainers; [ vbgl ];
45 platforms = lib.platforms.all;
46 mainProgram = "bluefish";
47 };
48})