Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 34 lines 891 B view raw
1{ 2 config, 3 lib, 4 fetchFromGitHub, 5 zlib, 6 stdenv, 7}: 8stdenv.mkDerivation { 9 pname = "fermi2"; 10 version = "0.1-unstable-2021-05-21"; 11 src = fetchFromGitHub { 12 owner = "lh3"; 13 repo = "fermi2"; 14 rev = "cb1410972b2bd330883823116931ae67ead8b30f"; 15 hash = "sha256-jDn1OBuGWDMEHI5A3R9meOykEGM6yjItSnUpx36DxgA="; 16 }; 17 buildInputs = [ zlib ]; 18 makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" ]; 19 installPhase = '' 20 runHook preInstall 21 22 install -Dm755 fermi2 -t $out/bin 23 24 runHook postInstall 25 ''; 26 meta = { 27 homepage = "https://github.com/lh3/fermi2"; 28 description = "Successor of fermi, a whole genome de novo assembler based on the FMD-index for large genomes"; 29 mainProgram = "fermi2"; 30 license = lib.licenses.mit; 31 maintainers = with lib.maintainers; [ apraga ]; 32 platforms = lib.intersectLists lib.platforms.x86_64 lib.platforms.unix; 33 }; 34}