about summary refs log tree commit diff
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--packages/bruh.nix7
-rw-r--r--packages/emacsql-sqlite.nix2
-rw-r--r--packages/hiccup.nix2
-rw-r--r--packages/myip.nix4
-rw-r--r--packages/nixfiles.nix46
-rw-r--r--packages/openssl_1_0_0.nix8
-rw-r--r--packages/parinfer-rust.nix6
7 files changed, 39 insertions, 36 deletions
diff --git a/packages/bruh.nix b/packages/bruh.nix
index b41ecdb..597dc04 100644
--- a/packages/bruh.nix
+++ b/packages/bruh.nix
@@ -8,7 +8,8 @@ stdenv.mkDerivation (finalAttrs: {
   pname = "bruh";
   version = "2.1";
 
-  src = with finalAttrs;
+  src =
+    with finalAttrs;
     fetchFromGitHub {
       owner = "kejpies";
       repo = pname;
@@ -21,14 +22,14 @@ stdenv.mkDerivation (finalAttrs: {
       --replace "aplay" "${alsa-utils}/bin/aplay"
   '';
 
-  makeFlags = ["PREFIX=$(out)"];
+  makeFlags = [ "PREFIX=$(out)" ];
 
   meta = with lib; {
     description = "Bruh sound, but as a program";
     inherit (finalAttrs.src.meta) homepage;
     license = licenses.gpl3Only;
     platforms = platforms.linux;
-    maintainers = with maintainers; [azahi];
+    maintainers = with maintainers; [ azahi ];
     mainProgram = "bruh";
   };
 })
diff --git a/packages/emacsql-sqlite.nix b/packages/emacsql-sqlite.nix
index 3329e08..c9745fd 100644
--- a/packages/emacsql-sqlite.nix
+++ b/packages/emacsql-sqlite.nix
@@ -29,7 +29,7 @@ stdenv.mkDerivation (finalAttrs: {
     inherit (finalAttrs.src.meta) homepage;
     license = licenses.unlicense;
     platforms = platforms.unix;
-    maintainers = with maintainers; [azahi];
+    maintainers = with maintainers; [ azahi ];
     mainProgram = "emacsql-sqlite";
   };
 })
diff --git a/packages/hiccup.nix b/packages/hiccup.nix
index c8cd38d..b0dc64d 100644
--- a/packages/hiccup.nix
+++ b/packages/hiccup.nix
@@ -30,6 +30,6 @@ buildNpmPackage rec {
     description = "A static start page to get to your most important links";
     inherit (finalAttrs.src.meta) homepage;
     license = licenses.mit;
-    maintainers = with maintainers; [azahi];
+    maintainers = with maintainers; [ azahi ];
   };
 }
diff --git a/packages/myip.nix b/packages/myip.nix
index 59a02ee..d40e1fd 100644
--- a/packages/myip.nix
+++ b/packages/myip.nix
@@ -6,7 +6,7 @@
 writeShellApplication {
   name = "myip";
 
-  runtimeInputs = [dnsutils];
+  runtimeInputs = [ dnsutils ];
 
   text = ''
     dig -4 +short @resolver1.opendns.com myip.opendns.com A
@@ -18,7 +18,7 @@ writeShellApplication {
     homepage = "https://git.azahi.cc/nixfiles";
     license = licenses.wtfpl;
     platforms = platforms.unix;
-    maintainers = with maintainers; [azahi];
+    maintainers = with maintainers; [ azahi ];
     mainProgram = "myip";
   };
 }
diff --git a/packages/nixfiles.nix b/packages/nixfiles.nix
index 286214c..9bb3ea6 100644
--- a/packages/nixfiles.nix
+++ b/packages/nixfiles.nix
@@ -10,19 +10,18 @@
   writeShellApplication,
   writeTextDir,
   xdg-utils,
-}: let
+}:
+let
   bin = writeShellApplication {
     name = "nixfiles";
 
-    runtimeInputs =
-      [
-        git
-        jq
-        nix
-        nvd
-        openssh
-      ]
-      ++ lib.optional stdenv.isLinux xdg-utils;
+    runtimeInputs = [
+      git
+      jq
+      nix
+      nvd
+      openssh
+    ] ++ lib.optional stdenv.isLinux xdg-utils;
 
     # Shamelessly appropriated from https://github.com/ncfavier/config.
     # Hopefully Naïm will not sue me for copyright infrigment.
@@ -180,17 +179,20 @@
     complete -F _nixfiles nixfiles
   '';
 in
-  symlinkJoin {
-    name = "nixfiles";
+symlinkJoin {
+  name = "nixfiles";
 
-    paths = [bin bashCompletion];
+  paths = [
+    bin
+    bashCompletion
+  ];
 
-    meta = with lib; {
-      description = "A helper utility to manage NixOS configurations with Nix flakes";
-      homepage = "https://git.azahi.cc/nixfiles";
-      license = licenses.wtfpl;
-      platforms = platforms.unix;
-      maintainers = with maintainers; [azahi];
-      mainProgram = "nixfiles";
-    };
-  }
+  meta = with lib; {
+    description = "A helper utility to manage NixOS configurations with Nix flakes";
+    homepage = "https://git.azahi.cc/nixfiles";
+    license = licenses.wtfpl;
+    platforms = platforms.unix;
+    maintainers = with maintainers; [ azahi ];
+    mainProgram = "nixfiles";
+  };
+}
diff --git a/packages/openssl_1_0_0.nix b/packages/openssl_1_0_0.nix
index 228922a..bbcc1fc 100644
--- a/packages/openssl_1_0_0.nix
+++ b/packages/openssl_1_0_0.nix
@@ -14,7 +14,7 @@ stdenvNoCC.mkDerivation (finalAttrs: {
   };
   sourceRoot = "x86_64";
 
-  nativeBuildInputs = [autoPatchelfHook];
+  nativeBuildInputs = [ autoPatchelfHook ];
 
   dontPatch = true;
   dontConfigure = true;
@@ -33,8 +33,8 @@ stdenvNoCC.mkDerivation (finalAttrs: {
     description = "Ancient OpenSSL version that some GOG games require";
     homepage = "https://downloads.dotslashplay.it/resources/openssl";
     license = licenses.asl20;
-    platforms = ["x86_64-linux"];
-    sourceProvenance = with lib.sourceTypes; [binaryBytecode];
-    maintainers = with maintainers; [azahi];
+    platforms = [ "x86_64-linux" ];
+    sourceProvenance = with lib.sourceTypes; [ binaryBytecode ];
+    maintainers = with maintainers; [ azahi ];
   };
 })
diff --git a/packages/parinfer-rust.nix b/packages/parinfer-rust.nix
index e04f890..4f26107 100644
--- a/packages/parinfer-rust.nix
+++ b/packages/parinfer-rust.nix
@@ -16,14 +16,14 @@ rustPlatform.buildRustPackage rec {
 
   cargoHash = "sha256-C8RO6A1soSjtGzmtkwtApObAvS7YRqHnc0JwcHzoP/8=";
 
-  buildFeatures = ["emacs"];
+  buildFeatures = [ "emacs" ];
 
-  nativeBuildInputs = [rustPlatform.bindgenHook];
+  nativeBuildInputs = [ rustPlatform.bindgenHook ];
 
   meta = with lib; {
     description = "A Rust port of parinfer";
     inherit (src.meta) homepage;
     license = licenses.isc;
-    maintainers = with maintainers; [azahi];
+    maintainers = with maintainers; [ azahi ];
   };
 }

Consider giving Nix/NixOS a try! <3