packages: add lipsum
This commit is contained in:
parent
13c8322ab2
commit
754afd4baa
5 changed files with 46 additions and 1 deletions
|
@ -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
23
pkgs/lipsum.nix
Normal 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"
|
||||
'';
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue