nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at r-updates 45 lines 867 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 6 unittestCheckHook, 7 8 hatchling, 9 10 khanaa, 11}: 12 13buildPythonPackage rec { 14 pname = "wunsen"; 15 version = "0.0.3"; 16 pyproject = true; 17 18 src = fetchFromGitHub { 19 owner = "cakimpei"; 20 repo = "wunsen"; 21 tag = "v${version}"; 22 hash = "sha256-lMEhtcWG+S3vAz+Y/qDxhaZslsO0pbs5xUn5QgZNs2U="; 23 }; 24 25 build-system = [ hatchling ]; 26 27 dependencies = [ khanaa ]; 28 29 nativeCheckInputs = [ unittestCheckHook ]; 30 31 unittestFlagsArray = [ 32 "-s" 33 "tests" 34 ]; 35 36 pythonImportsCheck = [ "wunsen" ]; 37 38 meta = { 39 description = "Transliterate/transcribe other languages into Thai Topics"; 40 homepage = "https://github.com/cakimpei/wunsen"; 41 changelog = "https://github.com/cakimpei/wunsen/releases/tag/v${version}"; 42 license = lib.licenses.mit; 43 maintainers = with lib.maintainers; [ vizid ]; 44 }; 45}