nixos-config/pkgs/lipsum.nix

24 lines
313 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;
buildInputs = with pkgs; [
pkg-config
glib
gtk3.dev
vala
];
makeFlags = [
"PRG=${pname}"
];
installPhase = ''
install -Dm 755 "$pname" "$out/bin/$pname"
'';
}