Commit 7353431c authored by Markus Hauck's avatar Markus Hauck
Browse files

visidata: 2.11.1 -> 3.0

parent b736a8a8
Loading
Loading
Loading
Loading
+8 −2
Original line number Diff line number Diff line
@@ -45,13 +45,13 @@
}:
buildPythonApplication rec {
  pname = "visidata";
  version = "2.11.1";
  version = "3.0";

  src = fetchFromGitHub {
    owner = "saulpw";
    repo = "visidata";
    rev = "v${version}";
    hash = "sha256-A8iYFdW30Em5pjGn3DRpaV0A7ixwfSzmIp8AgtPkBCI=";
    hash = "sha256-LALWQu7BgMbAEyOXUE3p6bXhdx8h6jPEvjs/TEtf/wU==";
  };

  propagatedBuildInputs = [
@@ -70,6 +70,7 @@ buildPythonApplication rec {
    pyshp
    #mapbox-vector-tile
    pypng
    #pyconll
    fonttools
    #sas7bdat
    #xport
@@ -114,11 +115,16 @@ buildPythonApplication rec {

  checkPhase = ''
    runHook preCheck

    # disable some tests which require access to the network
    rm -f tests/load-http.vd            # http
    rm -f tests/graph-cursor-nosave.vd  # http
    rm -f tests/messenger-nosave.vd     # dns

    # tests to disable because we don't have a package to load such files
    rm -f tests/load-conllu.vdj         # no 'pyconll'
    rm -f tests/load-sav.vd             # no 'savReaderWriter'

    # tests use git to compare outputs to references
    git init -b "test-reference"
    git config user.name "nobody"