diff options
author | Franck Cuny <franck@fcuny.net> | 2024-12-19 12:54:16 -0800 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2024-12-19 12:54:16 -0800 |
commit | bc40b7e0ad2ef5960b7f1695b4520909252a0e49 (patch) | |
tree | f22e9e5001720bbc82055a5d4d3b24077b9647de /packages | |
parent | use treefmt to format all the files (diff) | |
download | world-bc40b7e0ad2ef5960b7f1695b4520909252a0e49.tar.gz |
switch to the newer version of nixfmt
`nixfmt-rfc-style' replaces `nixfmt-classic'. It's actively maintained, but also changes the style, so this commit touches all the files in the repository.
Diffstat (limited to 'packages')
-rw-r--r-- | packages/hashi/default.nix | 13 | ||||
-rw-r--r-- | packages/perf-flamegraph-pid/default.nix | 16 | ||||
-rw-r--r-- | packages/sapi/default.nix | 11 |
3 files changed, 29 insertions, 11 deletions
diff --git a/packages/hashi/default.nix b/packages/hashi/default.nix index bfe01d5..97de12a 100644 --- a/packages/hashi/default.nix +++ b/packages/hashi/default.nix @@ -1,8 +1,13 @@ -{ stdenv, fetchurl, lib, ... }: +{ + stdenv, + fetchurl, + lib, + ... +}: let - url = - "https://artifactory.rbx.com:443/artifactory/generic-rbx-local/hashi/0.1.4/bin/hashi_darwin-amd64"; -in stdenv.mkDerivation rec { + url = "https://artifactory.rbx.com:443/artifactory/generic-rbx-local/hashi/0.1.4/bin/hashi_darwin-amd64"; +in +stdenv.mkDerivation rec { pname = "hashi"; version = "0.1.4"; src = fetchurl { diff --git a/packages/perf-flamegraph-pid/default.nix b/packages/perf-flamegraph-pid/default.nix index 0cd0a1b..9b3789b 100644 --- a/packages/perf-flamegraph-pid/default.nix +++ b/packages/perf-flamegraph-pid/default.nix @@ -1,12 +1,22 @@ -{ lib, stdenvNoCC, pkgs }: +{ + lib, + stdenvNoCC, + pkgs, +}: stdenvNoCC.mkDerivation rec { pname = "perf-flamegraph-pid"; src = ./perf-flamegraph-pid.sh; version = "0.1.0"; - nativeBuildInputs = with pkgs; [ flamegraph linuxPackages_latest.perf ]; - propagatedBuildInputs = with pkgs; [ flamegraph linuxPackages_latest.perf ]; + nativeBuildInputs = with pkgs; [ + flamegraph + linuxPackages_latest.perf + ]; + propagatedBuildInputs = with pkgs; [ + flamegraph + linuxPackages_latest.perf + ]; dontUnpack = true; dontBuild = true; diff --git a/packages/sapi/default.nix b/packages/sapi/default.nix index 66df5c0..8a7adbd 100644 --- a/packages/sapi/default.nix +++ b/packages/sapi/default.nix @@ -1,11 +1,15 @@ -{ stdenv, fetchurl, lib, ... }: +{ + stdenv, + fetchurl, + lib, + ... +}: stdenv.mkDerivation rec { pname = "sapi"; version = "1.2.4"; src = fetchurl { - url = - "https://artifactory.rbx.com:443/artifactory/generic-rbx-local/sapi-cli/darwin-amd64/v${version}/sapi"; + url = "https://artifactory.rbx.com:443/artifactory/generic-rbx-local/sapi-cli/darwin-amd64/v${version}/sapi"; sha256 = "sha256-Il/aqGzxtI84TdUAz4Fvw8RbAgGBZQPN3MZrOitrpVk="; }; @@ -25,4 +29,3 @@ stdenv.mkDerivation rec { platforms = [ "x86_64-darwin" ]; }; } - |