diff options
author | Timo Kaufmann <timokau@zoho.com> | 2018-10-08 12:05:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-08 12:05:19 +0200 |
commit | 9b903560449bea3eb572b87e89635af9734fffd1 (patch) | |
tree | 0557f3065a671937d276210f79a952148601fd57 | |
parent | ac35f4efee586fd62d9d92d8676d2b3f978ca38f (diff) | |
parent | 6cc84ed1e484bec93d8de0478f92a9b602f947a5 (diff) | |
download | nixpkgs-9b903560449bea3eb572b87e89635af9734fffd1.tar nixpkgs-9b903560449bea3eb572b87e89635af9734fffd1.tar.gz nixpkgs-9b903560449bea3eb572b87e89635af9734fffd1.tar.bz2 nixpkgs-9b903560449bea3eb572b87e89635af9734fffd1.tar.lz nixpkgs-9b903560449bea3eb572b87e89635af9734fffd1.tar.xz nixpkgs-9b903560449bea3eb572b87e89635af9734fffd1.tar.zst nixpkgs-9b903560449bea3eb572b87e89635af9734fffd1.zip |
Merge pull request #47979 from pacien/pkg-howl
howl: init at 0.5.3
-rw-r--r-- | maintainers/maintainer-list.nix | 5 | ||||
-rw-r--r-- | pkgs/applications/editors/howl/default.nix | 40 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
3 files changed, 47 insertions, 0 deletions
diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 737431effac..ba87e16a7d4 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -3120,6 +3120,11 @@ github = "oyren"; name = "Moritz Scheuren"; }; + pacien = { + email = "b4gx3q.nixpkgs@pacien.net"; + github = "pacien"; + name = "Pacien Tran-Girard"; + }; paholg = { email = "paho@paholg.com"; github = "paholg"; diff --git a/pkgs/applications/editors/howl/default.nix b/pkgs/applications/editors/howl/default.nix new file mode 100644 index 00000000000..8f75eda7ef7 --- /dev/null +++ b/pkgs/applications/editors/howl/default.nix @@ -0,0 +1,40 @@ +{ stdenv, fetchurl, makeWrapper, pkgconfig, gtk3, librsvg }: + +with stdenv.lib; + +stdenv.mkDerivation rec { + name = "howl-${version}"; + version = "0.5.3"; + + # Use the release tarball containing pre-downloaded dependencies sources + src = fetchurl { + url = "https://github.com/howl-editor/howl/releases/download/0.5.3/howl-0.5.3.tgz"; + sha256 = "0gnc8vr5h8mwapbcqc1zr9la62rb633awyqgy8q7pwjpiy85a03v"; + }; + + sourceRoot = "./howl-${version}/src"; + + # The Makefile uses "/usr/local" if not explicitly overridden + installFlags = [ "PREFIX=$(out)" ]; + + nativeBuildInputs = [ makeWrapper pkgconfig ]; + 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 = { + homepage = https://howl.io/; + description = "A general purpose, fast and lightweight editor with a keyboard-centric minimalistic user interface"; + license = licenses.mit; + maintainers = with maintainers; [ pacien ]; + + # LuaJIT and Howl builds fail for x86_64-darwin and aarch64-linux respectively + platforms = [ "i686-linux" "x86_64-linux" ]; + }; +} + diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index b2212858455..2548afe22f5 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -17030,6 +17030,8 @@ with pkgs; gtk = gtk3; }; + howl = callPackage ../applications/editors/howl { }; + ht = callPackage ../applications/editors/ht { }; hubstaff = callPackage ../applications/misc/hubstaff { }; |