nixpkgs/pkgs/tools/misc/bitwise/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
682 B
Nix
Raw Normal View History

2021-07-15 21:06:05 +02:00
{ lib, stdenv, fetchFromGitHub, ncurses, readline, autoreconfHook }:
stdenv.mkDerivation rec {
pname = "bitwise";
2023-07-22 20:05:22 +02:00
version = "0.50";
2021-07-15 21:06:05 +02:00
src = fetchFromGitHub {
owner = "mellowcandle";
repo = "bitwise";
rev = "v${version}";
2023-07-22 20:05:22 +02:00
sha256 = "sha256-x+ky1X0c0bQZnkNvNNuXN2BoMDtDSCt/8dBAG92jCCQ=";
2021-07-15 21:06:05 +02: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;
2023-11-27 02:17:53 +01:00
mainProgram = "bitwise";
2021-07-15 21:06:05 +02:00
};
}