python3Packages.cramjam: 2.4.0 -> 2.6.2.post1
This commit is contained in:
parent
0ad81bc718
commit
658b24a851
@ -5,9 +5,11 @@
|
||||
, stdenv
|
||||
, libiconv
|
||||
, brotli
|
||||
, hypothesis
|
||||
, lz4
|
||||
, memory_profiler
|
||||
, numpy
|
||||
, py
|
||||
, pytest-benchmark
|
||||
, pytestCheckHook
|
||||
, python-snappy
|
||||
@ -16,39 +18,52 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cramjam";
|
||||
version = "2.4.0";
|
||||
version = "2.6.2.post1";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "milesgranger";
|
||||
repo = "pyrus-cramjam";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-00KvbiTf8PxYWljLKTRZmPIAbb+PnBleDM4p0AzZhHw=";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-KU1JVNEQJadXNiIWTvI33N2NSq994xoKxcAGGezFjaI=";
|
||||
};
|
||||
|
||||
cargoDeps = rustPlatform.fetchCargoTarball {
|
||||
inherit src;
|
||||
sha256 = "sha256-4y/jeEZjVUbaXtBx5l3Hrbnj3iNYX089K4xexRP+5v0=";
|
||||
hash = "sha256-w1bEf+etLgR/YOyLmC3lFtO9fqAx8z2aul/XIKUQb5k=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = with rustPlatform; [
|
||||
cargoSetupHook
|
||||
maturinBuildHook
|
||||
];
|
||||
|
||||
buildInputs = lib.optional stdenv.isDarwin libiconv;
|
||||
|
||||
checkInputs = [
|
||||
brotli
|
||||
hypothesis
|
||||
lz4
|
||||
memory_profiler
|
||||
numpy
|
||||
py
|
||||
pytest-benchmark
|
||||
pytestCheckHook
|
||||
python-snappy
|
||||
zstd
|
||||
];
|
||||
pytestFlagsArray = [ "--benchmark-disable" ];
|
||||
pythonImportsCheck = [ "cramjam" ];
|
||||
|
||||
pytestFlagsArray = [
|
||||
"--benchmark-disable"
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
"benchmarks/test_bench.py"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"cramjam"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Thin Python bindings to de/compression algorithms in Rust";
|
||||
|
Loading…
Reference in New Issue
Block a user