1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 13:10:33 +00:00

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

This commit is contained in:
urlordjames 2021-07-06 23:38:35 -04:00
parent 176b8cce23
commit d048338e95
2 changed files with 30 additions and 0 deletions

View file

@ -0,0 +1,28 @@
{ python3, fetchFromGitHub, fetchpatch, lib }:
python3.pkgs.buildPythonApplication rec {
pname = "dnd-tools";
version = "unstable-2021-02-18";
src = fetchFromGitHub {
owner = "savagezen";
repo = pname;
rev = "baefb9e4b4b8279be89ec63d256dde9704dee078";
sha256 = "1rils3gzbfmwvgy51ah77qihwwbvx50q82lkc1kwcb55b3yinnmj";
};
# gives warning every time unless patched, see https://github.com/savagezen/dnd-tools/pull/20
patches = [
(fetchpatch {
url = "https://github.com/savagezen/dnd-tools/commit/0443f3a232056ad67cfb09eb3eadcb6344659198.patch";
sha256 = "00k8rsz2aj4sfag6l313kxbphcb5bjxb6z3aw66h26cpgm4kysp0";
})
];
meta = with lib; {
homepage = "https://github.com/savagezen/dnd-tools";
description = "A set of interactive command line tools for Dungeons and Dragons 5th Edition";
license = licenses.agpl3Only;
maintainers = [ maintainers.urlordjames ];
};
}

View file

@ -23471,6 +23471,8 @@ in
inherit (darwin.apple_sdk.frameworks) Foundation;
};
dnd-tools = callPackage ../applications/misc/dnd-tools { };
inherit (callPackage ../applications/virtualization/docker {})
docker_20_10;