git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #47979 from pacien/pkg-howl

howl: init at 0.5.3

commit9b903560449bea3eb572b87e89635af9734fffd1 authorTimo Kaufmann <timokau@zoho.com> dateMon 8 Oct 2018, 12:05 (8 years ago) parentac35f4e6cc84ed
3 files changed+47
maintainers/maintainer-list.nix+5 pkgs/applications/editors/howl/default.nix+40 pkgs/top-level/all-packages.nix+2
maintainers/maintainer-list.nix+5
@@ -3120,6 +3120,11 @@
31203120 github = "oyren";
31213121 name = "Moritz Scheuren";
31223122 };
3123+ pacien = {
3124+ email = "b4gx3q.nixpkgs@pacien.net";
3125+ github = "pacien";
3126+ name = "Pacien Tran-Girard";
3127+ };
31233128 paholg = {
31243129 email = "paho@paholg.com";
31253130 github = "paholg";
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
@@ -17030,6 +17030,8 @@ with pkgs;
1703017030 gtk = gtk3;
1703117031 };
1703217032
17033+ howl = callPackage ../applications/editors/howl { };
17034+
1703317035 ht = callPackage ../applications/editors/ht { };
1703417036
1703517037 hubstaff = callPackage ../applications/misc/hubstaff { };