depot/third_party/nixpkgs/pkgs/development/python-modules/conda-package-streaming/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

35 lines
795 B
Nix

{
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 = {
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 ];
};
}