Added status page

This commit is contained in:
Julien Malka 2021-12-26 00:21:23 +01:00
parent 48c36bbd4c
commit a42a771ece
No known key found for this signature in database
GPG key ID: 3C68E13964FEA07F
7 changed files with 88 additions and 0 deletions

View file

@ -0,0 +1,25 @@
{ pkgs, ... }:
with pkgs;
stdenv.mkDerivation rec {
pname = "tinystatus";
version = "1.0.0";
src = fetchFromGitHub{
owner = "bderenzo";
repo = "tinystatus";
rev="fc128adf240261ac99ea3e3be8d65a92eda52a73";
sha256= "FvQwibm6F10l9/U3RnNTGu+C2JjHOwbv62VxXAfI7/s=";
};
postPatch = ''
patchShebangs .
'';
installPhase = ''
mkdir -p $out/bin/
mv tinystatus $out/bin/
'';
}