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

@ -4,4 +4,5 @@
{ pkgs, inputs }: {
plymouth-theme-red = pkgs.callPackage ./plymouth-theme-red.nix { inherit inputs; };
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"
'';
}