nixpkgs/pkgs/development/python-modules/smpplib/default.nix
Jörg Thalheim 5356420466 treewide: remove unused with statements from maintainer lists
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \
  -e 's!with lib.maintainers; \[ *\];![ ];!' \
  -e 's!with maintainers; \[ *\];![ ];!'
2024-07-29 10:06:20 +08:00

42 lines
798 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
python,
six,
mock,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "smpplib";
version = "2.2.3";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-UhWpWwU40m8YlgDgmCsx2oKB90U81uKGLFsh4+EAIzE=";
};
propagatedBuildInputs = [ six ];
nativeCheckInputs = [
mock
pytestCheckHook
];
postInstall = ''
rm -rf $out/${python.sitePackages}/tests
'';
pythonImportsCheck = [ "smpplib" ];
meta = with lib; {
description = "SMPP library for Python";
homepage = "https://github.com/python-smpplib/python-smpplib";
changelog = "https://github.com/python-smpplib/python-smpplib/releases/tag/${version}";
license = licenses.lgpl3Plus;
maintainers = [ ];
};
}