python311Packages.trailrunner: init at 1.4.0

This commit is contained in:
Fabian Affolter
2023-06-25 22:01:42 +02:00
parent db10672572
commit fe0f512806
2 changed files with 49 additions and 0 deletions
@@ -0,0 +1,47 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, flit-core
, pathspec
, pythonOlder
, unittestCheckHook
}:
buildPythonPackage rec {
pname = "trailrunner";
version = "1.4.0";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "omnilib";
repo = "trailrunner";
rev = "refs/tags/v${version}";
hash = "sha256-qtEBr22yyj6WcSfyYr/4r0IuuMJ6chFFqnmb+uMfQPA=";
};
nativeBuildInputs = [
flit-core
];
propagatedBuildInputs = [
pathspec
];
nativeCheckInputs = [
unittestCheckHook
];
pythonImportsCheck = [
"trailrunner"
];
meta = with lib; {
description = "Module to walk paths and run things";
homepage = "https://github.com/omnilib/trailrunner";
changelog = "https://github.com/omnilib/trailrunner/blob/${version}/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}
+2
View File
@@ -12436,6 +12436,8 @@ self: super: with self; {
trackpy = callPackage ../development/python-modules/trackpy { };
trailrunner = callPackage ../development/python-modules/trailrunner {};
trainer = callPackage ../development/python-modules/trainer {};
traitlets = callPackage ../development/python-modules/traitlets { };