python3Packages.isocodes: init at 2025.8.25
This commit is contained in:
@@ -0,0 +1,51 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
|
||||
# build-system
|
||||
setuptools,
|
||||
|
||||
# tests
|
||||
pytestCheckHook,
|
||||
pyinstaller,
|
||||
busybox,
|
||||
}:
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "isocodes";
|
||||
version = "2025.8.25";
|
||||
pyproject = true;
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Atem18";
|
||||
repo = "isocodes";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-rGARvUNaTZ8/CuQ2vhPRx4whYty8lJLSE+5AZTS3eQw=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pyinstaller
|
||||
pytestCheckHook
|
||||
]
|
||||
++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
busybox
|
||||
];
|
||||
pythonImportsCheck = [ "isocodes" ];
|
||||
|
||||
meta = {
|
||||
description = "This project provides lists of various ISO standards (e.g. country, language, language scripts, and currency names) in one place";
|
||||
homepage = "https://github.com/Atem18/isocodes";
|
||||
changelog = "https://github.com/Atem18/isocodes/releases/tag/${finalAttrs.src.tag}";
|
||||
license = lib.licenses.lgpl21Only;
|
||||
maintainers = with lib.maintainers; [
|
||||
gigahawk
|
||||
];
|
||||
};
|
||||
})
|
||||
@@ -7797,6 +7797,8 @@ self: super: with self; {
|
||||
|
||||
iso8601 = callPackage ../development/python-modules/iso8601 { };
|
||||
|
||||
isocodes = callPackage ../development/python-modules/isocodes { };
|
||||
|
||||
isodate = callPackage ../development/python-modules/isodate { };
|
||||
|
||||
isoduration = callPackage ../development/python-modules/isoduration { };
|
||||
|
||||
Reference in New Issue
Block a user