mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-21 19:44:09 +00:00
commit
e585ae75eb
31
pkgs/development/python-modules/btest/default.nix
Normal file
31
pkgs/development/python-modules/btest/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
42
pkgs/tools/package-management/zkg/default.nix
Normal file
42
pkgs/tools/package-management/zkg/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 {
|
||||
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user