nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 34 lines 737 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 flit-core, 6 pytestCheckHook, 7}: 8 9buildPythonPackage rec { 10 pname = "idna"; 11 version = "3.11"; 12 pyproject = true; 13 14 src = fetchFromGitHub { 15 owner = "kjd"; 16 repo = "idna"; 17 tag = "v${version}"; 18 hash = "sha256-4mnWOit+lrZnVslVyfalt6lv7qSYpLlyvET553SplJU="; 19 }; 20 21 build-system = [ flit-core ]; 22 23 pythonImportsCheck = [ "idna" ]; 24 25 nativeCheckInputs = [ pytestCheckHook ]; 26 27 meta = { 28 homepage = "https://github.com/kjd/idna/"; 29 changelog = "https://github.com/kjd/idna/releases/tag/${src.tag}"; 30 description = "Internationalized Domain Names in Applications (IDNA)"; 31 license = lib.licenses.bsd3; 32 maintainers = [ lib.maintainers.dotlambda ]; 33 }; 34}