Merge pull request #267615 from kirillrdy/mnencode

mnemonicode: 2015-11-30 -> 1.0.0

authored by

Mario Rodas and committed by
GitHub
b7b91c7a 48d44f17

+10 -8
+10 -8
pkgs/misc/mnemonicode/default.nix
··· 1 { stdenv, lib, fetchFromGitHub }: 2 3 - stdenv.mkDerivation { 4 pname = "mnemonicode"; 5 - version = "2015-11-30"; 6 src = fetchFromGitHub { 7 owner = "singpolyma"; 8 repo = "mnemonicode"; 9 - rev = "1687fabdf48acf68d4186f219bc20bffe02e8ee0"; 10 - sha256 = "0kp1jhhqfwfiqg9kx0mbyr4qh4yc4zg4szqk5fbf809nx2pvprm5"; 11 }; 12 installPhase = '' 13 mkdir -p $out/bin 14 - cp mnencode $out/bin 15 - cp mndecode $out/bin 16 ''; 17 meta = with lib; { 18 description = '' 19 Routines which implement a method for encoding binary data into a sequence 20 of words which can be spoken over the phone, for example, and converted ··· 22 ''; 23 license = licenses.mit; 24 platforms = platforms.all; 25 - maintainers = [ ]; 26 }; 27 - }
··· 1 { stdenv, lib, fetchFromGitHub }: 2 3 + stdenv.mkDerivation (finalAttrs: { 4 pname = "mnemonicode"; 5 + version = "1.0.0"; 6 src = fetchFromGitHub { 7 owner = "singpolyma"; 8 repo = "mnemonicode"; 9 + rev = finalAttrs.version; 10 + hash = "sha256-bGipPvLj6ig+lMLsl/Yve8PmuA93ETvhNKoMPh0JMBM="; 11 }; 12 installPhase = '' 13 mkdir -p $out/bin 14 + mv mnencode $out/bin 15 + mv mndecode $out/bin 16 ''; 17 meta = with lib; { 18 + homepage = "https://github.com/singpolyma/mnemonicode"; 19 description = '' 20 Routines which implement a method for encoding binary data into a sequence 21 of words which can be spoken over the phone, for example, and converted ··· 23 ''; 24 license = licenses.mit; 25 platforms = platforms.all; 26 + maintainers = with maintainers; [ kirillrdy ]; 27 + mainProgram = "mnencode"; 28 }; 29 + })