Files
nixpkgs/pkgs/development/python-modules/lacuscore/default.nix
T
Alexis Hildebrandt f8c4a98e8e treewide: Remove the definite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"([Tt]he)? ' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Tt]he (.)/\1\U\2/'
2024-06-09 23:08:46 +02:00

65 lines
1.1 KiB
Nix

{
lib,
async-timeout,
buildPythonPackage,
defang,
dnspython,
fetchFromGitHub,
playwrightcapture,
poetry-core,
pythonOlder,
redis,
requests,
pythonRelaxDepsHook,
sphinx,
ua-parser,
}:
buildPythonPackage rec {
pname = "lacuscore";
version = "1.9.5";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "ail-project";
repo = "LacusCore";
rev = "refs/tags/v${version}";
hash = "sha256-PSxNBgehKOWjf6y/RidIegE+P5rg9OzU4p8ZZrXAdq4=";
};
pythonRelaxDeps = [
"redis"
"requests"
];
build-system = [ poetry-core ];
nativeBuildInputs = [ pythonRelaxDepsHook ];
dependencies = [
async-timeout
defang
dnspython
playwrightcapture
redis
requests
sphinx
ua-parser
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [ "lacuscore" ];
meta = with lib; {
description = "Modulable part of Lacus";
homepage = "https://github.com/ail-project/LacusCore";
changelog = "https://github.com/ail-project/LacusCore/releases/tag/v${version}";
license = licenses.bsd3;
maintainers = with maintainers; [ fab ];
};
}