mnemonicode is a set of 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.
···11+{ stdenv, lib, fetchFromGitHub }:
22+33+stdenv.mkDerivation rec {
44+ name = "name-${version}";
55+ version = "2015-11-30";
66+ src = fetchFromGitHub {
77+ owner = "singpolyma";
88+ repo = "mnemonicode";
99+ rev = "1687fabdf48acf68d4186f219bc20bffe02e8ee0";
1010+ sha256 = "0kp1jhhqfwfiqg9kx0mbyr4qh4yc4zg4szqk5fbf809nx2pvprm5";
1111+ };
1212+ installPhase = ''
1313+ mkdir -p $out/bin
1414+ cp mnencode $out/bin
1515+ cp mndecode $out/bin
1616+ '';
1717+ meta = with lib; {
1818+ description = ''
1919+ Routines which implement a method for encoding binary data into a sequence
2020+ of words which can be spoken over the phone, for example, and converted
2121+ back to data on the other side.
2222+ '';
2323+ license = licenses.mit;
2424+ platforms = platforms.linux;
2525+ maintainers = [ maintainers.cstrahan ];
2626+ };
2727+}