grip: enable tests

This commit is contained in:
Jörg Thalheim 2016-09-28 23:21:17 +02:00
parent 9ebc98e53d
commit b1dc000df6
No known key found for this signature in database
GPG Key ID: CA4106B8D7CC79FA

View File

@ -7020,13 +7020,21 @@ in modules // {
version = "4.3.2"; version = "4.3.2";
name = "grip-${version}"; name = "grip-${version}";
src = pkgs.fetchurl { src = pkgs.fetchFromGitHub {
url = "https://files.pythonhosted.org/packages/8b/9d/698a7a3a8b57c28eacac27f269c9d0da228d20ee734edbe9451e3e0f7cde/${name}.zip"; owner = "joeyespo";
sha256 = "0sr6srp4liqjs6hxcy9kp8g5dzbnyfmwcsy2cn6qszkpp9x25w70"; repo = "grip";
rev = "v${version}";
sha256 = "05a169sfaj280k7gibbc1rznjn43l5m6l1gpl6a5cmp5r8827khs";
}; };
buildInputs = with self; [ pytest responses ];
propagatedBuildInputs = with self; [ docopt flask markdown path-and-address pygments requests2 ]; propagatedBuildInputs = with self; [ docopt flask markdown path-and-address pygments requests2 ];
checkPhase = ''
export PATH="$PATH:$out/bin"
py.test -xm "not assumption"
'';
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Preview GitHub Markdown files like Readme locally before committing them"; description = "Preview GitHub Markdown files like Readme locally before committing them";
homepage = https://github.com/joeyespo/grip; homepage = https://github.com/joeyespo/grip;