depot/pkgs/development/libraries/science/biology/edlib/default.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

30 lines
741 B
Nix

{ lib, stdenv, fetchFromGitHub, cmake }:
stdenv.mkDerivation rec {
pname = "edlib";
version = "unstable-2021-08-20";
src = fetchFromGitHub {
owner = "Martinsos";
repo = pname;
rev = "f8afceb49ab0095c852e0b8b488ae2c88e566afd";
hash = "sha256-P/tFbvPBtA0MYCNDabW+Ypo3ltwP4S+6lRDxwAZ1JFo=";
};
nativeBuildInputs = [ cmake ];
doCheck = true;
checkPhase = ''
runHook preCheck
bin/runTests
runHook postCheck
'';
meta = with lib; {
homepage = "https://martinsos.github.io/edlib";
description = "Lightweight, fast C/C++ library for sequence alignment using edit distance";
maintainers = with maintainers; [ bcdarwin ];
license = licenses.mit;
platforms = platforms.unix;
};
}