Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

40 lines
712 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
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 ];
};
}