diff options
author | Vincent Ambo <tazjin@google.com> | 2020-01-26T23·59+0000 |
---|---|---|
committer | Vincent Ambo <tazjin@google.com> | 2020-01-26T23·59+0000 |
commit | a41b8c70a68b3b6d848d708cd8058866b23847e6 (patch) | |
tree | 18cf49e0e1adce9c780e45909c7e14de4063b27a /third_party/lisp/md5.nix | |
parent | ca60eafa808e2423fd64996b4f678b08ed3277a5 (diff) |
refactor(third_party/lisp): Use buildLisp.bundled for built-in libs r/462
Deprecates derivations for: * sb-bsd-sockets * sb-posix * sb-rotate-byte * uiop
Diffstat (limited to 'third_party/lisp/md5.nix')
-rw-r--r-- | third_party/lisp/md5.nix | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/third_party/lisp/md5.nix b/third_party/lisp/md5.nix index 3787e23175e8..229b61709ddc 100644 --- a/third_party/lisp/md5.nix +++ b/third_party/lisp/md5.nix @@ -1,18 +1,16 @@ # MD5 hash implementation { pkgs, ... }: +with pkgs.nix; + let src = pkgs.third_party.fetchFromGitHub { owner = "pmai"; repo = "md5"; rev = "b1412600f60d526ee34a7ba1596ec483da7894ab"; sha256 = "0lzip6b6xg7gd70xl1xmqp24fvxqj6ywjnz9lmx7988zpj20nhl2"; }; -in pkgs.nix.buildLisp.library { +in buildLisp.library { name = "md5"; - - deps = with pkgs.third_party.lisp; [ - sb-rotate-byte - ]; - + deps = [ (buildLisp.bundled "sb-rotate-byte") ]; srcs = [ (src + "/md5.lisp") ]; } |