libreddit: update repository location

This commit is contained in:
Fabian Affolter 2022-11-01 11:55:16 +01:00
parent 84ffd00595
commit 20c2edde84

View File

@ -11,15 +11,17 @@ rustPlatform.buildRustPackage rec {
version = "0.23.1";
src = fetchFromGitHub {
owner = "spikecodes";
owner = "libreddit";
repo = pname;
rev = "v${version}";
sha256 = "sha256-qO9AgEAm+wK8LAlUOYIKYTXJYT3yz65UWAFTf711+5w=";
hash = "sha256-qO9AgEAm+wK8LAlUOYIKYTXJYT3yz65UWAFTf711+5w=";
};
cargoSha256 = "sha256-ApZLYKavYt1Zp7qvdbhBXPBj7qv/D/oZp5lK2sfWnDI=";
buildInputs = lib.optional stdenv.isDarwin Security;
buildInputs = lib.optional stdenv.isDarwin [
Security
];
passthru.tests = {
inherit (nixosTests) libreddit;
@ -27,7 +29,7 @@ rustPlatform.buildRustPackage rec {
meta = with lib; {
description = "Private front-end for Reddit";
homepage = "https://github.com/spikecodes/libreddit";
homepage = "https://github.com/libreddit/libreddit";
license = with licenses; [ agpl3Only ];
maintainers = with maintainers; [ fab jojosch ];
};