From b929d94a7521d490bd6092e5f9ec34fe4c22b997 Mon Sep 17 00:00:00 2001 From: Matthieu Coudron Date: Fri, 16 Apr 2021 14:50:31 +0200 Subject: python3Packages.python-string-utils: init at 1.0.0 --- .../python-modules/python-string-utils/default.nix | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 pkgs/development/python-modules/python-string-utils/default.nix (limited to 'pkgs/development/python-modules/python-string-utils') diff --git a/pkgs/development/python-modules/python-string-utils/default.nix b/pkgs/development/python-modules/python-string-utils/default.nix new file mode 100644 index 000000000000..d8d1b136fb3e --- /dev/null +++ b/pkgs/development/python-modules/python-string-utils/default.nix @@ -0,0 +1,27 @@ +{ 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 ]; + }; +} -- cgit v1.2.3