Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152{ lib, stdenv, buildPythonPackage, fetchFromGitHub,
# build-system setuptools,
# tests pytestCheckHook, pyinstaller, busybox,}:
buildPythonPackage (finalAttrs: { pname = "isocodes"; version = "2026.9.2"; pyproject = true; __structuredAttrs = true;
src = fetchFromGitHub { owner = "Atem18"; repo = "isocodes"; tag = finalAttrs.version; hash = "sha256-/B4DjJHgqmQZQTcHfd92zGBCtM2Vlg0sepBkObDuIj8="; };
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 ]; };})