Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 36 lines 703 B view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 autoreconfHook, 6 libgcrypt, 7 pkg-config, 8}: 9 10stdenv.mkDerivation rec { 11 pname = "libbase58"; 12 version = "0.1.4"; 13 14 src = fetchFromGitHub { 15 owner = "bitcoin"; 16 repo = "libbase58"; 17 rev = "v${version}"; 18 hash = "sha256-CU55V89GbcYnrhwTPFMd13EGeCk/x9nQswUZ2JsYsUU="; 19 }; 20 21 nativeBuildInputs = [ 22 autoreconfHook 23 pkg-config 24 ]; 25 26 buildInputs = [ libgcrypt ]; 27 28 meta = { 29 description = "C library for Bitcoin's base58 encoding"; 30 homepage = "https://github.com/bitcoin/libbase58"; 31 license = lib.licenses.mit; 32 maintainers = with lib.maintainers; [ nagy ]; 33 mainProgram = "base58"; 34 platforms = lib.platforms.all; 35 }; 36}