Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
917 B · 52 lines
Nix
at litex
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253{ lib, buildPythonPackage, fetchPypi, fetchpatch, h5py, pytestCheckHook, netcdf4, pythonOlder, setuptools-scm}:
buildPythonPackage rec { pname = "h5netcdf"; version = "1.1.0"; format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi { inherit pname version; hash = "sha256-kyw7Vzvtc3Dr/J6ALNYPGk2lI277EbNu7/iXMk12v1Y="; };
SETUPTOOLS_SCM_PRETEND_VERSION = version;
nativeBuildInputs = [ setuptools-scm ];
propagatedBuildInputs = [ h5py ];
nativeCheckInputs = [ pytestCheckHook netcdf4 ];
dontUseSetuptoolsCheck = true;
pythonImportsCheck = [ "h5netcdf" ];
meta = with lib; { description = "netCDF4 via h5py"; homepage = "https://github.com/shoyer/h5netcdf"; changelog = "https://github.com/h5netcdf/h5netcdf/releases/tag/v${version}"; license = licenses.bsd3; maintainers = with maintainers; [ ]; };}