python311Packages.runs: init at 1.2.2

This commit is contained in:
Martin Weinelt
2024-03-12 18:24:26 +01:00
parent e5978e16a1
commit 7f3a55742c
2 changed files with 53 additions and 0 deletions
@@ -0,0 +1,51 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, poetry-core
, xmod
, pytestCheckHook
, tdir
}:
buildPythonPackage rec {
pname = "runs";
version = "1.2.2";
pyproject = true;
src = fetchFromGitHub {
owner = "rec";
repo = "runs";
rev = "v${version}";
hash = "sha256-aEamhXr3C+jYDzQGzcmGFyl5oEtovxlNacFM08y0ZEk=";
};
build-system = [
poetry-core
];
dependencies = [
xmod
];
nativeCheckInputs = [
pytestCheckHook
tdir
];
disabledTests = [
# requires .git directory
"test_many"
];
pythonImportsCheck = [
"runs"
];
meta = with lib; {
description = "Run a block of text as a subprocess";
homepage = "https://github.com/rec/runs";
changelog = "https://github.com/rec/runs/blob/${src.rev}/CHANGELOG";
license = licenses.mit;
maintainers = with maintainers; [ ];
};
}
+2
View File
@@ -13132,6 +13132,8 @@ self: super: with self; {
rules = callPackage ../development/python-modules/rules { };
runs = callPackage ../development/python-modules/runs { };
ruuvitag-ble = callPackage ../development/python-modules/ruuvitag-ble { };
ruyaml = callPackage ../development/python-modules/ruyaml { };