aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--default.nix42
1 files changed, 36 insertions, 6 deletions
diff --git a/default.nix b/default.nix
index 514b0b6..f0ae87c 100644
--- a/default.nix
+++ b/default.nix
@@ -1,41 +1,61 @@
{ pkgs }:
self: super: {
xyz-euandreh = {
- remembering = pkgs.stdenv.mkDerivation {
+ remembering = pkgs.stdenv.mkDerivation rec {
name = "remembering";
version = "cca66c6f53e8bce857faae88368c0b07e6ace9e1";
src = fetchTarball {
url =
- https://git.euandreh.xyz/remembering/snapshot/remembering-cca66c6f53e8bce857faae88368c0b07e6ace9e1.tar.gz;
+ "https://git.euandreh.xyz/${name}/snapshot/${name}-${version}.tar.gz";
sha256 = "0bpm73hvpk6x3vs2lkp0kjnfdyb5hq3spl0kzpq0wwmz2ilcvghh";
};
makeFlags = [ "CC=cc" ];
doCheck = true;
+
+ meta = with pkgs.lib; {
+ description = readFile "${src}/description";
+ longDescription = readFile "${src}/long-description";
+ homepage = "https://${name}.euandreh.xyz";
+ changelog = "https://${name}.euandreh.xyz/CHANGELOG.html";
+ downloadPage = "https://${name}.euandreh.xyz/#releases";
+ license = licenses.agpl3;
+ platforms = platforms.unix;
+ };
};
- autoqemu = pkgs.stdenv.mkDerivation {
+ autoqemu = pkgs.stdenv.mkDerivation rec {
name = "autoqemu";
version = "9aff342b2179f990a7c63ee5c7569260a8498709";
src = fetchTarball {
url =
- https://git.euandreh.xyz/autoqemu/snapshot/autoqemu-9aff342b2179f990a7c63ee5c7569260a8498709.tar.gz;
+ "https://git.euandreh.xyz/${name}/snapshot/${name}-${version}.tar.gz";
sha256 = "1hqmsvvh8g1dkm88sqkpdd47yrmvkz91jirc2qzkiri4rwp3bx89";
};
makeFlags = [ "CC=cc" ];
doCheck = true;
+
+ meta = with pkgs.lib; {
+ description = readFile "${src}/description";
+ longDescription = readFile "${src}/long-description";
+ homepage = "https://${name}.euandreh.xyz";
+ changelog = "https://${name}.euandreh.xyz/CHANGELOG.html";
+ downloadPage = "https://${name}.euandreh.xyz/#releases";
+ license = licenses.agpl3;
+ platforms = platforms.unix;
+ };
};
- fallible = pkgs.stdenv.mkDerivation {
+ fallible = pkgs.stdenv.mkDerivation rec {
name = "fallible";
version = "2bac4b52f756fce15a4758a3b868bed9de87ff49";
src = fetchTarball {
url =
- https://git.euandreh.xyz/fallible/snapshot/fallible-2bac4b52f756fce15a4758a3b868bed9de87ff49.tar.gz;
+ "https://git.euandreh.xyz/${name}/snapshot/${name}-${version}.tar.gz";
sha256 = "0yfpjck84jpy108gdjw9f0qxny4q03n3yrqw9mpd43ch237c56aw";
};
@@ -43,6 +63,16 @@ self: super: {
checkInputs = with pkgs; [ valgrind ];
doCheck = true;
+
+ meta = with pkgs.lib; {
+ description = readFile "${src}/description";
+ longDescription = readFile "${src}/long-description";
+ homepage = "https://${name}.euandreh.xyz";
+ changelog = "https://${name}.euandreh.xyz/CHANGELOG.html";
+ downloadPage = "https://${name}.euandreh.xyz/#releases";
+ license = licenses.agpl3;
+ platforms = platforms.unix;
+ };
};
};
}