From f9ffd72d7ee1365cdf6d7fdc5463cb8f90484c55 Mon Sep 17 00:00:00 2001 From: Johann Dahm Date: Tue, 13 Jul 2021 22:38:24 -0700 Subject: python3Packages.devtools: init at 0.6.1 --- .../python-modules/devtools/default.nix | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 pkgs/development/python-modules/devtools/default.nix (limited to 'pkgs/development/python-modules/devtools') diff --git a/pkgs/development/python-modules/devtools/default.nix b/pkgs/development/python-modules/devtools/default.nix new file mode 100644 index 0000000000000..29a5234608bdf --- /dev/null +++ b/pkgs/development/python-modules/devtools/default.nix @@ -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; + }; +} -- cgit 1.4.1