Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
40 lines
923 B
Nix
40 lines
923 B
Nix
{ lib
|
|
, python3
|
|
, fetchFromGitHub
|
|
}:
|
|
let
|
|
version = "1.9.0";
|
|
in
|
|
python3.pkgs.buildPythonApplication {
|
|
pname = "fangfrisch";
|
|
inherit version;
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "rseichter";
|
|
repo = "fangfrisch";
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-B2fVXVYzrtWMh/WjgFBOqrq8Jt+jqudbtpY/w4rJG08=";
|
|
};
|
|
|
|
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";
|
|
};
|
|
}
|