Commit 20c2edde authored by Fabian Affolter's avatar Fabian Affolter
Browse files

libreddit: update repository location

parent 84ffd005
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
@@ -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 ];
  };