Trolli Schmittlauch
4259358460
based on work by Farid Zakaria https://github.com/fzakaria/lolcommits-nixpkgs
17 lines
454 B
Nix
17 lines
454 B
Nix
{ 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 ]
|
|
}
|
|
'';
|
|
}
|