mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-17 20:01:32 +03:00
18 lines
415 B
Nix
18 lines
415 B
Nix
{ crossenv }:
|
|
|
|
crossenv.make_derivation rec {
|
|
name = "argon2-4da94";
|
|
builder = ./builder.sh;
|
|
|
|
CC = "${crossenv.host}-gcc";
|
|
AR = "${crossenv.host}-ar";
|
|
NO_THREADS = true;
|
|
|
|
src = crossenv.nixpkgs.fetchFromGitHub {
|
|
owner = "urbit";
|
|
repo = "argon2";
|
|
rev = "4da94a611ee62bad87ab2b131ffda3bcc0723d9c";
|
|
sha256 = "0bqq1hg367l4jkb6cqhxlblpvdbwz3l586qsfakwzfd9wdvnm3yc";
|
|
};
|
|
}
|