From 24fd1fe6c62b7a9fc347794fde043285da272f5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Thu, 13 Dec 2018 21:25:24 +0100 Subject: Initial commit published for NUR --- pkgs/terminal-velocity/default.nix | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 pkgs/terminal-velocity/default.nix (limited to 'pkgs/terminal-velocity/default.nix') diff --git a/pkgs/terminal-velocity/default.nix b/pkgs/terminal-velocity/default.nix new file mode 100644 index 00000000..9e79deea --- /dev/null +++ b/pkgs/terminal-velocity/default.nix @@ -0,0 +1,33 @@ +{ python36Packages }: +with python36Packages; +buildPythonApplication rec { + pname = "terminal-velocity-git"; + version = "0.2.0"; + src = fetchPypi { + inherit pname version; + sha256 = "13yrkcmvh5h5fwnai61sbmqkrjyisz08n62pq0ada2lyyqf7g6b9"; + }; + + patches = [ + ./sort_found_notes.patch + ./python3_support.patch + # FIXME: update this patch when version changes + ./fix_build.patch + ]; + + propagatedBuildInputs = [ + chardet + urwid + (sh.overridePythonAttrs { doCheck = false; }) + pyyaml + ]; + buildInputs = [ + m2r + (restructuredtext_lint.overridePythonAttrs { doCheck = false; }) + pygments + ]; + + postInstall = '' + rm $out/bin/terminal_velocity + ''; +} -- cgit v1.2.3