ripasso-cursive: cosmetic changes (#361736)
[NixPkgs.git] / pkgs / by-name / dn / dnd-tools / package.nix
blob4959f29ec7e144bed796d24e0dbe83a12b8be9ec
1 { python3, fetchFromGitHub, fetchpatch, lib }:
3 python3.pkgs.buildPythonApplication rec {
4   pname = "dnd-tools";
5   version = "unstable-2021-02-18";
7   src = fetchFromGitHub {
8     owner = "savagezen";
9     repo = pname;
10     rev = "baefb9e4b4b8279be89ec63d256dde9704dee078";
11     sha256 = "1rils3gzbfmwvgy51ah77qihwwbvx50q82lkc1kwcb55b3yinnmj";
12   };
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   ];
22   meta = with lib; {
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 ];
28   };