mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 02:42:59 +00:00
26 lines
682 B
Nix
26 lines
682 B
Nix
{ lib, stdenv, fetchFromGitHub, ncurses, readline, autoreconfHook }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "bitwise";
|
|
version = "0.50";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mellowcandle";
|
|
repo = "bitwise";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-x+ky1X0c0bQZnkNvNNuXN2BoMDtDSCt/8dBAG92jCCQ=";
|
|
};
|
|
|
|
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;
|
|
mainProgram = "bitwise";
|
|
};
|
|
}
|