mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 11:40:45 +00:00
Merge pull request #298393 from luizirber/lirber/sourmash_4.8.7
python3Packages.sourmash: 4.8.4 -> 4.8.11
This commit is contained in:
commit
e3ebf21963
|
@ -2,7 +2,9 @@
|
|||
lib,
|
||||
fetchPypi,
|
||||
buildPythonPackage,
|
||||
stdenv,
|
||||
pythonOlder,
|
||||
overrideSDK,
|
||||
rustPlatform,
|
||||
bitstring,
|
||||
cachetools,
|
||||
|
@ -18,27 +20,32 @@
|
|||
pyyaml,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
let
|
||||
stdenv' = if stdenv.isDarwin then overrideSDK stdenv { darwinMinVersion = "10.14"; } else stdenv;
|
||||
in
|
||||
buildPythonPackage rec {
|
||||
pname = "sourmash";
|
||||
version = "4.8.4";
|
||||
format = "pyproject";
|
||||
disabled = pythonOlder "3.8";
|
||||
version = "4.8.11";
|
||||
pyproject = true;
|
||||
disabled = pythonOlder "3.9";
|
||||
|
||||
stdenv = stdenv';
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-Q1hMESwzEHGXcd4XW4nLqU8cLTCxrqRgAOr1qB77roo=";
|
||||
hash = "sha256-GganbfRkuSaFd5qqpu0CpXe91zpKsyly6BNFgQNNNL8=";
|
||||
};
|
||||
|
||||
cargoDeps = rustPlatform.fetchCargoTarball {
|
||||
inherit src;
|
||||
name = "${pname}-${version}";
|
||||
hash = "sha256-HisWvJgx15OfYoMzzqYm1JyY1/jmGXBSZZmuNaKTDjI=";
|
||||
hash = "sha256-im/TPxnT8c2QbWlzCY60wVwJFRIhSnVW7E4kv6bm0p4=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = with rustPlatform; [
|
||||
cargoSetupHook
|
||||
maturinBuildHook
|
||||
bindgenHook
|
||||
];
|
||||
|
||||
buildInputs = [ iconv ];
|
||||
|
|
Loading…
Reference in a new issue