11 stdenv.mkDerivation (finalAttrs: {
12 # Same name as the Debian library
13 pname = "libstaden-read";
16 src = fetchFromGitHub {
19 rev = "io_lib-" + builtins.replaceStrings [ "." ] [ "-" ] finalAttrs.version;
20 fetchSubmodules = true;
21 hash = "sha256-2Dlx+MXmqar81/Xmf0oE+6lWX461EDYijiZsZf/VD28=";
25 # Needed so that the lib can be detected
26 ./libstaden-install-config-header.patch
34 nativeBuildInputs = [ autoreconfHook ];
36 # autoreconfHook does not descend into htscodecs folder
39 autoreconf --install --force --verbose
44 description = "C library for reading/writing various DNA sequence formats";
45 homepage = "https://staden.sourceforge.net";
46 downloadPage = "https://github.com/jkbonfield/io_lib/releases";
47 changelog = "https://github.com/jkbonfield/io_lib/blob/${finalAttrs.src.rev}/CHANGES";
48 license = with lib.licenses; [
52 platforms = lib.platforms.all;
53 maintainers = [ lib.maintainers.kupac ];