nixpkgs/pkgs/development/python-modules/coreapi/default.nix
2026-05-30 03:53:14 +02:00

46 lines
803 B
Nix

{
lib,
fetchFromGitHub,
buildPythonPackage,
setuptools_80,
django,
coreschema,
itypes,
uritemplate,
requests,
standard-cgi,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "coreapi";
version = "2.3.3";
pyproject = true;
src = fetchFromGitHub {
repo = "python-client";
owner = "core-api";
tag = version;
hash = "sha256-nNUzQbBaT7woI3fmvPvIM0SVDnt4iC2rQ9bDgUeFzLA=";
};
build-system = [ setuptools_80 ];
dependencies = [
django
coreschema
itypes
uritemplate
requests
standard-cgi
];
nativeCheckInputs = [ pytestCheckHook ];
meta = {
description = "Python client library for Core API";
homepage = "https://github.com/core-api/python-client";
license = lib.licenses.bsd3;
maintainers = [ ];
};
}