nimPackages.pixie: 1.1.3 -> 3.1.2

* vmath 1.0.3 -> 1.1.1
* check bumpy, flatty, vmath, and zippy
* remove typography, it was merged into pixie

The hottext package is now broken.
This commit is contained in:
Emery Hemingway 2022-01-02 17:48:54 +01:00 committed by ehmry
parent 2aa7799528
commit d1acd89e01
8 changed files with 100 additions and 33 deletions

View File

@ -1,7 +1,24 @@
{ fetchNimble }:
{ lib, buildNimPackage, fetchFromGitHub, vmath }:
fetchNimble {
buildNimPackage rec {
pname = "bumpy";
version = "1.0.3";
hash = "sha256-mDmDlhOGoYYjKgF5j808oT2NqRlfcOdLSDE3WtdJFQ0=";
src = fetchFromGitHub {
owner = "treeform";
repo = pname;
rev = version;
hash = "sha256-mDmDlhOGoYYjKgF5j808oT2NqRlfcOdLSDE3WtdJFQ0=";
};
propagatedBuildInputs = [ vmath ];
doCheck = true;
meta = with lib;
src.meta // {
description = "2d collision library";
license = [ licenses.mit ];
maintainers = [ maintainers.ehmry ];
};
}

View File

@ -1,7 +1,22 @@
{ fetchNimble }:
{ lib, buildNimPackage, fetchFromGitHub }:
fetchNimble {
buildNimPackage rec {
pname = "flatty";
version = "0.2.3";
hash = "sha256-1tPLtnlGtE4SF5/ti/2svvYHpEy/0Za5N4YAOHFOyjA=";
src = fetchFromGitHub {
owner = "treeform";
repo = pname;
rev = version;
hash = "sha256-1tPLtnlGtE4SF5/ti/2svvYHpEy/0Za5N4YAOHFOyjA=";
};
doCheck = true;
meta = with lib;
src.meta // {
description = "Tools and serializer for plain flat binary files";
license = [ licenses.mit ];
maintainers = [ maintainers.ehmry ];
};
}

View File

@ -1,7 +1,25 @@
{ fetchNimble }:
{ lib, buildNimPackage, fetchFromGitHub, bumpy, chroma, flatty, nimsimd, vmath
, zippy }:
fetchNimble {
buildNimPackage rec {
pname = "pixie";
version = "1.1.3";
hash = "sha256-xKIejVxOd19mblL1ZwpJH91dgKQS5g8U08EL8lGGelA=";
version = "3.1.2";
src = fetchFromGitHub {
owner = "treeform";
repo = pname;
rev = version;
hash = "sha256-rF72ybfsipBHgQmH0e6DBn1e7WWY6dGn9yp1qvLIS3A=";
};
propagatedBuildInputs = [ bumpy chroma flatty nimsimd vmath zippy ];
doCheck = true;
meta = with lib;
src.meta // {
description = "Full-featured 2d graphics library for Nim";
license = [ licenses.mit ];
maintainers = [ maintainers.ehmry ];
};
}

View File

@ -1,7 +0,0 @@
{ fetchNimble }:
fetchNimble {
pname = "typography";
version = "0.7.9";
hash = "sha256-IYjw3PCp5XzVed2fGGCt9Hb60cxFeF0BUZ7L5PedTLU=";
}

View File

@ -1,7 +1,22 @@
{ fetchNimble }:
{ lib, buildNimPackage, fetchFromGitHub }:
fetchNimble {
buildNimPackage rec {
pname = "vmath";
version = "1.0.3";
hash = "sha256-zzSKXjuTZ46HTFUs0N47mxEKTKIdS3dwr+60sQYSdn0=";
version = "1.1.1";
src = fetchFromGitHub {
owner = "treeform";
repo = pname;
rev = version;
hash = "sha256-/v0lQIOMogTxFRtbssziW4W6VhMDepM6Si8igLgcx30=";
};
doCheck = true;
meta = with lib;
src.meta // {
description = "Math vector library for graphical things";
license = [ licenses.mit ];
maintainers = [ maintainers.ehmry ];
};
}

View File

@ -1,7 +1,24 @@
{ fetchNimble }:
{ lib, buildNimPackage, fetchFromGitHub, unzip }:
fetchNimble {
buildNimPackage rec {
pname = "zippy";
version = "0.7.3";
hash = "sha256-w64ENRyP3mNTtESSt7CDDxUkjYSfziNVVedkO4HIuJ8=";
nativeBuildInputs = [ unzip ];
src = fetchFromGitHub {
owner = "guzba";
repo = pname;
rev = version;
hash = "sha256-w64ENRyP3mNTtESSt7CDDxUkjYSfziNVVedkO4HIuJ8=";
};
doCheck = true;
meta = with lib;
src.meta // {
description = "Pure Nim implementation of deflate, zlib, gzip and zip";
license = [ licenses.mit ];
maintainers = [ maintainers.ehmry ];
};
}

View File

@ -12,15 +12,8 @@ nimPackages.buildNimPackage rec {
};
buildInputs = with nimPackages; [
bumpy
chroma
flatty
nimsimd
pixie
sdl2
typography
vmath
zippy
];
HOTTEXT_FONT_PATH = "${gentium}/share/fonts/truetype/GentiumPlus-Regular.ttf";
@ -38,6 +31,7 @@ nimPackages.buildNimPackage rec {
'';
meta = with lib; {
broken = true; # Needs to be updated to latest Pixie API.
description = "Simple RSVP speed-reading utility";
license = licenses.unlicense;
homepage = "https://git.sr.ht/~ehmry/hottext";

View File

@ -77,8 +77,6 @@ lib.makeScope newScope (self:
tempfile = callPackage ../development/nim-packages/tempfile { };
typography = callPackage ../development/nim-packages/typography { };
ui = callPackage ../development/nim-packages/ui { inherit (pkgs) libui; };
unicodedb = callPackage ../development/nim-packages/unicodedb { };