about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/python-string-utils/default.nix
blob: 1185959f0c6f582f21de8cb6e088077331ef9a1d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ lib
, buildPythonPackage
, fetchPypi
}:

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 ];
  };
}