depot/third_party/nixpkgs/pkgs/tools/package-management/zkg/default.nix
Default email ed0c4a69f0 Project import generated by Copybara.
GitOrigin-RevId: e3652e0735fbec227f342712f180f4f21f0594f2
2023-03-31 00:05:00 +02:00

42 lines
856 B
Nix

{ 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 ];
};
}