1
0
Fork 0
nix-overlay/packages/nitter-unstable.nix
Daniel Kempkens 8c1739af0b
All checks were successful
Build / build-arm64-linux (push) Successful in 5m47s
Build / build-amd64-linux (push) Successful in 7m18s
nitter: update to 2023-09-15 (PrivacyDevel fork)
2023-09-17 18:58:42 +02:00

40 lines
958 B
Nix

{ pkgs, lib }:
let
sha1 = pkgs.nimPackages.buildNimPackage rec {
pname = "sha1";
version = "92ccc58";
src = pkgs.fetchFromGitHub {
owner = "onionhammer";
repo = pname;
rev = version;
sha256 = "sha256-tWHouIa6AFRmbvJaMsoWKNZX7bzqd3Je1kJ4rVHb+wM=";
};
};
oauth = pkgs.nimPackages.buildNimPackage rec {
pname = "oauth";
version = "b8c163b";
src = pkgs.fetchFromGitHub {
owner = "CORDEA";
repo = pname;
rev = version;
sha256 = "sha256-ZQvzIKqTkRbvE28uOoVFGTlVMZy+gQWeyW09K7+nukw=";
};
buildInputs = [ sha1 ];
};
in
pkgs.nitter.overrideAttrs (
oa: {
version = "unstable-2023-09-15";
src = pkgs.fetchFromGitHub {
owner = "PrivacyDevel";
repo = "nitter";
rev = "e4e7fe5f00efec886e2c0c625df2203f549467a6";
sha256 = "sha256-aVJXC1xA8ze01cdTO1QLoVrnU98x3C4GpiIOqeqcvXY=";
};
buildInputs = oa.buildInputs ++ [ sha1 oauth ];
}
)