depot/third_party/nixpkgs/pkgs/development/python-modules/enrich/default.nix
Default email 14910f5943 Project import generated by Copybara.
GitOrigin-RevId: 5aaed40d22f0d9376330b6fa413223435ad6fee5
2022-01-13 15:06:32 -05:00

26 lines
708 B
Nix

{ lib, buildPythonPackage, fetchPypi, pytestCheckHook, setuptools-scm, rich, pytest-mock }:
buildPythonPackage rec {
pname = "enrich";
version = "1.2.7";
src = fetchPypi {
inherit pname version;
sha256 = "0a2ab0d2931dff8947012602d1234d2a3ee002d9a355b5d70be6bf5466008893";
};
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 ];
};
}