mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 20:33:21 +00:00
40 lines
834 B
Nix
40 lines
834 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
pytestCheckHook,
|
|
pythonOlder,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "managesieve";
|
|
version = "0.8";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-2CCb6h69H58YT1byj/fkrfzGsMUbr0GHpJLcMpsSE/M=";
|
|
};
|
|
|
|
nativeBuildInputs = [ setuptools ];
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
pythonImportsCheck = [ "managesieve" ];
|
|
|
|
meta = with lib; {
|
|
description = "ManageSieve client library for remotely managing Sieve scripts";
|
|
homepage = "https://managesieve.readthedocs.io/";
|
|
# PSFL for the python module, GPLv3 only for sieveshell
|
|
license = with licenses; [
|
|
gpl3Only
|
|
psfl
|
|
];
|
|
maintainers = with maintainers; [ dadada ];
|
|
mainProgram = "sieveshell";
|
|
};
|
|
}
|