Unverified Commit 0770a4b3 authored by Zexin Yuan's avatar Zexin Yuan
Browse files

python3Packages.mslex: init at 1.3.0

parent 6a0960ad
Loading
Loading
Loading
Loading
+39 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  setuptools,
  pytest,
}:

buildPythonPackage rec {
  pname = "mslex";
  version = "1.3.0";
  pyproject = true; # fallback to setup.py if pyproject.toml is not present

  src = fetchFromGitHub {
    owner = "smoofra";
    repo = "mslex";
    tag = "v${version}";
    hash = "sha256-vr36OTCTJFZRXlkeGgN4UOlH+6uAkMvqTEO9qL8X98w=";
  };

  build-system = [
    setuptools
  ];

  pythonImportsCheck = [
    "mslex"
  ];

  nativeCheckInputs = [
    pytest
  ];

  meta = {
    description = "Like shlex, but for windows";
    homepage = "https://github.com/smoofra/mslex";
    license = lib.licenses.asl20;
    maintainers = with lib.maintainers; [ yzx9 ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -9189,6 +9189,8 @@ self: super: with self; {
  msldap = callPackage ../development/python-modules/msldap { };
  mslex = callPackage ../development/python-modules/mslex { };
  msmart-ng = callPackage ../development/python-modules/msmart-ng { };
  msoffcrypto-tool = callPackage ../development/python-modules/msoffcrypto-tool { };