Skip to content

Commit

Permalink
Added bip39 0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
kugland committed May 12, 2024
1 parent 81d6439 commit 79a1b0b
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
1 change: 1 addition & 0 deletions default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
overlays = import ./overlays; # nixpkgs overlays

auditok = pkgs.callPackage ./pkgs/auditok { };
bip39 = pkgs.callPackage ./pkgs/bip39 { };
ffsubsync = pkgs.callPackage ./pkgs/ffsubsync { inherit auditok pysubs2; };
my-bookmarks-pl = pkgs.callPackage ./pkgs/my-bookmarks-pl { };
neocities-deploy = pkgs.callPackage ./pkgs/neocities-deploy { };
Expand Down
35 changes: 35 additions & 0 deletions pkgs/bip39/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{ stdenv
, lib
, pkg-config
, meson
, ninja
, libsodium
, cunit
, fetchFromGitHub
}:

stdenv.mkDerivation (final: rec {
pname = "bip39";
version = "0.2.0";

src = fetchFromGitHub {
owner = "kugland";
repo = "bip39";
rev = "v${version}";
hash = "sha256-FIa1/3s1Hwunyi7YkYIM3ObeBG4YD/pX4usoo2OV60I=";
};

nativeBuildInputs = [ pkg-config meson ninja ];
buildInputs = [ libsodium ];
checkInputs = [ cunit ];

doCheck = true;

meta = with lib; {
description = "Generate BIP-0039 mnemonic phrases";
homepage = "";
license = licenses.mit;
platforms = platforms.unix;
maintainers = with maintainers; [ kugland ];
};
})

0 comments on commit 79a1b0b

Please sign in to comment.