19 buildPythonPackage rec {
21 version = "2.6.2.post1";
24 src = fetchFromGitHub {
25 owner = "milesgranger";
26 repo = "pyrus-cramjam";
27 rev = "refs/tags/v${version}";
28 hash = "sha256-KU1JVNEQJadXNiIWTvI33N2NSq994xoKxcAGGezFjaI=";
31 cargoDeps = rustPlatform.fetchCargoTarball {
33 hash = "sha256-w1bEf+etLgR/YOyLmC3lFtO9fqAx8z2aul/XIKUQb5k=";
36 nativeBuildInputs = with rustPlatform; [
41 buildInputs = lib.optional stdenv.isDarwin libiconv;
61 "benchmarks/test_bench.py"
64 pythonImportsCheck = [
69 description = "Thin Python bindings to de/compression algorithms in Rust";
70 homepage = "https://github.com/milesgranger/pyrus-cramjam";
71 license = with licenses; [ mit ];
72 maintainers = with maintainers; [ veprbl ];