maintainers: add 404wolf
mailsy init at 5.0.0
This commit is contained in:
parent
02c887764c
commit
231d5a7268
@ -212,6 +212,12 @@
|
||||
githubId = 882455;
|
||||
name = "Elliot Cameron";
|
||||
};
|
||||
_404wolf = {
|
||||
email = "wolfmermelstein@gmail.com";
|
||||
github = "404wolf";
|
||||
githubId = 108041238;
|
||||
name = "Wolf Mermelstein";
|
||||
};
|
||||
_414owen = {
|
||||
email = "owen@owen.cafe";
|
||||
github = "414owen";
|
||||
|
22
pkgs/by-name/ma/mailsy/fix-file-lookup.patch
Normal file
22
pkgs/by-name/ma/mailsy/fix-file-lookup.patch
Normal file
@ -0,0 +1,22 @@
|
||||
--- $src/utils/index.js 2024-08-06 19:13:25.329421171 -0400
|
||||
+++ $src/utils/index.js 2024-08-06 19:14:10.896022059 -0400
|
||||
@@ -10,7 +10,7 @@
|
||||
|
||||
const dirname = path.dirname(fileURLToPath(import.meta.url));
|
||||
|
||||
-const adapter = new JSONFile(path.join(dirname, "../data/account.json"));
|
||||
+const adapter = new JSONFile(path.join(process.cwd(), "account.json"));
|
||||
|
||||
const db = new Low(adapter);
|
||||
|
||||
@@ -142,7 +142,7 @@
|
||||
});
|
||||
|
||||
// delete the account.json file
|
||||
- await fs.unlink(path.join(dirname, "../data/account.json"));
|
||||
+ await fs.unlink(path.join(process.cwd(), "account.json"));
|
||||
|
||||
// stop the spinner
|
||||
spinner.stop();
|
||||
|
||||
|
32
pkgs/by-name/ma/mailsy/package.nix
Normal file
32
pkgs/by-name/ma/mailsy/package.nix
Normal file
@ -0,0 +1,32 @@
|
||||
{
|
||||
buildNpmPackage,
|
||||
fetchFromGitHub,
|
||||
lib,
|
||||
}:
|
||||
buildNpmPackage rec {
|
||||
pname = "mailsy";
|
||||
version = "5.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "BalliAsghar";
|
||||
repo = "Mailsy";
|
||||
rev = version;
|
||||
hash = "sha256-RnOWvu023SOcN83xEEkYFwgDasOmkMwSzJ/QYjvTBDo=";
|
||||
};
|
||||
|
||||
npmDepsHash = "sha256-ljmqNmLvRHPdsKyOdDfECBXHTIExM6nPZF45lqV+pDM=";
|
||||
|
||||
npmFlags = ["--legacy-peer-deps"];
|
||||
|
||||
dontNpmBuild = true;
|
||||
|
||||
patches = [./fix-file-lookup.patch];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Quickly generate a disposable email straight from terminal";
|
||||
mainProgram = "mailsy";
|
||||
homepage = "https://fig.io/manual/mailsy";
|
||||
license = licenses.mit;
|
||||
maintainers = [maintainers._404wolf];
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user