1{
2 buildPythonPackage,
3 fetchFromGitHub,
4 setuptools,
5 pytestCheckHook,
6 lib,
7}:
8buildPythonPackage rec {
9 pname = "essentials";
10 version = "1.1.5";
11 pyproject = true;
12
13 src = fetchFromGitHub {
14 owner = "Neoteroi";
15 repo = "essentials";
16 rev = "v${version}";
17 hash = "sha256-WMHjBVkeSoQ4Naj1U7Bg9j2hcoErH1dx00BPKiom9T4=";
18 };
19
20 nativeBuildInputs = [ setuptools ];
21
22 nativeCheckInputs = [ pytestCheckHook ];
23
24 pythonImportsCheck = [ "essentials" ];
25
26 meta = with lib; {
27 homepage = "https://github.com/Neoteroi/essentials";
28 description = "General purpose classes and functions";
29 changelog = "https://github.com/Neoteroi/essentials/releases/v${version}";
30 license = licenses.mit;
31 maintainers = with maintainers; [
32 aldoborrero
33 zimbatm
34 ];
35 };
36}