mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-11-28 00:40:33 +00:00
generated using https://git.kybe.xyz/2kybe3/nixpkgs-github-redirect continuation of: #580644
46 lines
974 B
Nix
46 lines
974 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
setuptools,
|
|
filelock,
|
|
lxml,
|
|
pycryptodomex,
|
|
urllib3,
|
|
}:
|
|
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "blobfile";
|
|
version = "3.2.0";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "blobfile";
|
|
repo = "blobfile";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-6WECMS05upC+M81EtOlEs1K3NKD/z073PqutA/OCMiE=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
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/blobfile/blobfile";
|
|
changelog = "https://github.com/blobfile/blobfile/blob/${finalAttrs.src.tag}/CHANGES.md";
|
|
license = lib.licenses.unlicense;
|
|
maintainers = with lib.maintainers; [ happysalada ];
|
|
};
|
|
})
|