Merge pull request #323846 from h7x4/pkgs-init-python-dohq-artifactory
python3Packages.dohq-artifactory: init at 0.10.0
This commit is contained in:
commit
de7452d3fb
57
pkgs/development/python-modules/dohq-artifactory/default.nix
Normal file
57
pkgs/development/python-modules/dohq-artifactory/default.nix
Normal file
@ -0,0 +1,57 @@
|
||||
{
|
||||
lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pythonAtLeast
|
||||
, setuptools
|
||||
, requests
|
||||
, python-dateutil
|
||||
, pyjwt
|
||||
, pytestCheckHook
|
||||
, responses
|
||||
, nix-update-script
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "dohq-artifactory";
|
||||
version = "0.10.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "devopshq";
|
||||
repo = "artifactory";
|
||||
rev = version;
|
||||
hash = "sha256-gccVwshGBgbhTSX4o0vANIRct1isqDj+gWeZZxExj9Q=";
|
||||
};
|
||||
|
||||
# https://github.com/devopshq/artifactory/issues/430
|
||||
disabled = pythonAtLeast "3.12";
|
||||
|
||||
pyproject = true;
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
requests
|
||||
python-dateutil
|
||||
pyjwt
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "artifactory" ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
responses
|
||||
];
|
||||
|
||||
pytestFlagsArray = [ "tests/unit" ];
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python interface library for JFrog Artifactory";
|
||||
homepage = "https://devopshq.github.io/artifactory/";
|
||||
changelog = "https://github.com/devopshq/artifactory/releases/tag/${version}";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ h7x4 ];
|
||||
};
|
||||
}
|
@ -3559,6 +3559,8 @@ self: super: with self; {
|
||||
|
||||
dogtail = callPackage ../development/python-modules/dogtail { };
|
||||
|
||||
dohq-artifactory = callPackage ../development/python-modules/dohq-artifactory { };
|
||||
|
||||
doit = callPackage ../development/python-modules/doit { };
|
||||
|
||||
doit-py = callPackage ../development/python-modules/doit-py { };
|
||||
|
Loading…
Reference in New Issue
Block a user