stats: format with nixfmt-rfc-style

This commit is contained in:
DontEatOreo
2024-05-20 22:20:42 +03:00
parent 468de7af3a
commit 6e5ba8cdbb
+19 -10
View File
@@ -1,11 +1,12 @@
{ lib
, stdenvNoCC
, fetchurl
, undmg
, writeShellApplication
, curl
, jq
, common-updater-scripts
{
lib,
stdenvNoCC,
fetchurl,
undmg,
writeShellApplication,
curl,
jq,
common-updater-scripts,
}:
stdenvNoCC.mkDerivation (finalAttrs: {
@@ -32,7 +33,11 @@ stdenvNoCC.mkDerivation (finalAttrs: {
passthru.updateScript = lib.getExe (writeShellApplication {
name = "stats-update-script";
runtimeInputs = [ curl jq common-updater-scripts ];
runtimeInputs = [
curl
jq
common-updater-scripts
];
text = ''
set -euo pipefail
url="$(curl --silent "https://api.github.com/repos/exelban/stats/tags?per_page=1")"
@@ -46,7 +51,11 @@ stdenvNoCC.mkDerivation (finalAttrs: {
homepage = "https://github.com/exelban/stats";
license = licenses.mit;
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
maintainers = with maintainers; [ emilytrau Enzime donteatoreo ];
maintainers = with maintainers; [
emilytrau
Enzime
donteatoreo
];
platforms = platforms.darwin;
};
})