2020-01-22 01:23:09 +01:00
|
|
|
# MD5 hash implementation
|
2021-04-10 02:13:18 +02:00
|
|
|
{ depot, pkgs, ... }:
|
2020-01-22 01:23:09 +01:00
|
|
|
|
2020-02-21 13:47:29 +01:00
|
|
|
with depot.nix;
|
2020-01-27 00:59:07 +01:00
|
|
|
|
2021-04-10 02:13:18 +02:00
|
|
|
let src = pkgs.fetchFromGitHub {
|
2020-01-22 01:23:09 +01:00
|
|
|
owner = "pmai";
|
|
|
|
repo = "md5";
|
|
|
|
rev = "b1412600f60d526ee34a7ba1596ec483da7894ab";
|
|
|
|
sha256 = "0lzip6b6xg7gd70xl1xmqp24fvxqj6ywjnz9lmx7988zpj20nhl2";
|
|
|
|
};
|
2020-01-27 00:59:07 +01:00
|
|
|
in buildLisp.library {
|
2020-01-22 01:23:09 +01:00
|
|
|
name = "md5";
|
2020-01-27 00:59:07 +01:00
|
|
|
deps = [ (buildLisp.bundled "sb-rotate-byte") ];
|
2020-01-22 01:23:09 +01:00
|
|
|
srcs = [ (src + "/md5.lisp") ];
|
|
|
|
}
|