18 buildPythonPackage rec {
21 format = "setuptools";
23 src = fetchFromGitHub {
27 hash = "sha256-CHL2dy0H/i0pLo653F7aUHFvZHTeZA6jC/rwn1KrEW4=";
31 # https://github.com/NixOS/nixpkgs/issues/288478
33 name = "set-default-encoding.patch";
34 url = "https://github.com/joeyespo/grip/commit/2784eb2c1515f1cdb1554d049d48b3bff0f42085.patch";
35 hash = "sha256-veVJKJtt8mP1jmseRD7pNR3JgIxX1alYHyQok/rBpiQ=";
44 propagatedBuildInputs = [
55 export PATH="$PATH:$out/bin"
56 py.test -xm "not assumption"
60 description = "Preview GitHub Markdown files like Readme locally before committing them";
62 homepage = "https://github.com/joeyespo/grip";
63 license = licenses.mit;
64 maintainers = with maintainers; [ koral ];