1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00
nixpkgs/pkgs/by-name/fa/fangfrisch/package.nix
2024-02-22 10:49:18 +00:00

41 lines
923 B
Nix

{ lib
, python3
, fetchFromGitHub
}:
let
version = "1.8.1";
in
python3.pkgs.buildPythonApplication {
pname = "fangfrisch";
inherit version;
pyproject = true;
src = fetchFromGitHub {
owner = "rseichter";
repo = "fangfrisch";
rev = "refs/tags/${version}";
hash = "sha256-j5IUAMDXndLttQZQV3SZXdDka8bKDcwbotY2Nop3izc=";
};
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";
};
}