···1+{ stdenv
2+, lib
3+, fetchgit
4+, pkg-config
5+, meson
6+, ninja
7+, scdoc
8+, alsaLib
9+, fcft
10+, json_c
11+, libmpdclient
12+, libxcb
13+, libyaml
14+, pixman
15+, tllist
16+, udev
17+, wayland
18+, wayland-protocols
19+, xcbutil
20+, xcbutilcursor
21+, xcbutilerrors
22+, xcbutilwm
23+}:
24+25+stdenv.mkDerivation rec {
26+ pname = "yambar";
27+ version = "1.6.1";
28+29+ src = fetchgit {
30+ url = "https://codeberg.org/dnkl/yambar.git";
31+ rev = version;
32+ sha256 = "p47tFsEWsYNe6IVV65xGG211u6Vm2biRf4pmUDylBOQ=";
33+ };
34+35+ nativeBuildInputs = [ pkg-config meson ninja scdoc ];
36+ buildInputs = [
37+ alsaLib
38+ fcft
39+ json_c
40+ libmpdclient
41+ libxcb
42+ libyaml
43+ pixman
44+ tllist
45+ udev
46+ wayland
47+ wayland-protocols
48+ xcbutil
49+ xcbutilcursor
50+ xcbutilerrors
51+ xcbutilwm
52+ ];
53+54+ meta = with lib; {
55+ homepage = "https://codeberg.org/dnkl/yambar";
56+ description = "Modular status panel for X11 and Wayland";
57+ longDescription = ''
58+ yambar is a lightweight and configurable status panel (bar, for short) for
59+ X11 and Wayland, that goes to great lengths to be both CPU and battery
60+ efficient - polling is only done when absolutely necessary.
61+62+ It has a number of modules that provide information in the form of
63+ tags. For example, the clock module has a date tag that contains the
64+ current date.
65+66+ The modules do not know how to present the information though. This is
67+ instead done by particles. And the user, you, decides which particles (and
68+ thus how to present the data) to use.
69+70+ Furthermore, each particle can have a decoration - a background color or a
71+ graphical underline, for example.
72+73+ There is no support for images or icons. use an icon font (e.g. Font
74+ Awesome, or Material Icons) if you want a graphical representation.
75+76+ There are a number of modules and particles builtin. More can be added as
77+ plugins. You can even write your own!
78+79+ To summarize: a bar displays information provided by modules, using
80+ particles and decorations. How is configured by you.
81+ '';
82+ license = licenses.mit;
83+ maintainers = with maintainers; [ AndersonTorres ];
84+ platforms = with platforms; unix;
85+ };
86+}
···1+{ stdenv
2+, lib
3+, fetchgit
4+, meson
5+, ninja
6+}:
78stdenv.mkDerivation rec {
9 pname = "tllist";
10+ version = "1.0.5";
1112 src = fetchgit {
13 url = "https://codeberg.org/dnkl/tllist.git";
14 rev = version;
15+ sha256 = "wJEW7haQBtCR2rffKOFyqH3aq0eBr6H8T6gnBs2bNRg=";
16 };
1718+ nativeBuildInputs = [ meson ninja ];
001920 doCheck = true;
2122 meta = with lib; {
23 homepage = "https://codeberg.org/dnkl/tllist";
24 description = "C header file only implementation of a typed linked list";
25+ longDescription = ''
26+ Most C implementations of linked list are untyped. That is, their data
27+ carriers are typically void *. This is error prone since your compiler
28+ will not be able to help you correct your mistakes (oh, was it a
29+ pointer-to-a-pointer... I thought it was just a pointer...).
30+31+ tllist addresses this by using pre-processor macros to implement dynamic
32+ types, where the data carrier is typed to whatever you want; both
33+ primitive data types are supported as well as aggregated ones such as
34+ structs, enums and unions.
35+ '';
36+37 license = licenses.mit;
38+ maintainers = with maintainers; [ fionera AndersonTorres ];
39 platforms = with platforms; linux;
40 };
41}
···1diff -Naur ncompress-4.2.4.2.orig/Makefile.def ncompress-4.2.4.2/Makefile.def
2--- ncompress-4.2.4.2.orig/Makefile.def 2007-09-06 22:28:42.000000000 -0500
3+++ ncompress-4.2.4.2/Makefile.def 2009-08-18 12:30:53.000000000 -0500
4-@@ -3,14 +3,16 @@
5- # C complier
6- #CC=cc
7-8-+PREFIX=/usr/local
9-+
10- # Install prefix
11- DESTDIR=
12-13- # Install directory for binarys
14--BINDIR=/usr/local/bin
15-+BINDIR=$(PREFIX)/bin
16-17- # Install directory for manual
18--MANDIR=/usr/local/man/man1
19-+MANDIR=$(PREFIX)/man/man1
20-21- # compiler options:
22- # options is a collection of:
23@@ -31,7 +33,7 @@
24 # -DDEF_ERRNO=1 Define error (not defined in errno.h).
25 # -DMAXSEG_64K=1 -BITS=16 Support segment processsor like 80286.
···1diff -Naur ncompress-4.2.4.2.orig/Makefile.def ncompress-4.2.4.2/Makefile.def
2--- ncompress-4.2.4.2.orig/Makefile.def 2007-09-06 22:28:42.000000000 -0500
3+++ ncompress-4.2.4.2/Makefile.def 2009-08-18 12:30:53.000000000 -0500
00000000000000000004@@ -31,7 +33,7 @@
5 # -DDEF_ERRNO=1 Define error (not defined in errno.h).
6 # -DMAXSEG_64K=1 -BITS=16 Support segment processsor like 80286.
+6-5
pkgs/tools/misc/lnch/default.nix
···23buildGoPackage rec {
4 pname = "lnch";
5- version = "2017-02-16";
67 goPackagePath = "github.com/oem/${pname}";
89 src = fetchFromGitHub {
10 owner = "oem";
11 repo = pname;
12- rev = "f24eed5392f01d2c8a9cfe9cdf70dcfbbf4b6b36";
13- sha256 = "0skzrjnbxq1yj7y64cq7angp4wqnrgw1xp9v8vw9zp8f8zwmpy0y";
14 };
1516 meta = with lib; {
17 homepage = "https://github.com/oem/lnch";
18- description = "A small go app that launches a process and moves it out of the process group";
19- license = licenses.publicDomain; # really I don't know
020 };
21}
···23buildGoPackage rec {
4 pname = "lnch";
5+ version = "unstable-2021-02-10";
67 goPackagePath = "github.com/oem/${pname}";
89 src = fetchFromGitHub {
10 owner = "oem";
11 repo = pname;
12+ rev = "6ed336dd893afa071178b8ac6f6297d23fc55514";
13+ sha256 = "K2TV+mx6C3/REJyDpC6a/Zn/ZZFxkDMC3EnkveH6YNQ=";
14 };
1516 meta = with lib; {
17 homepage = "https://github.com/oem/lnch";
18+ description = "Launches a process and moves it out of the process group";
19+ license = licenses.mit;
20+ platforms = with platforms; all;
21 };
22}