Merge pull request #223421 from fabaff/zkg

zkg: init at 2.13.0
This commit is contained in:
Fabian Affolter 2023-03-29 08:03:59 +02:00 committed by GitHub
commit e585ae75eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 77 additions and 0 deletions

View File

@ -0,0 +1,31 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
}:
buildPythonPackage rec {
pname = "btest";
version = "1.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "zeek";
repo = "btest";
rev = "refs/tags/v${version}";
hash = "sha256-QvK2MZTx+DD2u+h7dk0F5kInXGVp73ZTvG080WV2BVQ=";
};
# No tests available and no module to import
doCheck = false;
meta = with lib; {
description = "A Generic Driver for Powerful System Tests";
homepage = "https://github.com/zeek/btest";
changelog = "https://github.com/zeek/btest/blob/${version}/CHANGES";
license = licenses.bsd3;
maintainers = with maintainers; [ fab ];
};
}

View File

@ -0,0 +1,42 @@
{ lib
, python3
, fetchFromGitHub
, pkgs
}:
python3.pkgs.buildPythonApplication rec {
pname = "zkg";
version = "2.13.0";
format = "setuptools";
src = fetchFromGitHub {
owner = "zeek";
repo = "package-manager";
rev = "refs/tags/v${version}";
hash = "sha256-kQFm8VlbvJ791Ll8b0iu6xqaxhYTf41jTmvGxLgIzuE=";
};
propagatedBuildInputs = with python3.pkgs; [
btest
gitpython
semantic-version
sphinx
sphinx-rtd-theme
pkgs.bash
];
# No tests available
doCheck = false;
pythonImportsCheck = [
"zeekpkg"
];
meta = with lib; {
description = "Package manager for Zeek";
homepage = "https://github.com/zeek/package-manager";
changelog = "https://github.com/zeek/package-manager/blob/${version}/CHANGES";
license = licenses.ncsa;
maintainers = with maintainers; [ fab ];
};
}

View File

@ -39161,6 +39161,8 @@ with pkgs;
xbps = callPackage ../tools/package-management/xbps { };
zkg = callPackage ../tools/package-management/zkg { };
xcftools = callPackage ../tools/graphics/xcftools { };
xhyve = callPackage ../applications/virtualization/xhyve {

View File

@ -1477,6 +1477,8 @@ self: super: with self; {
btchip-python = callPackage ../development/python-modules/btchip-python { };
btest = callPackage ../development/python-modules/btest { };
bthome-ble = callPackage ../development/python-modules/bthome-ble { };
bt-proximity = callPackage ../development/python-modules/bt-proximity { };