1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 flit-core,
6 requests,
7 zstandard,
8}:
9buildPythonPackage rec {
10 pname = "conda-package-streaming";
11 version = "0.9.0";
12 pyproject = true;
13
14 src = fetchFromGitHub {
15 owner = "conda";
16 repo = "conda-package-streaming";
17 rev = "v${version}";
18 hash = "sha256-UTql2M+9eFDuHOwLYYKJ751wEcOfLJYzfU6+WF8Je2g=";
19 };
20
21 build-system = [ flit-core ];
22 dependencies = [
23 requests
24 zstandard
25 ];
26
27 pythonImportsCheck = [ "conda_package_streaming" ];
28
29 meta = {
30 description = "An efficient library to read from new and old format .conda and .tar.bz2 conda packages.";
31 homepage = "https://github.com/conda/conda-package-streaming";
32 license = lib.licenses.bsd3;
33 maintainers = [ lib.maintainers.ericthemagician ];
34 };
35}