lol
fork

Configure Feed

Select the types of activity you want to include in your feed.

bcftools: switch from fetchurl to fetchFromGitHub

jopejoe1 7d8ff0b4 6c18c400

+14 -6
+14 -6
pkgs/by-name/bc/bcftools/package.nix
··· 1 1 { 2 2 lib, 3 3 stdenv, 4 - fetchurl, 4 + fetchFromGitHub, 5 + autoreconfHook, 5 6 htslib, 6 7 zlib, 7 8 bzip2, ··· 12 13 bash, 13 14 }: 14 15 15 - stdenv.mkDerivation rec { 16 + stdenv.mkDerivation (finalAttrs: { 16 17 pname = "bcftools"; 17 18 version = "1.22"; 18 19 19 - src = fetchurl { 20 - url = "https://github.com/samtools/bcftools/releases/download/${version}/${pname}-${version}.tar.bz2"; 21 - sha256 = "sha256-8queL2BbEgOn6cv7Cj63aJMiKX+MNLRdxSN/5X2YSJ8="; 20 + src = fetchFromGitHub { 21 + owner = "samtools"; 22 + repo = "bcftools"; 23 + tag = finalAttrs.version; 24 + hash = "sha256-S+FuqjiOf38sAQKWYOixv/MlXGnuDmkx9z4Co/pk/eM="; 22 25 }; 23 26 24 27 nativeBuildInputs = [ 28 + autoreconfHook 25 29 perl 26 30 python3 27 31 ]; ··· 32 36 bzip2 33 37 xz 34 38 curl 39 + ]; 40 + 41 + nativeCheckInputs = [ 42 + htslib 35 43 ]; 36 44 37 45 strictDeps = true; ··· 59 67 platforms = platforms.unix; 60 68 maintainers = [ maintainers.mimame ]; 61 69 }; 62 - } 70 + })