Files
nixpkgs/pkgs/by-name/ho/howl/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

56 lines
1.3 KiB
Nix

{
lib,
stdenv,
fetchurl,
makeWrapper,
pkg-config,
gtk3,
librsvg,
}:
stdenv.mkDerivation rec {
pname = "howl";
version = "0.6";
# Use the release tarball containing pre-downloaded dependencies sources
src = fetchurl {
url = "https://github.com/howl-editor/howl/releases/download/${version}/howl-${version}.tgz";
sha256 = "1qc58l3rkr37cj6vhf8c7bnwbz93nscyraz7jxqwjq6k4gj0cjw3";
};
sourceRoot = "howl-${version}/src";
# The Makefile uses "/usr/local" if not explicitly overridden
installFlags = [ "PREFIX=$(out)" ];
nativeBuildInputs = [
makeWrapper
pkg-config
];
buildInputs = [
gtk3
librsvg
];
enableParallelBuilding = true;
# Required for the program to properly load its SVG assets
postInstall = ''
wrapProgram $out/bin/howl \
--set GDK_PIXBUF_MODULE_FILE "$GDK_PIXBUF_MODULE_FILE"
'';
meta = with lib; {
homepage = "https://howl.io/";
description = "General purpose, fast and lightweight editor with a keyboard-centric minimalistic user interface";
license = licenses.mit;
maintainers = with maintainers; [ euxane ];
mainProgram = "howl";
# LuaJIT and Howl builds fail for x86_64-darwin and aarch64-linux respectively
platforms = [
"i686-linux"
"x86_64-linux"
];
};
}