1 { python3, fetchFromGitHub, fetchpatch, lib }:
3 python3.pkgs.buildPythonApplication rec {
5 version = "unstable-2021-02-18";
7 src = fetchFromGitHub {
10 rev = "baefb9e4b4b8279be89ec63d256dde9704dee078";
11 sha256 = "1rils3gzbfmwvgy51ah77qihwwbvx50q82lkc1kwcb55b3yinnmj";
14 # gives warning every time unless patched, see https://github.com/savagezen/dnd-tools/pull/20
17 url = "https://github.com/savagezen/dnd-tools/commit/0443f3a232056ad67cfb09eb3eadcb6344659198.patch";
18 sha256 = "00k8rsz2aj4sfag6l313kxbphcb5bjxb6z3aw66h26cpgm4kysp0";
23 homepage = "https://github.com/savagezen/dnd-tools";
24 description = "Set of interactive command line tools for Dungeons and Dragons 5th Edition";
25 mainProgram = "dnd-tools";
26 license = licenses.agpl3Only;
27 maintainers = [ maintainers.urlordjames ];