add lolcommits to overlay

based on work by Farid Zakaria https://github.com/fzakaria/lolcommits-nixpkgs
This commit is contained in:
Trolli Schmittlauch 2020-10-09 01:27:52 +02:00
parent f1da50c5c0
commit 4259358460
11 changed files with 469 additions and 0 deletions

View 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 ]
}
'';
}