summary refs log tree commit diff
path: root/pkgs/misc
diff options
context:
space:
mode:
authorCharles Strahan <charles@cstrahan.com>2016-05-19 16:14:02 -0400
committerCharles Strahan <charles@cstrahan.com>2016-05-19 16:17:18 -0400
commitcd0d0944f9272e7d29131cfdd3e155ad13cd171b (patch)
tree9797d92471f9410cdd1b51781a9dc4679c0e922f /pkgs/misc
parent5d540387713f2d29dac423f5faadafd5aea2ff09 (diff)
downloadnixpkgs-cd0d0944f9272e7d29131cfdd3e155ad13cd171b.tar
nixpkgs-cd0d0944f9272e7d29131cfdd3e155ad13cd171b.tar.gz
nixpkgs-cd0d0944f9272e7d29131cfdd3e155ad13cd171b.tar.bz2
nixpkgs-cd0d0944f9272e7d29131cfdd3e155ad13cd171b.tar.lz
nixpkgs-cd0d0944f9272e7d29131cfdd3e155ad13cd171b.tar.xz
nixpkgs-cd0d0944f9272e7d29131cfdd3e155ad13cd171b.tar.zst
nixpkgs-cd0d0944f9272e7d29131cfdd3e155ad13cd171b.zip
mnemonicode: init at 2015-11-30
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.
Diffstat (limited to 'pkgs/misc')
-rw-r--r--pkgs/misc/mnemonicode/default.nix27
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/misc/mnemonicode/default.nix b/pkgs/misc/mnemonicode/default.nix
new file mode 100644
index 00000000000..6ff3601904f
--- /dev/null
+++ b/pkgs/misc/mnemonicode/default.nix
@@ -0,0 +1,27 @@
+{ stdenv, lib, fetchFromGitHub }:
+
+stdenv.mkDerivation rec {
+  name = "name-${version}";
+  version = "2015-11-30";
+  src = fetchFromGitHub {
+    owner = "singpolyma";
+    repo = "mnemonicode";
+    rev = "1687fabdf48acf68d4186f219bc20bffe02e8ee0";
+    sha256 = "0kp1jhhqfwfiqg9kx0mbyr4qh4yc4zg4szqk5fbf809nx2pvprm5";
+  };
+  installPhase = ''
+    mkdir -p $out/bin
+    cp mnencode $out/bin
+    cp mndecode $out/bin
+  '';
+  meta = with lib; {
+    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.linux;
+    maintainers = [ maintainers.cstrahan ];
+  };
+}