about summary refs log tree commit diff
path: root/third_party/lisp/md5.nix
blob: ef265d5b6e8f8c73f8f5968049ded09ff0ffbe99 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# MD5 hash implementation
{ depot, pkgs, ... }:

with depot.nix;

let src = pkgs.fetchFromGitHub {
  owner = "pmai";
  repo = "md5";
  rev = "b1412600f60d526ee34a7ba1596ec483da7894ab";
  sha256 = "0lzip6b6xg7gd70xl1xmqp24fvxqj6ywjnz9lmx7988zpj20nhl2";
};
in buildLisp.library {
  name = "md5";
  deps = [
    {
      sbcl = buildLisp.bundled "sb-rotate-byte";
      default = depot.third_party.lisp.flexi-streams;
    }
  ];
  srcs = [ (src + "/md5.lisp") ];
}