Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python3Packages.sourmash: 4.8.4 -> 4.8.7 #298393

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
14 changes: 10 additions & 4 deletions pkgs/development/python-modules/sourmash/default.nix
@@ -1,4 +1,5 @@
{ lib
, stdenv
, fetchPypi
, buildPythonPackage
, pythonOlder
Expand All @@ -20,24 +21,29 @@

buildPythonPackage rec {
pname = "sourmash";
version = "4.8.4";
version = "4.8.7";
format = "pyproject";
disabled = pythonOlder "3.8";
disabled = pythonOlder "3.9";

src = fetchPypi {
inherit pname version;
hash = "sha256-Q1hMESwzEHGXcd4XW4nLqU8cLTCxrqRgAOr1qB77roo=";
hash = "sha256-DNGOpJ2UzpL1yFsjN897cyjvMBPDMxFBTbcbKZYqk/0=";
};

cargoDeps = rustPlatform.fetchCargoTarball {
inherit src;
name = "${pname}-${version}";
hash = "sha256-HisWvJgx15OfYoMzzqYm1JyY1/jmGXBSZZmuNaKTDjI=";
hash = "sha256-MY6KrXmFAlL3RK7BFNQrte4XiNdLisSkVh035MfTy+A=";
};

preConfigure = lib.optionalString stdenv.isDarwin ''
export MACOSX_DEPLOYMENT_TARGET=10.14
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we get this version from some darwin package or so?

'';

nativeBuildInputs = with rustPlatform; [
cargoSetupHook
maturinBuildHook
bindgenHook
];

buildInputs = [ iconv ];
Expand Down