package OutputCheck

This commit is contained in:
Sebastien Bourdeauducq 2019-02-21 22:32:43 +08:00
parent 38b5f427d9
commit f03d5d52b9
2 changed files with 21 additions and 2 deletions

View File

@ -32,7 +32,7 @@ let
in
rec {
inherit (rust) rustc;
inherit (pythonDeps) asyncserial levenshtein pythonparser quamash pyqtgraph-qt5 misoc migen microscope jesd204b sphinx-argparse wavedrom sphinxcontrib-wavedrom;
inherit (pythonDeps) asyncserial levenshtein pythonparser quamash pyqtgraph-qt5 misoc migen microscope jesd204b outputcheck sphinx-argparse wavedrom sphinxcontrib-wavedrom;
binutils-or1k = callPackage ./pkgs/binutils-or1k.nix {};
llvm-or1k = callPackage ./pkgs/llvm-or1k.nix { inherit llvm-src; };
llvmlite-artiq = callPackage ./pkgs/llvmlite-artiq.nix { inherit llvm-or1k; };

View File

@ -1,4 +1,4 @@
{ pkgs, stdenv, fetchFromGitHub, python, python3Packages }:
{ pkgs, stdenv, fetchFromGitHub, python, python2Packages, python3Packages }:
rec {
# User dependencies
@ -150,6 +150,25 @@ rec {
};
};
outputcheck = python2Packages.buildPythonApplication rec {
pname = "outputcheck";
version = "0.4.2";
src = fetchFromGitHub {
owner = "stp";
repo = "OutputCheck";
rev = "e0f533d3c5af2949349856c711bf4bca50022b48";
sha256 = "1y27vz6jq6sywas07kz3v01sqjd0sga9yv9w2cksqac3v7wmf2a0";
};
prePatch = "echo ${version} > RELEASE-VERSION";
meta = with stdenv.lib; {
description = "A tool for checking tool output inspired by LLVM's FileCheck";
homepage = "https://github.com/stp/OutputCheck";
license = licenses.bsd3;
};
};
# Documentation building dependencies
# sphinx-argparse will be included in nixpkgs 19.03