2023-10-05 00:21:58 +02:00
|
|
|
{ lib, buildNimPackage, fetchFromGitHub, openssl }:
|
2023-09-29 15:22:43 +02:00
|
|
|
|
|
|
|
buildNimPackage (final: prev: {
|
|
|
|
pname = "atlas";
|
2023-10-31 17:40:37 +01:00
|
|
|
version = "unstable-2023-09-22";
|
2023-09-29 15:22:43 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "nim-lang";
|
|
|
|
repo = "atlas";
|
|
|
|
rev = "ab22f997c22a644924c1a9b920f8ce207da9b77f";
|
|
|
|
hash = "sha256-TsZ8TriVuKEY9/mV6KR89eFOgYrgTqXmyv/vKu362GU=";
|
|
|
|
};
|
2023-10-05 00:21:58 +02:00
|
|
|
buildInputs = [ openssl ];
|
2023-09-29 15:22:43 +02:00
|
|
|
prePatch = ''
|
|
|
|
rm config.nims
|
|
|
|
''; # never trust a .nims file
|
|
|
|
doCheck = false; # tests will clone repos
|
|
|
|
meta = final.src.meta // {
|
|
|
|
description = "Nim package cloner";
|
2024-03-19 03:14:51 +01:00
|
|
|
mainProgram = "atlas";
|
2023-09-29 15:22:43 +02:00
|
|
|
license = [ lib.licenses.mit ];
|
|
|
|
};
|
|
|
|
})
|