Merge pull request #129898 from jdahm/add-python3-devtools
This commit is contained in:
commit
6e4cda261b
3 changed files with 36 additions and 0 deletions
|
@ -4823,6 +4823,12 @@
|
|||
githubId = 1383440;
|
||||
name = "Jason Gilliland";
|
||||
};
|
||||
jdahm = {
|
||||
email = "johann.dahm@gmail.com";
|
||||
github = "jdahm";
|
||||
githubId = 68032;
|
||||
name = "Johann Dahm";
|
||||
};
|
||||
jdanek = {
|
||||
email = "jdanek@redhat.com";
|
||||
github = "jdanekrh";
|
||||
|
|
28
pkgs/development/python-modules/devtools/default.nix
Normal file
28
pkgs/development/python-modules/devtools/default.nix
Normal file
|
@ -0,0 +1,28 @@
|
|||
{ 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;
|
||||
maintainers = with maintainers; [ jdahm ];
|
||||
};
|
||||
}
|
|
@ -1914,6 +1914,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 { };
|
||||
|
|
Loading…
Reference in a new issue