mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-09-11 15:08:33 +01:00
python310Packages.cmd2-ext-test: init at 2.0.0
This commit is contained in:
parent
228db2134f
commit
3fb3639de5
44
pkgs/development/python-modules/cmd2-ext-test/default.nix
Normal file
44
pkgs/development/python-modules/cmd2-ext-test/default.nix
Normal file
|
@ -0,0 +1,44 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, cmd2
|
||||
, fetchPypi
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, setuptools-scm
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cmd2-ext-test";
|
||||
version = "2.0.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-uTc+onurLilwQe0trESR3JGa5WFT1fCt3rRA7rhRpaY=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools-scm
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
cmd2
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"cmd2_ext_test"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Plugin supports testing of a cmd2 application";
|
||||
homepage = "https://github.com/python-cmd2/cmd2/tree/master/plugins/ext_test";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
|
@ -1893,6 +1893,8 @@ self: super: with self; {
|
|||
|
||||
cmd2 = callPackage ../development/python-modules/cmd2 { };
|
||||
|
||||
cmd2-ext-test = callPackage ../development/python-modules/cmd2-ext-test { };
|
||||
|
||||
cmdline = callPackage ../development/python-modules/cmdline { };
|
||||
|
||||
cmigemo = callPackage ../development/python-modules/cmigemo {
|
||||
|
|
Loading…
Reference in a new issue