summary refs log tree commit diff
path: root/pkgs/development/nim-packages/atlas/default.nix
blob: b1c22e776ab5895e4bb225663e49bb68314de99d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ lib, buildNimPackage, fetchFromGitHub, openssl }:

buildNimPackage (final: prev: {
  pname = "atlas";
  version = "unstable=2023-09-22";
  nimBinOnly = true;
  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";
    license = [ lib.licenses.mit ];
    maintainers = with lib.maintainers; [ ehmry ];
  };
})