nixpkgs/pkgs/development/python-modules/python-string-utils/default.nix
Martin Weinelt 0215034f25 python3.pkgs: Migrate fetchers to use hash
when they already rely on SRI hashes.
2023-03-03 23:59:29 +01:00

27 lines
608 B
Nix

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