diff --git a/pkgs/development/nim-packages/asciigraph/default.nix b/pkgs/development/nim-packages/asciigraph/default.nix new file mode 100644 index 000000000000..51cc4c89eca0 --- /dev/null +++ b/pkgs/development/nim-packages/asciigraph/default.nix @@ -0,0 +1,22 @@ +{ lib, buildNimPackage, fetchFromGitHub }: + +buildNimPackage rec { + pname = "asciigraph"; + version = "unstable-2021-03-02"; + + src = fetchFromGitHub { + owner = "Yardanico"; + repo = "asciigraph"; + rev = "9f51fc4e94d0960ab63fa6ea274518159720aa69"; + hash = "sha256-JMBAW8hkE2wuXkRt4aHqFPoz1HX1J4SslvcaQXfpDNk"; + }; + + doCheck = true; + + meta = with lib; + src.meta // { + description = "Console ascii line graphs in pure Nim"; + license = [ licenses.mit ]; + maintainers = with maintainers; [ sikmir ]; + }; +} diff --git a/pkgs/top-level/nim-packages.nix b/pkgs/top-level/nim-packages.nix index 433460075965..c44d9ac0350a 100644 --- a/pkgs/top-level/nim-packages.nix +++ b/pkgs/top-level/nim-packages.nix @@ -11,6 +11,8 @@ lib.makeScope newScope (self: }; fetchNimble = callPackage ../development/nim-packages/fetch-nimble { }; + asciigraph = callPackage ../development/nim-packages/asciigraph { }; + astpatternmatching = callPackage ../development/nim-packages/astpatternmatching { };