Merge pull request #121451 from jb55/miniscript

miniscript: init at unstable-2020-11-04

authored by

Raghav Sood and committed by
GitHub
ef0ad301 cd38f395

+31
+29
pkgs/applications/blockchains/miniscript/default.nix
··· 1 + { stdenv, lib, fetchFromGitHub }: 2 + 3 + stdenv.mkDerivation rec { 4 + pname = "miniscript"; 5 + version = "unstable-2020-12-01"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "sipa"; 9 + repo = pname; 10 + rev = "02682a398a35b410571b10cde7f39837141ddad6"; 11 + sha256 = "079jz4g88cfzfm9a6ykby9haxwcs033c1288mgr8cl2hw4qd2sjl"; 12 + }; 13 + 14 + installPhase = '' 15 + runHook preInstall 16 + mkdir -p $out/bin 17 + cp miniscript $out/bin/miniscript 18 + runHook postInstall 19 + ''; 20 + 21 + meta = with lib; { 22 + description = "Compiler and inspector for the miniscript Bitcoin policy language"; 23 + longDescription = "Miniscript is a language for writing (a subset of) Bitcoin Scripts in a structured way, enabling analysis, composition, generic signing and more."; 24 + homepage = "http://bitcoin.sipa.be/miniscript/"; 25 + license = licenses.mit; 26 + platforms = platforms.linux; 27 + maintainers = with maintainers; [ RaghavSood jb55 ]; 28 + }; 29 + }
+2
pkgs/top-level/all-packages.nix
··· 2826 2826 2827 2827 mididings = callPackage ../tools/audio/mididings { }; 2828 2828 2829 + miniscript = callPackage ../applications/blockchains/miniscript { }; 2830 + 2829 2831 miniserve = callPackage ../tools/misc/miniserve { 2830 2832 inherit (darwin.apple_sdk.frameworks) Security; 2831 2833 };