add lolcommits to overlay
based on work by Farid Zakaria https://github.com/fzakaria/lolcommits-nixpkgs
This commit is contained in:
parent
f1da50c5c0
commit
4259358460
11 changed files with 469 additions and 0 deletions
16
home/ov/lolcommits-nixpkgs/default.nix
Normal file
16
home/ov/lolcommits-nixpkgs/default.nix
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{ nixpkgs ? import <nixpkgs> { }, lib ? nixpkgs.lib, bundlerApp ? nixpkgs.bundlerApp
|
||||
, makeWrapper ? nixpkgs.makeWrapper, mplayer ? nixpkgs.mplayer
|
||||
, imagemagick ? nixpkgs.imagemagick }:
|
||||
|
||||
bundlerApp {
|
||||
pname = "lolcommits";
|
||||
gemdir = ./.;
|
||||
exes = [ "lolcommits" ];
|
||||
buildInputs = [ makeWrapper mplayer imagemagick ];
|
||||
|
||||
postBuild = ''
|
||||
wrapProgram $out/bin/lolcommits --prefix PATH : ${
|
||||
lib.makeBinPath [ mplayer imagemagick ]
|
||||
}
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue