nixpkgs/pkgs/development/python-modules/coreapi/default.nix
2026-01-07 04:23:53 -08:00

46 lines
797 B
Nix

{
lib,
fetchFromGitHub,
buildPythonPackage,
setuptools,
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 ];
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 = [ ];
};
}