nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5 autoreconfHook,
6 perl,
7 python3,
8 versionCheckHook,
9}:
10
11stdenv.mkDerivation (finalAttrs: {
12 pname = "easel";
13 version = "0.49";
14
15 src = fetchFromGitHub {
16 owner = "EddyRivasLab";
17 repo = "easel";
18 tag = "easel-${finalAttrs.version}";
19 hash = "sha256-NSKy7ptNYR0K/VFJNv+5TGWdC1ZM4Y5i/3L+3Coj/sg=";
20 };
21
22 nativeBuildInputs = [ autoreconfHook ];
23
24 enableParallelBuilding = true;
25
26 doCheck = true;
27
28 nativeCheckInputs = [
29 perl
30 python3
31 ];
32
33 preCheck = ''
34 patchShebangs devkit/sqc
35 '';
36
37 doInstallCheck = true;
38
39 nativeInstallCheckInputs = [ versionCheckHook ];
40
41 meta = {
42 description = "Sequence analysis library used by Eddy/Rivas lab code";
43 homepage = "https://github.com/EddyRivasLab/easel";
44 license = lib.licenses.bsd2;
45 mainProgram = "easel";
46 maintainers = with lib.maintainers; [ natsukium ];
47 platforms = lib.platforms.unix;
48 };
49})