Files
nixpkgs/pkgs/by-name/mn/mnemonicode/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

34 lines
855 B
Nix

{
stdenv,
lib,
fetchFromGitHub,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "mnemonicode";
version = "1.0.0";
src = fetchFromGitHub {
owner = "singpolyma";
repo = "mnemonicode";
rev = finalAttrs.version;
hash = "sha256-bGipPvLj6ig+lMLsl/Yve8PmuA93ETvhNKoMPh0JMBM=";
};
installPhase = ''
mkdir -p $out/bin
mv mnencode $out/bin
mv mndecode $out/bin
'';
meta = with lib; {
homepage = "https://github.com/singpolyma/mnemonicode";
description = ''
Routines which implement a method for encoding binary data into a sequence
of words which can be spoken over the phone, for example, and converted
back to data on the other side.
'';
license = licenses.mit;
platforms = platforms.all;
maintainers = with maintainers; [ kirillrdy ];
mainProgram = "mnencode";
};
})