git.iko.soy/typeable/nixpkgs
on master help sign in
howl: init at 0.5.3
commit6cc84ed1e484bec93d8de0478f92a9b602f947a5 authorpacien <pacien.trangirard@pacien.net> dateSat 6 Oct 2018, 20:40 (8 years ago) parenta959bd9
2 files changed+42
pkgs/applications/editors/howl/default.nix+40 pkgs/top-level/all-packages.nix+2
pkgs/applications/editors/howl/default.nixnew file+40
@@ -0,0 +1,40 @@
1+{ stdenv, fetchurl, makeWrapper, pkgconfig, gtk3, librsvg }:
2+
3+with stdenv.lib;
4+
5+stdenv.mkDerivation rec {
6+ name = "howl-${version}";
7+ version = "0.5.3";
8+
9+ # Use the release tarball containing pre-downloaded dependencies sources
10+ src = fetchurl {
11+ url = "https://github.com/howl-editor/howl/releases/download/0.5.3/howl-0.5.3.tgz";
12+ sha256 = "0gnc8vr5h8mwapbcqc1zr9la62rb633awyqgy8q7pwjpiy85a03v";
13+ };
14+
15+ sourceRoot = "./howl-${version}/src";
16+
17+ # The Makefile uses "/usr/local" if not explicitly overridden
18+ installFlags = [ "PREFIX=$(out)" ];
19+
20+ nativeBuildInputs = [ makeWrapper pkgconfig ];
21+ buildInputs = [ gtk3 librsvg ];
22+ enableParallelBuilding = true;
23+
24+ # Required for the program to properly load its SVG assets
25+ postInstall = ''
26+ wrapProgram $out/bin/howl \
27+ --set GDK_PIXBUF_MODULE_FILE "$GDK_PIXBUF_MODULE_FILE"
28+ '';
29+
30+ meta = {
31+ homepage = https://howl.io/;
32+ description = "A general purpose, fast and lightweight editor with a keyboard-centric minimalistic user interface";
33+ license = licenses.mit;
34+ maintainers = with maintainers; [ pacien ];
35+
36+ # LuaJIT and Howl builds fail for x86_64-darwin and aarch64-linux respectively
37+ platforms = [ "i686-linux" "x86_64-linux" ];
38+ };
39+}
40+
pkgs/top-level/all-packages.nix+2
@@ -17022,6 +17022,8 @@ with pkgs;
1702217022 gtk = gtk3;
1702317023 };
1702417024
17025+ howl = callPackage ../applications/editors/howl { };
17026+
1702517027 ht = callPackage ../applications/editors/ht { };
1702617028
1702717029 hubstaff = callPackage ../applications/misc/hubstaff { };