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