depot/third_party/nixpkgs/pkgs/development/python-modules/conda-package-handling/default.nix

31 lines
766 B
Nix
Raw Normal View History

{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
conda-package-streaming,
}:
buildPythonPackage rec {
pname = "conda-package-handling";
version = "2.4.0";
src = fetchFromGitHub {
owner = "conda";
repo = "conda-package-handling";
rev = "refs/tags/${version}";
hash = "sha256-AvuxHl3gUH7zIyMhZGeXqpMy0rJ99wj1/SrdTvlaX9A=";
};
pyproject = true;
build-system = [ setuptools ];
dependencies = [ conda-package-streaming ];
pythonImportsCheck = [ "conda_package_handling" ];
meta = {
description = "Create and extract conda packages of various formats";
homepage = "https://github.com/conda/conda-package-handling";
license = lib.licenses.bsd3;
maintainers = [ lib.maintainers.ericthemagician ];
};
}