nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib, buildFishPlugin, fetchFromGitHub }:
2
3buildFishPlugin rec {
4 pname = "sponge";
5 version = "1.1.0";
6
7 src = fetchFromGitHub {
8 owner = "meaningful-ooo";
9 repo = pname;
10 rev = version;
11 sha256 = "sha256-MdcZUDRtNJdiyo2l9o5ma7nAX84xEJbGFhAVhK+Zm1w=";
12 };
13
14 meta = with lib; {
15 description = "keeps your fish shell history clean from typos, incorrectly used commands and everything you don't want to store due to privacy reasons";
16 homepage = "https://github.com/meaningful-ooo/sponge";
17 license = licenses.mit;
18 maintainers = with maintainers; [ quantenzitrone ];
19 };
20}