Unverified Commit e585ae75 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

Merge pull request #223421 from fabaff/zkg

zkg: init at 2.13.0
parents e0bcdc18 29d380aa
Loading
Loading
Loading
Loading
+31 −0
Original line number Diff line number Diff line
{ 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 ];
  };
}
+42 −0
Original line number Diff line number Diff line
{ 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 ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -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 {
+2 −0
Original line number Diff line number Diff line
@@ -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 { };