mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-30 16:10:36 +00:00
29 lines
644 B
Nix
29 lines
644 B
Nix
{
|
|
lib,
|
|
fetchPypi,
|
|
buildPythonPackage,
|
|
pytest,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "inflection";
|
|
version = "0.5.1";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-GilzDTZumWqqz/svHxy5WT3Dji3dMMkSUMbd4J6ptBc=";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|