nitter: build with Nim-2

This commit is contained in:
Emery Hemingway 2023-08-02 14:31:42 +01:00
parent 063b870663
commit 714fb0684e
2 changed files with 18 additions and 3 deletions

View file

@ -1,12 +1,25 @@
{ lib
, buildNimPackage
, fetchFromGitHub
, nimPackages
, nixosTests
, substituteAll
, unstableGitUpdater
, flatty
, jester
, jsony
, karax
, markdown
, nimcrypto
, packedjson
, redis
, redpool
, sass
, supersnappy
, zippy
}:
nimPackages.buildNimPackage rec {
buildNimPackage rec {
pname = "nitter";
version = "unstable-2023-07-21";
@ -26,7 +39,7 @@ nimPackages.buildNimPackage rec {
})
];
buildInputs = with nimPackages; [
buildInputs = [
flatty
jester
jsony
@ -43,6 +56,8 @@ nimPackages.buildNimPackage rec {
nimBinOnly = true;
nimFlags = [ "--mm:refc" ];
postBuild = ''
nim c --hint[Processing]:off -r tools/gencss
nim c --hint[Processing]:off -r tools/rendermd

View file

@ -11042,7 +11042,7 @@ with pkgs;
nifi = callPackage ../servers/web-apps/nifi { };
nitter = callPackage ../servers/nitter { };
nitter = nim2Packages.callPackage ../servers/nitter { };
noip = callPackage ../tools/networking/noip { };