libstaden-read: init at 1.15.0

Sort inputs alphabetically in libstaden

Remove gcc from libstaden deps

+59
+12
pkgs/by-name/li/libstaden-read/libstaden-install-config-header.patch
··· 1 + diff --git a/Makefile.am b/Makefile.am 2 + index 31286d1..2631af1 100644 3 + --- a/Makefile.am 4 + +++ b/Makefile.am 5 + @@ -61,6 +61,7 @@ man_MANS = \ 6 + man/man4/Read.4 7 + 8 + pkginclude_HEADERS = \ 9 + + io_lib_config.h \ 10 + io_lib/Read.h \ 11 + io_lib/scf_extras.h \ 12 + io_lib/translate.h \
+47
pkgs/by-name/li/libstaden-read/package.nix
··· 1 + { lib 2 + , stdenv 3 + , autoreconfHook 4 + , fetchFromGitHub 5 + , bzip2 6 + , xz 7 + , zlib 8 + }: 9 + 10 + stdenv.mkDerivation (finalAttrs: { 11 + # Same name as the Debian library 12 + pname = "libstaden-read"; 13 + version = "1.15.0"; 14 + 15 + src = fetchFromGitHub { 16 + owner = "jkbonfield"; 17 + repo = "io_lib"; 18 + rev = "io_lib-" + builtins.replaceStrings ["."] ["-"] finalAttrs.version; 19 + fetchSubmodules = true; 20 + hash = "sha256-2Dlx+MXmqar81/Xmf0oE+6lWX461EDYijiZsZf/VD28="; 21 + }; 22 + 23 + patches = [ 24 + # Needed so that the lib can be detected 25 + ./libstaden-install-config-header.patch 26 + ]; 27 + 28 + buildInputs = [ bzip2 xz zlib ]; 29 + nativeBuildInputs = [ autoreconfHook ]; 30 + 31 + # autoreconfHook does not descend into htscodecs folder 32 + preAutoreconf = '' 33 + pushd ./htscodecs 34 + autoreconf --install --force --verbose 35 + pushd 36 + ''; 37 + 38 + meta = { 39 + description = "C library for reading/writing various DNA sequence formats"; 40 + homepage = "https://staden.sourceforge.net"; 41 + downloadPage = "https://github.com/jkbonfield/io_lib/releases"; 42 + changelog = "https://github.com/jkbonfield/io_lib/blob/${finalAttrs.src.rev}/CHANGES"; 43 + license = with lib.licenses; [ bsd3 free ]; 44 + platforms = lib.platforms.all; 45 + maintainers = [ lib.maintainers.kupac ]; 46 + }; 47 + })