mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 08:04:14 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
34 lines
773 B
Nix
34 lines
773 B
Nix
{
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
flit-core,
|
|
lib,
|
|
pytestCheckHook,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "esper";
|
|
version = "3.3";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "benmoran56";
|
|
repo = "esper";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-DZAF2B40ulSn2MQadklT32Svcm1j0e/hIxrxISO07TI=";
|
|
};
|
|
|
|
build-system = [ flit-core ];
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
pythonImportsCheck = [ "esper" ];
|
|
|
|
meta = {
|
|
description = "ECS (Entity Component System) for Python";
|
|
homepage = "https://github.com/benmoran56/esper";
|
|
changelog = "https://github.com/benmoran56/esper/blob/${src.rev}/RELEASE_NOTES";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ sigmanificient ];
|
|
};
|
|
}
|