mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-01 02:23:54 +00:00
5356420466
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \ -e 's!with lib.maintainers; \[ *\];![ ];!' \ -e 's!with maintainers; \[ *\];![ ];!'
42 lines
798 B
Nix
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 = [ ];
|
|
};
|
|
}
|