3
0
Fork 0
forked from mirrors/nixpkgs

lookatme: remove

This commit is contained in:
Armeen Mahdian 2022-04-24 19:04:41 -05:00
parent 90e5818ef6
commit c83d28b8b4
2 changed files with 0 additions and 69 deletions

View file

@ -1,67 +0,0 @@
{ lib, python3, fetchFromGitHub }:
let
py = python3.override {
packageOverrides = self: super: {
self = py;
# use click 7
click = self.callPackage ../../../development/python2-modules/click/default.nix { };
# needs pyyaml 5
pyyaml = super.pyyaml.overridePythonAttrs (oldAttrs: rec {
name = "${oldAttrs.pname}-${version}";
version = "5.4.1";
src = fetchFromGitHub {
owner = "yaml";
repo = "pyyaml";
rev = version;
sha256 = "sha256-VUqnlOF/8zSOqh6JoEYOsfQ0P4g+eYqxyFTywgCS7gM=";
};
checkPhase = ''
runHook preCheck
PYTHONPATH="tests/lib3:$PYTHONPATH" ${self.python.interpreter} -m test_all
runHook postCheck
'';
});
};
};
in
with py.pkgs;
buildPythonApplication rec {
pname = "lookatme";
version = "2.3.2";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-qIZMkgOm5jXmxTFLTqMBhpLBhfCL8xvUxxqpS6NjcVw=";
};
checkInputs = [
pytest-mock
pytestCheckHook
six
];
disabledTests = [
# https://github.com/d0c-s4vage/lookatme/issues/126
"test_sanity_check_that_errors_are_detected"
"test_styles_defaults"
];
propagatedBuildInputs = [
click
pyyaml
pygments
marshmallow
mistune
urwid
];
meta = with lib; {
description = "An interactive, terminal-based markdown presenter";
homepage = "https://github.com/d0c-s4vage/lookatme";
license = licenses.mit;
maintainers = with maintainers; [ ameer ];
};
}

View file

@ -27690,8 +27690,6 @@ with pkgs;
inherit (luajitPackages) luafilesystem;
};
lookatme = callPackage ../tools/misc/lookatme {};
looking-glass-client = callPackage ../applications/virtualization/looking-glass-client { };
ltc-tools = callPackage ../applications/audio/ltc-tools { };