packages: add lipsum

This commit is contained in:
Leonardo Eugênio 2023-02-13 11:02:55 -03:00
parent 13c8322ab2
commit 754afd4baa
5 changed files with 46 additions and 1 deletions

View file

@ -254,6 +254,22 @@
"type": "github" "type": "github"
} }
}, },
"lipsum": {
"flake": false,
"locked": {
"lastModified": 1630421397,
"narHash": "sha256-a6uv0tJulN9cAGWxvQr8B0PUJEY8Rx4e759xzS66Xlo=",
"owner": "hannenz",
"repo": "lipsum",
"rev": "0fb31e6ede10fbd78d7652f5fb21670cddd8e3ed",
"type": "github"
},
"original": {
"owner": "hannenz",
"repo": "lipsum",
"type": "github"
}
},
"material-wifi-icons": { "material-wifi-icons": {
"flake": false, "flake": false,
"locked": { "locked": {
@ -431,6 +447,7 @@
"dzgui": "dzgui", "dzgui": "dzgui",
"home-manager": "home-manager", "home-manager": "home-manager",
"hyprland": "hyprland", "hyprland": "hyprland",
"lipsum": "lipsum",
"material-wifi-icons": "material-wifi-icons", "material-wifi-icons": "material-wifi-icons",
"nil-lsp": "nil-lsp", "nil-lsp": "nil-lsp",
"nix-index-database": "nix-index-database", "nix-index-database": "nix-index-database",

View file

@ -43,6 +43,9 @@
plymouth-themes.url = "github:adi1090x/plymouth-themes"; plymouth-themes.url = "github:adi1090x/plymouth-themes";
plymouth-themes.flake = false; plymouth-themes.flake = false;
lipsum.url = "github:hannenz/lipsum";
lipsum.flake = false;
agenix.url = "github:ryantm/agenix"; agenix.url = "github:ryantm/agenix";
dzgui.url = "github:lelgenio/dzgui-nix"; dzgui.url = "github:lelgenio/dzgui-nix";
@ -140,6 +143,6 @@
modules = [ ./user/home.nix ]; modules = [ ./user/home.nix ];
}; };
packages.${system}.linuxPackages = packages; packages.${system} = packages;
}; };
} }

View file

@ -4,4 +4,5 @@
{ pkgs, inputs }: { { pkgs, inputs }: {
plymouth-theme-red = pkgs.callPackage ./plymouth-theme-red.nix { inherit inputs; }; plymouth-theme-red = pkgs.callPackage ./plymouth-theme-red.nix { inherit inputs; };
cargo-checkmate = pkgs.callPackage ./cargo-checkmate.nix { }; cargo-checkmate = pkgs.callPackage ./cargo-checkmate.nix { };
lipsum = pkgs.callPackage ./lipsum.nix { inherit inputs; };
} }

23
pkgs/lipsum.nix Normal file
View file

@ -0,0 +1,23 @@
{ pkgs, inputs }:
pkgs.stdenv.mkDerivation rec {
pname = "lipsum";
version = "0.0.1";
src = inputs.lipsum;
buildInputs = with pkgs; [
pkg-config
glib
gtk3.dev
vala
];
makeFlags = [
"PRG=${pname}"
];
installPhase = ''
install -Dm 755 "$pname" "$out/bin/$pname"
'';
}

View file

@ -69,6 +69,7 @@
sd sd
ripgrep ripgrep
translate-shell translate-shell
lipsum
mate.engrampa mate.engrampa
# gnome.nautilus # gnome.nautilus