git.iko.soy/typeable/nixpkgs
on master help sign in
herbe: init at 1.0.0
commit7b34fb70f7309634079f3f104efbcf2a0e9fe99d authorwishfort36 <42300264+wishfort36@users.noreply.github.com> dateTue 29 Dec 2020, 17:33 (6 years ago) parent75513fb
2 files changed+35
pkgs/applications/misc/herbe/default.nix+33 pkgs/top-level/all-packages.nix+2
pkgs/applications/misc/herbe/default.nixnew file+33
@@ -0,0 +1,33 @@
1+{ stdenv, lib, fetchFromGitHub, libX11, libXft, freetype, patches ? [ ],
2+ extraLibs ? [ ] }:
3+
4+stdenv.mkDerivation rec {
5+ pname = "herbe";
6+ version = "1.0.0";
7+
8+ src = fetchFromGitHub {
9+ owner = "dudik";
10+ repo = pname;
11+ rev = version;
12+ sha256 = "0358i5jmmlsvy2j85ij7m1k4ar2jr5lsv7y1c58dlf9710h186cv";
13+ };
14+
15+ inherit patches;
16+
17+ postPatch = ''
18+ sed -i 's_/usr/include/freetype2_${freetype.dev}/include/freetype2_' Makefile
19+ '';
20+
21+ buildInputs = [ libX11 libXft freetype ] ++ extraLibs;
22+
23+ makeFlags = [ "PREFIX=$(out)" ];
24+
25+ meta = with lib; {
26+ description = "Daemon-less notifications without D-Bus";
27+ homepage = "https://github.com/dudik/herbe";
28+ license = licenses.mit;
29+ # NOTE: Could also work on 'unix'.
30+ platforms = platforms.linux;
31+ maintainers = with maintainers; [ wishfort36 ];
32+ };
33+}
pkgs/top-level/all-packages.nix+2
@@ -21939,6 +21939,8 @@ in
2193921939
2194021940 heme = callPackage ../applications/editors/heme { };
2194121941
21942+ herbe = callPackage ../applications/misc/herbe { };
21943+
2194221944 herbstluftwm = callPackage ../applications/window-managers/herbstluftwm {
2194321945 asciidoc = asciidoc-full;
2194421946 };