at master 986 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 filelock, 6 lxml, 7 pycryptodomex, 8 pythonOlder, 9 urllib3, 10}: 11 12buildPythonPackage rec { 13 pname = "blobfile"; 14 version = "3.0.0"; 15 format = "setuptools"; 16 17 disabled = pythonOlder "3.7"; 18 19 src = fetchFromGitHub { 20 owner = "christopher-hesse"; 21 repo = "blobfile"; 22 tag = "v${version}"; 23 hash = "sha256-/v48rLvlN4lsfWKJvXRNuIO6jdsCgRcSPlJzdOfl3xk="; 24 }; 25 26 propagatedBuildInputs = [ 27 pycryptodomex 28 filelock 29 urllib3 30 lxml 31 ]; 32 33 # Tests require a running Docker instance 34 doCheck = false; 35 36 pythonImportsCheck = [ "blobfile" ]; 37 38 meta = with lib; { 39 description = "Read Google Cloud Storage, Azure Blobs, and local paths with the same interface"; 40 homepage = "https://github.com/christopher-hesse/blobfile"; 41 changelog = "https://github.com/christopher-hesse/blobfile/blob/v${version}/CHANGES.md"; 42 license = licenses.unlicense; 43 maintainers = with maintainers; [ happysalada ]; 44 }; 45}