c7cb07f092
GitOrigin-RevId: 1536926ef5621b09bba54035ae2bb6d806d72ac8
38 lines
822 B
Nix
38 lines
822 B
Nix
{
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
setuptools,
|
|
pytestCheckHook,
|
|
pythonImportsCheckHook,
|
|
lib,
|
|
}:
|
|
buildPythonPackage rec {
|
|
pname = "essentials";
|
|
version = "1.1.5";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Neoteroi";
|
|
repo = "essentials";
|
|
rev = "v${version}";
|
|
hash = "sha256-WMHjBVkeSoQ4Naj1U7Bg9j2hcoErH1dx00BPKiom9T4=";
|
|
};
|
|
|
|
nativeBuildInputs = [ setuptools ];
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"essentials"
|
|
];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/Neoteroi/essentials";
|
|
description = "General purpose classes and functions";
|
|
changelog = "https://github.com/Neoteroi/essentials/releases/v${version}";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [aldoborrero zimbatm];
|
|
};
|
|
}
|