at master 668 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 hatchling, 6 mslex, 7}: 8 9buildPythonPackage rec { 10 pname = "oslex"; 11 version = "0.1.3"; 12 pyproject = true; 13 14 src = fetchFromGitHub { 15 owner = "petamas"; 16 repo = "oslex"; 17 tag = "release/v${version}"; 18 hash = "sha256-OcmBtxGS1Cq2kEcxF0Il62LUGbAAcG4lieokr/nK2/4="; 19 }; 20 21 build-system = [ 22 hatchling 23 ]; 24 25 dependencies = [ 26 mslex 27 ]; 28 29 pythonImportsCheck = [ 30 "oslex" 31 ]; 32 33 meta = { 34 description = "OS-independent wrapper for shlex and mslex"; 35 homepage = "https://github.com/petamas/oslex"; 36 license = lib.licenses.mit; 37 maintainers = with lib.maintainers; [ yzx9 ]; 38 }; 39}