depot/pkgs/by-name/ni/nim-atlas/package.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

22 lines
615 B
Nix

{ lib, buildNimPackage, fetchFromGitHub, openssl }:
buildNimPackage (final: prev: {
pname = "atlas";
version = "unstable-2023-09-22";
src = fetchFromGitHub {
owner = "nim-lang";
repo = "atlas";
rev = "ab22f997c22a644924c1a9b920f8ce207da9b77f";
hash = "sha256-TsZ8TriVuKEY9/mV6KR89eFOgYrgTqXmyv/vKu362GU=";
};
buildInputs = [ openssl ];
prePatch = ''
rm config.nims
''; # never trust a .nims file
doCheck = false; # tests will clone repos
meta = final.src.meta // {
description = "Nim package cloner";
mainProgram = "atlas";
license = [ lib.licenses.mit ];
};
})