timetrap: use bundlerApp

This commit is contained in:
Michael Fellinger
2019-04-30 18:55:17 +02:00
parent c9fd6099b4
commit 44a554792d
3 changed files with 17 additions and 11 deletions
+8 -10
View File
@@ -1,17 +1,15 @@
{ lib, bundlerEnv, ruby }:
{ lib, bundlerApp }:
bundlerEnv rec {
name = "timetrap-${version}";
version = (import gemset).timetrap.version;
inherit ruby;
bundlerApp {
pname = "timetrap";
gemdir = ./.;
gemset = ./gemset.nix;
exes = [ "timetrap" ];
meta = with lib; {
description = "A simple command line time tracker written in ruby";
homepage = https://github.com/samg/timetrap;
license = licenses.mit;
maintainers = [ maintainers.jerith666 ];
homepage = https://github.com/samg/timetrap;
license = licenses.mit;
maintainers = with maintainers; [ jerith666 manveru ];
platforms = platforms.unix;
};
}