mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 03:34:58 +00:00
29 lines
763 B
Nix
29 lines
763 B
Nix
{ buildPythonPackage, pythonOlder, fetchFromGitHub, lib, pygments
|
|
, pytestCheckHook, pytest-mock }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "devtools";
|
|
version = "0.8.0";
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "samuelcolvin";
|
|
repo = "python-${pname}";
|
|
rev = "v${version}";
|
|
sha256 = "0yavcbxzxi1nfa1k326gsl03y8sadi5z5acamwd8b1bsiv15p757";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|