blob: ed8cc71addac6b8709ec1ea26a71e14b7af7b2e8 (
plain)
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
27
28
29
30
|
{
lib,
fetchPypi,
buildPythonPackage,
isPy27,
pytest,
}:
buildPythonPackage rec {
pname = "inflection";
version = "0.5.1";
format = "setuptools";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "1a29730d366e996aaacffb2f1f1cb9593dc38e2ddd30c91250c6dde09ea9b417";
};
nativeCheckInputs = [ pytest ];
# Suppress overly verbose output if tests run successfully
checkPhase = "pytest >/dev/null || pytest";
meta = {
homepage = "https://github.com/jpvanhal/inflection";
description = "Port of Ruby on Rails inflector to Python";
maintainers = with lib.maintainers; [ ilya-kolpakov ];
license = lib.licenses.mit;
};
}
|