Unverified Commit 066b2a31 authored by Zexin Yuan's avatar Zexin Yuan
Browse files

python3Packages.oslex: init at 0.1.3

parent 0770a4b3
Loading
Loading
Loading
Loading
+39 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  hatchling,
  mslex,
}:

buildPythonPackage rec {
  pname = "oslex";
  version = "0.1.3";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "petamas";
    repo = "oslex";
    tag = "release/v${version}";
    hash = "sha256-OcmBtxGS1Cq2kEcxF0Il62LUGbAAcG4lieokr/nK2/4=";
  };

  build-system = [
    hatchling
  ];

  dependencies = [
    mslex
  ];

  pythonImportsCheck = [
    "oslex"
  ];

  meta = {
    description = "OS-independent wrapper for shlex and mslex";
    homepage = "https://github.com/petamas/oslex";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ yzx9 ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -10613,6 +10613,8 @@ self: super: with self; {
  oset = callPackage ../development/python-modules/oset { };
  oslex = callPackage ../development/python-modules/oslex { };
  oslo-concurrency = callPackage ../development/python-modules/oslo-concurrency { };
  oslo-config = callPackage ../development/python-modules/oslo-config { };