2021-07-15 20:06:05 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub, ncurses, readline, autoreconfHook }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "bitwise";
|
2021-11-01 13:33:41 +00:00
|
|
|
version = "0.43";
|
2021-07-15 20:06:05 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mellowcandle";
|
|
|
|
repo = "bitwise";
|
|
|
|
rev = "v${version}";
|
2021-11-01 13:33:41 +00:00
|
|
|
sha256 = "18sz7bfpq83s2zhw7c35snz6k3b6rzad2mmfq2qwmyqwypbp1g7l";
|
2021-07-15 20:06:05 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ ncurses readline ];
|
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Terminal based bitwise calculator in curses";
|
|
|
|
homepage = "https://github.com/mellowcandle/bitwise";
|
|
|
|
license = licenses.gpl3Only;
|
|
|
|
maintainers = [ maintainers.whonore ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|