treewide: reformat

This commit is contained in:
isabel 2024-04-28 19:47:16 +01:00
parent 07a57da4df
commit 5678291741
No known key found for this signature in database
GPG key ID: 08A97B9A107A1798
4 changed files with 25 additions and 11 deletions

View file

@ -1,4 +1,9 @@
{ lib, fetchFromGitHub, rustPlatform, git }:
{
lib,
fetchFromGitHub,
rustPlatform,
git,
}:
rustPlatform.buildRustPackage rec {
pname = "gitprompt-rs";
version = "0.3.0";
@ -13,8 +18,8 @@ rustPlatform.buildRustPackage rec {
cargoSha256 = "0avs833vb6q1avjbfygm55s83iy942xgqsx6qdzksry44n35s418";
postPatch = ''
substituteInPlace src/main.rs \
--replace 'Command::new("git")' 'Command::new("${git}/bin/git")'
substituteInPlace src/main.rs \
--replace 'Command::new("git")' 'Command::new("${git}/bin/git")'
'';
meta = with lib; {

View file

@ -1,4 +1,8 @@
{ lib, buildGoModule, fetchFromGitHub }:
{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule rec {
pname = "go-toml";
version = "2.2.1";
@ -18,7 +22,10 @@ buildGoModule rec {
"cmd/tomltestgen"
];
ldflags = [ "-s" "-w" ];
ldflags = [
"-s"
"-w"
];
meta = with lib; {
description = "Go library for the TOML language";

View file

@ -1,6 +1,7 @@
{ lib
, fetchFromGitHub
, buildGoModule
{
lib,
fetchFromGitHub,
buildGoModule,
}:
buildGoModule rec {
pname = "gotestsum";

View file

@ -1,6 +1,7 @@
{ lib
, buildGoModule
, fetchFromGitHub
{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule rec {
pname = "goflow2";