depot/third_party/nixpkgs/pkgs/development/python-modules/conda-package-streaming/default.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

35 lines
806 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
flit-core,
requests,
zstandard,
}:
buildPythonPackage rec {
pname = "conda-package-streaming";
version = "0.10.0";
pyproject = true;
src = fetchFromGitHub {
owner = "conda";
repo = "conda-package-streaming";
rev = "refs/tags/v${version}";
hash = "sha256-3TSjVISnUTReyKtt58RXCD30VodhiDDfJssM3PkP5Yk=";
};
build-system = [ flit-core ];
dependencies = [
requests
zstandard
];
pythonImportsCheck = [ "conda_package_streaming" ];
meta = {
description = "Efficient library to read from new and old format .conda and .tar.bz2 conda packages";
homepage = "https://github.com/conda/conda-package-streaming";
license = lib.licenses.bsd3;
maintainers = [ lib.maintainers.ericthemagician ];
};
}