dnd-tools: init at unstable-2021-02-18

+30
+28
pkgs/applications/misc/dnd-tools/default.nix
··· 1 + { python3, fetchFromGitHub, fetchpatch, lib }: 2 + 3 + python3.pkgs.buildPythonApplication rec { 4 + pname = "dnd-tools"; 5 + version = "unstable-2021-02-18"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "savagezen"; 9 + repo = pname; 10 + rev = "baefb9e4b4b8279be89ec63d256dde9704dee078"; 11 + sha256 = "1rils3gzbfmwvgy51ah77qihwwbvx50q82lkc1kwcb55b3yinnmj"; 12 + }; 13 + 14 + # gives warning every time unless patched, see https://github.com/savagezen/dnd-tools/pull/20 15 + patches = [ 16 + (fetchpatch { 17 + url = "https://github.com/savagezen/dnd-tools/commit/0443f3a232056ad67cfb09eb3eadcb6344659198.patch"; 18 + sha256 = "00k8rsz2aj4sfag6l313kxbphcb5bjxb6z3aw66h26cpgm4kysp0"; 19 + }) 20 + ]; 21 + 22 + meta = with lib; { 23 + homepage = "https://github.com/savagezen/dnd-tools"; 24 + description = "A set of interactive command line tools for Dungeons and Dragons 5th Edition"; 25 + license = licenses.agpl3Only; 26 + maintainers = [ maintainers.urlordjames ]; 27 + }; 28 + }
+2
pkgs/top-level/all-packages.nix
··· 23471 23471 inherit (darwin.apple_sdk.frameworks) Foundation; 23472 23472 }; 23473 23473 23474 + dnd-tools = callPackage ../applications/misc/dnd-tools { }; 23475 + 23474 23476 inherit (callPackage ../applications/virtualization/docker {}) 23475 23477 docker_20_10; 23476 23478