2023-11-21 08:36:26 +00:00
|
|
|
{ lib
|
|
|
|
, python3
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
let
|
2024-03-09 03:33:20 +00:00
|
|
|
version = "1.9.0";
|
2023-11-21 08:36:26 +00:00
|
|
|
in
|
|
|
|
python3.pkgs.buildPythonApplication {
|
|
|
|
pname = "fangfrisch";
|
|
|
|
inherit version;
|
|
|
|
pyproject = true;
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "rseichter";
|
|
|
|
repo = "fangfrisch";
|
2024-02-04 19:40:39 +00:00
|
|
|
rev = "refs/tags/${version}";
|
2024-03-09 03:33:20 +00:00
|
|
|
hash = "sha256-B2fVXVYzrtWMh/WjgFBOqrq8Jt+jqudbtpY/w4rJG08=";
|
2023-11-21 08:36:26 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
python3.pkgs.setuptools
|
|
|
|
python3.pkgs.wheel
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = with python3.pkgs; [
|
|
|
|
requests
|
|
|
|
sqlalchemy
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "fangfrisch" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Update and verify unofficial Clam Anti-Virus signatures";
|
|
|
|
homepage = "https://github.com/rseichter/fangfrisch";
|
|
|
|
changelog = "https://github.com/rseichter/fangfrisch/blob/${version}/CHANGELOG.rst";
|
|
|
|
license = licenses.gpl3Only;
|
|
|
|
maintainers = with maintainers; [ happysalada ];
|
|
|
|
mainProgram = "fangfrisch";
|
|
|
|
};
|
|
|
|
}
|