Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.3 kB · 78 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879{ lib, buildPythonPackage, fetchFromGitHub
# build-system, cmake, cython_3, ninja, oldest-supported-numpy, scikit-build, setuptools, wheel
# propagates, msgpack, ndindex, numpy, py-cpuinfo, rich
# tests, psutil, pytestCheckHook, torch}:
buildPythonPackage rec { pname = "blosc2"; version = "2.3.2"; format = "pyproject";
src = fetchFromGitHub { owner = "Blosc"; repo = "python-blosc2"; rev = "refs/tags/v${version}"; fetchSubmodules = true; hash = "sha256-tRcyntJlmLPbqnX7nzdBQ/50uXy0fVLb2YGVOIwJjxU="; };
postPatch = '' substituteInPlace requirements-runtime.txt \ --replace "pytest" "" '';
nativeBuildInputs = [ cmake cython_3 ninja oldest-supported-numpy scikit-build setuptools wheel ];
dontUseCmakeConfigure = true;
propagatedBuildInputs = [ msgpack ndindex numpy py-cpuinfo rich ];
nativeCheckInputs = [ psutil pytestCheckHook torch ];
meta = with lib; { description = "Python wrapper for the extremely fast Blosc2 compression library"; homepage = "https://github.com/Blosc/python-blosc2"; changelog = "https://github.com/Blosc/python-blosc2/releases/tag/v${version}"; license = licenses.bsd3; maintainers = with maintainers; [ ]; };}