nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib, buildPythonPackage, fetchPypi, pytestCheckHook, setuptools-scm, rich, pytest-mock }:
2
3buildPythonPackage rec {
4 pname = "enrich";
5 version = "1.2.7";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "0a2ab0d2931dff8947012602d1234d2a3ee002d9a355b5d70be6bf5466008893";
10 };
11
12 buildInputs = [ setuptools-scm ];
13
14 propagatedBuildInputs = [ rich ];
15
16 checkInputs = [ pytestCheckHook pytest-mock ];
17
18 pythonImportsCheck = [ "enrich" ];
19
20 meta = with lib; {
21 description = "Enrich adds few missing features to the wonderful rich library";
22 homepage = "https://github.com/pycontribs/enrich";
23 license = licenses.mit;
24 maintainers = with maintainers; [ SuperSandro2000 ];
25 };
26}