@@ -0,0 +1,24 @@
1+{ lib, stdenv, fetchFromGitHub, ncurses, readline, autoreconfHook }:
2+
3+stdenv.mkDerivation rec {
4+ pname = "bitwise";
5+ version = "0.42";
6+
7+ src = fetchFromGitHub {
8+ owner = "mellowcandle";
9+ repo = "bitwise";
10+ rev = "v${version}";
11+ sha256 = "154y0sn3z64z56k84ghsazkyihbkaz40hfwxcxdymnhvhh6m9f3g";
12+ };
13+
14+ buildInputs = [ ncurses readline ];
15+ nativeBuildInputs = [ autoreconfHook ];
16+
17+ meta = with lib; {
18+ description = "Terminal based bitwise calculator in curses";
19+ homepage = "https://github.com/mellowcandle/bitwise";
20+ license = licenses.gpl3Only;
21+ maintainers = [ maintainers.whonore ];
22+ platforms = platforms.unix;
23+ };
24+}