mnemonicode: 2015-11-30 -> 1.0.0

This commit is contained in:
Kirill Radzikhovskyy 2023-11-15 18:46:03 +11:00
parent 9f13f42bb6
commit 028eabeef0

View file

@ -1,20 +1,21 @@
{ stdenv, lib, fetchFromGitHub }: { stdenv, lib, fetchFromGitHub }:
stdenv.mkDerivation { stdenv.mkDerivation (finalAttrs: {
pname = "mnemonicode"; pname = "mnemonicode";
version = "2015-11-30"; version = "1.0.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "singpolyma"; owner = "singpolyma";
repo = "mnemonicode"; repo = "mnemonicode";
rev = "1687fabdf48acf68d4186f219bc20bffe02e8ee0"; rev = finalAttrs.version;
sha256 = "0kp1jhhqfwfiqg9kx0mbyr4qh4yc4zg4szqk5fbf809nx2pvprm5"; hash = "sha256-bGipPvLj6ig+lMLsl/Yve8PmuA93ETvhNKoMPh0JMBM=";
}; };
installPhase = '' installPhase = ''
mkdir -p $out/bin mkdir -p $out/bin
cp mnencode $out/bin mv mnencode $out/bin
cp mndecode $out/bin mv mndecode $out/bin
''; '';
meta = with lib; { meta = with lib; {
homepage = "https://github.com/singpolyma/mnemonicode";
description = '' description = ''
Routines which implement a method for encoding binary data into a sequence 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 of words which can be spoken over the phone, for example, and converted
@ -22,6 +23,7 @@ stdenv.mkDerivation {
''; '';
license = licenses.mit; license = licenses.mit;
platforms = platforms.all; platforms = platforms.all;
maintainers = [ ]; maintainers = with maintainers; [ kirillrdy ];
mainProgram = "mnencode";
}; };
} })