nitter: build with Nim-2
This commit is contained in:
parent
063b870663
commit
714fb0684e
2 changed files with 18 additions and 3 deletions
|
@ -1,12 +1,25 @@
|
||||||
{ lib
|
{ lib
|
||||||
|
, buildNimPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, nimPackages
|
, nimPackages
|
||||||
, nixosTests
|
, nixosTests
|
||||||
, substituteAll
|
, substituteAll
|
||||||
, unstableGitUpdater
|
, unstableGitUpdater
|
||||||
|
, flatty
|
||||||
|
, jester
|
||||||
|
, jsony
|
||||||
|
, karax
|
||||||
|
, markdown
|
||||||
|
, nimcrypto
|
||||||
|
, packedjson
|
||||||
|
, redis
|
||||||
|
, redpool
|
||||||
|
, sass
|
||||||
|
, supersnappy
|
||||||
|
, zippy
|
||||||
}:
|
}:
|
||||||
|
|
||||||
nimPackages.buildNimPackage rec {
|
buildNimPackage rec {
|
||||||
pname = "nitter";
|
pname = "nitter";
|
||||||
version = "unstable-2023-07-21";
|
version = "unstable-2023-07-21";
|
||||||
|
|
||||||
|
@ -26,7 +39,7 @@ nimPackages.buildNimPackage rec {
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = with nimPackages; [
|
buildInputs = [
|
||||||
flatty
|
flatty
|
||||||
jester
|
jester
|
||||||
jsony
|
jsony
|
||||||
|
@ -43,6 +56,8 @@ nimPackages.buildNimPackage rec {
|
||||||
|
|
||||||
nimBinOnly = true;
|
nimBinOnly = true;
|
||||||
|
|
||||||
|
nimFlags = [ "--mm:refc" ];
|
||||||
|
|
||||||
postBuild = ''
|
postBuild = ''
|
||||||
nim c --hint[Processing]:off -r tools/gencss
|
nim c --hint[Processing]:off -r tools/gencss
|
||||||
nim c --hint[Processing]:off -r tools/rendermd
|
nim c --hint[Processing]:off -r tools/rendermd
|
||||||
|
|
|
@ -11042,7 +11042,7 @@ with pkgs;
|
||||||
|
|
||||||
nifi = callPackage ../servers/web-apps/nifi { };
|
nifi = callPackage ../servers/web-apps/nifi { };
|
||||||
|
|
||||||
nitter = callPackage ../servers/nitter { };
|
nitter = nim2Packages.callPackage ../servers/nitter { };
|
||||||
|
|
||||||
noip = callPackage ../tools/networking/noip { };
|
noip = callPackage ../tools/networking/noip { };
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue