depot/third_party/nixpkgs/pkgs/development/python-modules/python-string-utils/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

27 lines
633 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "python-string-utils";
version = "1.0.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-3PkGCwPwdkfApgNAjciwP4B/O1SgXG4Z6xRGAlb6wMs=";
};
pythonImportsCheck = ["string_utils"];
# tests are not available in pypi tarball
doCheck = false;
meta = with lib; {
description = "A handy Python library to validate, manipulate and generate strings.";
homepage = "https://github.com/daveoncode/python-string-utils";
license = licenses.mit;
maintainers = with maintainers; [ teto ];
};
}