nixos-config/pkgs/lipsum.nix

25 lines
490 B
Nix
Raw Normal View History

2023-02-13 11:02:55 -03:00
{ pkgs, inputs }:
pkgs.stdenv.mkDerivation rec {
pname = "lipsum";
version = "0.0.1";
src = inputs.lipsum;
2023-08-03 21:54:32 -03:00
nativeBuildInputs = with pkgs; [
2023-02-13 11:02:55 -03:00
pkg-config
vala
2023-08-03 21:54:32 -03:00
wrapGAppsHook
2023-02-13 11:02:55 -03:00
];
makeFlags = [
"PRG=${pname}"
];
installPhase = ''
install -Dm 755 "$pname" "$out/bin/$pname"
2023-08-03 21:54:32 -03:00
install -Dm 755 "./data/de.hannenz.lipsum.gschema.xml" "$out/share/glib-2.0/schemas/de.hannenz.lipsum.gschema.xml"
glib-compile-schemas "$out/share/glib-2.0/schemas/"
2023-02-13 11:02:55 -03:00
'';
}