2024-05-15 15:35:15 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchFromGitHub,
|
|
|
|
flit-core,
|
|
|
|
requests,
|
|
|
|
zstandard,
|
|
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "conda-package-streaming";
|
|
|
|
version = "0.9.0";
|
|
|
|
pyproject = true;
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "conda";
|
|
|
|
repo = "conda-package-streaming";
|
|
|
|
rev = "v${version}";
|
|
|
|
hash = "sha256-UTql2M+9eFDuHOwLYYKJ751wEcOfLJYzfU6+WF8Je2g=";
|
|
|
|
};
|
|
|
|
|
|
|
|
build-system = [ flit-core ];
|
|
|
|
dependencies = [
|
|
|
|
requests
|
|
|
|
zstandard
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "conda_package_streaming" ];
|
|
|
|
|
|
|
|
meta = {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Efficient library to read from new and old format .conda and .tar.bz2 conda packages";
|
2024-05-15 15:35:15 +00:00
|
|
|
homepage = "https://github.com/conda/conda-package-streaming";
|
|
|
|
license = lib.licenses.bsd3;
|
|
|
|
maintainers = [ lib.maintainers.ericthemagician ];
|
|
|
|
};
|
|
|
|
}
|