mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-11-28 17:00:33 +00:00
38 lines
885 B
Nix
38 lines
885 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
setuptools,
|
|
unittestCheckHook,
|
|
}:
|
|
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "bahttext";
|
|
version = "1.0.2-unstable-2020-05-31";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "sekz";
|
|
repo = "bahttext";
|
|
rev = "5dc3a6e9056a81cefb199c49ca69f9a7a9fa835b";
|
|
hash = "sha256-q/z64c5Nqq0PbUGBzyODQchTs2bV9ksujCMLB8ZCB/Y=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
nativeCheckInputs = [ unittestCheckHook ];
|
|
|
|
pythonImportsCheck = [ "bahttext" ];
|
|
|
|
# Upstream has no tags and no commits since 2020, so there is nothing to update to
|
|
passthru.updateScript = null;
|
|
|
|
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 ];
|
|
};
|
|
})
|