depot/third_party/nixpkgs/pkgs/development/python-modules/inflection/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

23 lines
620 B
Nix

{ lib, fetchPypi, buildPythonPackage, pytest } :
buildPythonPackage rec {
pname = "inflection";
version = "0.3.1";
src = fetchPypi {
inherit pname version;
sha256 = "1jhnxgnw8y3mbzjssixh6qkc7a3afc4fygajhqrqalnilyvpzshq";
};
checkInputs = [ pytest ];
# Suppress overly verbose output if tests run successfully
checkPhase = ''pytest >/dev/null || pytest'';
meta = {
homepage = "https://github.com/jpvanhal/inflection";
description = "A port of Ruby on Rails inflector to Python";
maintainers = with lib.maintainers; [ NikolaMandic ilya-kolpakov ];
license = lib.licenses.mit;
};
}