Skip to content

Commit

Permalink
tildefriends: init at 0.0.17
Browse files Browse the repository at this point in the history
  • Loading branch information
tasiaiso committed Apr 8, 2024
1 parent db348bf commit a16ad4a
Showing 1 changed file with 47 additions and 0 deletions.
47 changes: 47 additions & 0 deletions pkgs/by-name/ti/tildefriends/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{ lib
, stdenv
, fetchFromGitea
, gnumake
, openssl
, which
}:

stdenv.mkDerivation rec {
pname = "tildefriends";
version = "0.0.17";

src = fetchFromGitea {
domain = "dev.tildefriends.net";
owner = "cory";
repo = "tildefriends";
rev = "v${version}";
hash = "sha256-Wc9MvafA2rPmjnRvmMB3qmRyDQNhF688weKItHw3E8I=";
};

nativeBuildInputs = [
gnumake
openssl
which
];

buildPhase = ''
make -j $NIX_BUILD_CORES release
'';

installPhase = ''
mkdir -p $out/bin
cp -r out/release/* $out/bin
'';

doCheck = false;

meta = {
homepage = "https://tildefriends.net";
description = "Make apps and friends from the comfort of your web browser.";
mainProgram = "tildefriends";
license = with lib.licenses; [ mit ];
maintainers = with lib.maintainers; [ tasiaiso ];
platforms = lib.platforms.all;
};
}

0 comments on commit a16ad4a

Please sign in to comment.