mastodon: init at 3.3.0
Co-authored-by: Happy River <happyriver93@runbox.com> Co-authored-by: Justin Humm <justin.humm@posteo.de> Co-authored-by: Alyssa Ross <hi@alyssa.is> Co-authored-by: adisbladis <adisbladis@gmail.com>
This commit is contained in:
co-authored by
Happy River
Justin Humm
Alyssa Ross
adisbladis
parent
8d27886e08
commit
0640c21563
@@ -0,0 +1,21 @@
|
||||
{ pkgs, stdenv, lib, makeWrapper, yarn2nix, bundix, coreutils,
|
||||
diffutils, nix-prefetch-github, gnused, jq }:
|
||||
stdenv.mkDerivation rec {
|
||||
name = "mastodon-update-script";
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
cp ${./update.sh} $out/bin/update.sh
|
||||
patchShebangs $out/bin/update.sh
|
||||
wrapProgram $out/bin/update.sh --prefix PATH : ${lib.makeBinPath buildInputs}
|
||||
'';
|
||||
phases = [ "installPhase" ];
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
buildInputs = [ yarn2nix bundix coreutils diffutils nix-prefetch-github gnused jq ];
|
||||
|
||||
meta = {
|
||||
maintainers = with lib.maintainers; [ happy-river ];
|
||||
description = "Utility to generate Nix expressions for Mastodon's dependencies";
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user