25 if stdenv.hostPlatform.isDarwin then overrideSDK stdenv { darwinMinVersion = "10.14"; } else stdenv;
27 buildPythonPackage rec {
31 disabled = pythonOlder "3.9";
36 inherit pname version;
37 hash = "sha256-GganbfRkuSaFd5qqpu0CpXe91zpKsyly6BNFgQNNNL8=";
40 cargoDeps = rustPlatform.fetchCargoTarball {
42 name = "${pname}-${version}";
43 hash = "sha256-im/TPxnT8c2QbWlzCY60wVwJFRIhSnVW7E4kv6bm0p4=";
46 nativeBuildInputs = with rustPlatform; [
52 buildInputs = [ iconv ];
54 propagatedBuildInputs = [
65 pythonImportsCheck = [ "sourmash" ];
73 # TODO(luizirber): Working on fixing these upstream
75 "test_compare_no_such_file"
76 "test_do_sourmash_index_multiscaled_rescale_fail"
77 "test_metagenome_kreport_out_fail"
81 description = "Quickly search, compare, and analyze genomic and metagenomic data sets";
82 mainProgram = "sourmash";
83 homepage = "https://sourmash.bio";
84 changelog = "https://github.com/sourmash-bio/sourmash/releases/tag/v${version}";
85 maintainers = with maintainers; [ luizirber ];
86 license = licenses.bsd3;