Unverified Commit b883cdad authored by Ryan Lahfa's avatar Ryan Lahfa Committed by GitHub
Browse files

Merge pull request #251575 from RaitoBezarius/update/jellyfish

parents c34a05e8 81ec72df
Loading
Loading
Loading
Loading
+16 −2
Original line number Diff line number Diff line
@@ -4,17 +4,31 @@
, isPy3k
, pytest
, unicodecsv
, rustPlatform
}:

buildPythonPackage rec {
  pname = "jellyfish";
  version = "0.9.0";
  version = "1.0.0";

  disabled = !isPy3k;

  format = "pyproject";

  src = fetchPypi {
    inherit pname version;
    sha256 = "40c9a2ffd8bd3016f7611d424120442f627f56d518a106847dc93f0ead6ad79a";
    hash = "sha256-iBquNnGZm7B85QwnaW8pyn6ELz4SOswNtlJcmZmIG9Q=";
  };

  nativeBuildInputs = with rustPlatform; [
    maturinBuildHook
    cargoSetupHook
  ];

  cargoDeps = rustPlatform.fetchCargoTarball {
    inherit src;
    name = "${pname}-${version}-rust-dependencies";
    hash = "sha256-Grk+n4VCPjirafcRWWI51jHw/IFUYkBtbXY739j0MFI=";
  };

  nativeCheckInputs = [ pytest unicodecsv ];