depot/third_party/nixpkgs/pkgs/development/python-modules/enrich/default.nix
Default email bba55970ba Project import generated by Copybara.
GitOrigin-RevId: 3d1a7716d7f1fccbd7d30ab3b2ed3db831f43bde
2021-04-05 17:23:46 +02:00

26 lines
695 B
Nix

{ lib, buildPythonPackage, fetchPypi, pytestCheckHook, setuptools-scm, rich, pytest-mock }:
buildPythonPackage rec {
pname = "enrich";
version = "1.2.6";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-Dpn/V9h/e13vDKeZF+iPuTUaoNUuIo7ji/982FgxX+Q=";
};
buildInputs = [ setuptools-scm ];
propagatedBuildInputs = [ rich ];
checkInputs = [ pytestCheckHook pytest-mock ];
pythonImportsCheck = [ "enrich" ];
meta = with lib; {
description = "Enrich adds few missing features to the wonderful rich library";
homepage = "https://github.com/pycontribs/enrich";
license = licenses.mit;
maintainers = with maintainers; [ SuperSandro2000 ];
};
}