python3Packages.devtools: init at 0.6.1

This commit is contained in:
Johann Dahm 2021-07-13 22:38:24 -07:00
parent 8743b115bb
commit f9ffd72d7e
No known key found for this signature in database
GPG key ID: C0767167AA9F7D22
2 changed files with 29 additions and 0 deletions

View file

@ -0,0 +1,27 @@
{ buildPythonPackage, pythonOlder, fetchFromGitHub, lib, pygments
, pytestCheckHook, pytest-mock }:
buildPythonPackage rec {
pname = "devtools";
version = "0.6.1";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "samuelcolvin";
repo = "python-${pname}";
rev = "v${version}";
sha256 = "0s1d2jwijini7y1a3318yhb98mh1mw4pzlfx2zck3a8nqw984ki3";
};
propagatedBuildInputs = [ pygments ];
checkInputs = [ pytestCheckHook pytest-mock ];
pythonImportsCheck = [ "devtools" ];
meta = with lib; {
description = "Python's missing debug print command and other development tools";
homepage = "https://python-devtools.helpmanual.io/";
license = licenses.mit;
};
}

View file

@ -1909,6 +1909,8 @@ in {
devpi-common = callPackage ../development/python-modules/devpi-common { };
devtools = callPackage ../development/python-modules/devtools { };
diagrams = callPackage ../development/python-modules/diagrams { };
diceware = callPackage ../development/python-modules/diceware { };