depot/third_party/nixpkgs/pkgs/tools/misc/bitwise/default.nix
Default email 5b567aa208 Project import generated by Copybara.
GitOrigin-RevId: 16105403bdd843540cbef9c63fc0f16c1c6eaa70
2021-07-21 09:28:18 +02:00

24 lines
654 B
Nix

{ lib, stdenv, fetchFromGitHub, ncurses, readline, autoreconfHook }:
stdenv.mkDerivation rec {
pname = "bitwise";
version = "0.42";
src = fetchFromGitHub {
owner = "mellowcandle";
repo = "bitwise";
rev = "v${version}";
sha256 = "154y0sn3z64z56k84ghsazkyihbkaz40hfwxcxdymnhvhh6m9f3g";
};
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;
};
}