mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-26 02:05:02 +00:00
Thai Baht number-to-text helper used by formulas BAHTTEXT. No release tags; track master with unstableGitUpdater. Assisted-by: Grok Build (xAI Grok 4.6)
39 lines
868 B
Nix
39 lines
868 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
setuptools,
|
|
unittestCheckHook,
|
|
unstableGitUpdater,
|
|
}:
|
|
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "bahttext";
|
|
version = "1.0.2-unstable-2020-05-31";
|
|
pyproject = true;
|
|
__structuredAttrs = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "sekz";
|
|
repo = "bahttext";
|
|
rev = "5dc3a6e9056a81cefb199c49ca69f9a7a9fa835b";
|
|
hash = "sha256-q/z64c5Nqq0PbUGBzyODQchTs2bV9ksujCMLB8ZCB/Y=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
nativeCheckInputs = [ unittestCheckHook ];
|
|
|
|
pythonImportsCheck = [ "bahttext" ];
|
|
|
|
passthru.updateScript = unstableGitUpdater { };
|
|
|
|
meta = {
|
|
description = "Convert currency numbers to Thai Baht text";
|
|
homepage = "https://github.com/sekz/bahttext";
|
|
license = lib.licenses.bsd3;
|
|
maintainers = [ lib.maintainers.lucasew ];
|
|
teams = [ lib.teams.ngi ];
|
|
};
|
|
})
|