mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-09 05:57:04 +01:00
46 lines
797 B
Nix
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 = [ ];
|
|
};
|
|
}
|