17 buildPythonPackage rec {
20 format = "setuptools";
22 src = fetchFromGitHub {
26 hash = "sha256-CHL2dy0H/i0pLo653F7aUHFvZHTeZA6jC/rwn1KrEW4=";
30 # https://github.com/NixOS/nixpkgs/issues/288478
32 name = "set-default-encoding.patch";
33 url = "https://github.com/joeyespo/grip/commit/2784eb2c1515f1cdb1554d049d48b3bff0f42085.patch";
34 hash = "sha256-veVJKJtt8mP1jmseRD7pNR3JgIxX1alYHyQok/rBpiQ=";
38 nativeCheckInputs = [ pytest responses ];
40 propagatedBuildInputs = [ docopt flask markdown path-and-address pygments requests tabulate ];
43 export PATH="$PATH:$out/bin"
44 py.test -xm "not assumption"
48 description = "Preview GitHub Markdown files like Readme locally before committing them";
50 homepage = "https://github.com/joeyespo/grip";
51 license = licenses.mit;
52 maintainers = with maintainers; [ koral ];