Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at domenkozar-patch-1 50 lines 863 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, fetchpatch 5, h5py 6, pytestCheckHook 7, netcdf4 8, pythonOlder 9, setuptools-scm 10}: 11 12buildPythonPackage rec { 13 pname = "h5netcdf"; 14 version = "1.1.0"; 15 format = "setuptools"; 16 17 disabled = pythonOlder "3.6"; 18 19 src = fetchPypi { 20 inherit pname version; 21 hash = "sha256-kyw7Vzvtc3Dr/J6ALNYPGk2lI277EbNu7/iXMk12v1Y="; 22 }; 23 24 nativeBuildInputs = [ 25 setuptools-scm 26 ]; 27 28 propagatedBuildInputs = [ 29 h5py 30 ]; 31 32 checkInputs = [ 33 pytestCheckHook 34 netcdf4 35 ]; 36 37 dontUseSetuptoolsCheck = true; 38 39 pythonImportsCheck = [ 40 "h5netcdf" 41 ]; 42 43 meta = with lib; { 44 description = "netCDF4 via h5py"; 45 homepage = "https://github.com/shoyer/h5netcdf"; 46 changelog = "https://github.com/h5netcdf/h5netcdf/releases/tag/v${version}"; 47 license = licenses.bsd3; 48 maintainers = with maintainers; [ ]; 49 }; 50}