mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-02 10:14:09 +00:00
python3Packages.devtools: init at 0.6.1
This commit is contained in:
parent
8743b115bb
commit
f9ffd72d7e
27
pkgs/development/python-modules/devtools/default.nix
Normal file
27
pkgs/development/python-modules/devtools/default.nix
Normal 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;
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user