Skip to content

Commit

Permalink
Adding radicle-httpd
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenquoll committed Jul 24, 2024
1 parent 94b260d commit 55cffd5
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 1 deletion.
1 change: 1 addition & 0 deletions default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,5 @@
libdogecoin = pkgs.callPackage ./pkgs/libdogecoin {};
nrpe = pkgs.callPackage ./pkgs/nrpe {};
radicle = pkgs.callPackage ./pkgs/radicle {};
radicle-httpd = pkgs.callPackage ./pkgs/radicle-httpd {};
}
22 changes: 22 additions & 0 deletions pkgs/radicle-httpd/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{ pkgs, stdenv, fetchurl, ... }:

stdenv.mkDerivation rec {
pname = "radicle-httpd";
version = "0.15.0";

src = fetchurl {
url = "https://files.radicle.xyz/releases/${pname}/latest/${pname}-${version}-x86_64-unknown-linux-musl.tar.xz";
hash = "sha256-UOtq1QMnwu4r/rTR3LVOuikHgNgY+0/Zj+254a+rO7A=";
};

installPhase = ''
mkdir -p $out
cp -a * $out
'';

meta = {
description = "An open source, peer-to-peer code collaboration stack built on Git - Web service.";
homepage = "https://radicle.xyz";
changelog = "https://radicle.xyz/#updates";
};
}
2 changes: 1 addition & 1 deletion pkgs/radicle/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ stdenv.mkDerivation rec {
version = "1.0.0-rc.13";

src = fetchurl {
url = "https://files.radicle.xyz/releases/latest/radicle-1.0.0-rc.13-x86_64-unknown-linux-musl.tar.xz";
url = "https://files.radicle.xyz/releases/latest/${pname}-${version}-x86_64-unknown-linux-musl.tar.xz";
hash = "sha256-8l2O2DSLrdIGe3isQoS1MiJPT2MsBUIwiastFgHScIE=";
};

Expand Down

0 comments on commit 55cffd5

Please sign in to comment.