nixpkgs/pkgs/development/python-modules/managesieve/default.nix

31 lines
659 B
Nix
Raw Normal View History

2019-10-16 23:50:49 -07:00
{ lib
, buildPythonPackage
, fetchPypi
, pytestrunner
, pytest
}:
buildPythonPackage rec {
pname = "managesieve";
2021-03-05 11:23:03 -08:00
version = "0.7";
2019-10-16 23:50:49 -07:00
src = fetchPypi {
inherit pname version;
2021-03-05 11:23:03 -08:00
sha256 = "1dx0j8hhjwip1ackaj2m4hqrrx2iiv846ic4wa6ymrawwb8iq8m6";
2019-10-16 23:50:49 -07:00
};
checkInputs = [ pytestrunner pytest ];
2021-03-05 11:23:03 -08:00
checkPhase = ''
pytest
'';
2019-10-16 23:50:49 -07:00
meta = with lib; {
description = "ManageSieve client library for remotely managing Sieve scripts";
2021-03-05 11:23:03 -08:00
homepage = "https://managesieve.readthedocs.io/";
# PSFL for the python module, GPLv3 only for sieveshell
license = with licenses; [ gpl3Only psfl ];
2019-10-16 23:50:49 -07:00
maintainers = with maintainers; [ dadada ];
};
}