nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 35 lines 728 B view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 ncurses, 6 readline, 7 autoreconfHook, 8}: 9 10stdenv.mkDerivation (finalAttrs: { 11 pname = "bitwise"; 12 version = "0.50"; 13 14 src = fetchFromGitHub { 15 owner = "mellowcandle"; 16 repo = "bitwise"; 17 rev = "v${finalAttrs.version}"; 18 sha256 = "sha256-x+ky1X0c0bQZnkNvNNuXN2BoMDtDSCt/8dBAG92jCCQ="; 19 }; 20 21 buildInputs = [ 22 ncurses 23 readline 24 ]; 25 nativeBuildInputs = [ autoreconfHook ]; 26 27 meta = { 28 description = "Terminal based bitwise calculator in curses"; 29 homepage = "https://github.com/mellowcandle/bitwise"; 30 license = lib.licenses.gpl3Only; 31 maintainers = [ lib.maintainers.whonore ]; 32 platforms = lib.platforms.unix; 33 mainProgram = "bitwise"; 34 }; 35})