depot/third_party/nixpkgs/pkgs/development/python-modules/python-string-utils/default.nix
Default email 9405df4a82 Project import generated by Copybara.
GitOrigin-RevId: 8e4fe32876ca15e3d5eb3ecd3ca0b224417f5f17
2021-04-26 15:14:03 -04:00

27 lines
619 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pytest
}:
buildPythonPackage rec {
pname = "python-string-utils";
version = "1.0.0";
src = fetchPypi {
inherit pname version;
sha256 = "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 ];
};
}