mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 18:03:04 +00:00
66f561c0f2
Diff: https://github.com/zeek/package-manager/compare/refs/tags/v2.13.0...v2.14.0 Changelog: https://github.com/zeek/package-manager/blob/2.14.0/CHANGES
43 lines
856 B
Nix
43 lines
856 B
Nix
{ lib
|
|
, python3
|
|
, fetchFromGitHub
|
|
, pkgs
|
|
}:
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
pname = "zkg";
|
|
version = "2.14.0";
|
|
format = "setuptools";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "zeek";
|
|
repo = "package-manager";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-HdOzxSU3XWz1ZH96woDWrHzKbpJW3/IKkpc2tGfyi9o=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|