timetrap: use bundlerApp
This commit is contained in:
parent
c9fd6099b4
commit
44a554792d
@ -16,4 +16,4 @@ DEPENDENCIES
|
|||||||
timetrap
|
timetrap
|
||||||
|
|
||||||
BUNDLED WITH
|
BUNDLED WITH
|
||||||
1.10.6
|
1.17.2
|
||||||
|
@ -1,17 +1,15 @@
|
|||||||
{ lib, bundlerEnv, ruby }:
|
{ lib, bundlerApp }:
|
||||||
|
|
||||||
bundlerEnv rec {
|
bundlerApp {
|
||||||
name = "timetrap-${version}";
|
pname = "timetrap";
|
||||||
|
|
||||||
version = (import gemset).timetrap.version;
|
|
||||||
inherit ruby;
|
|
||||||
gemdir = ./.;
|
gemdir = ./.;
|
||||||
gemset = ./gemset.nix;
|
exes = [ "timetrap" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A simple command line time tracker written in ruby";
|
description = "A simple command line time tracker written in ruby";
|
||||||
homepage = https://github.com/samg/timetrap;
|
homepage = https://github.com/samg/timetrap;
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = [ maintainers.jerith666 ];
|
maintainers = with maintainers; [ jerith666 manveru ];
|
||||||
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
{
|
{
|
||||||
chronic = {
|
chronic = {
|
||||||
|
groups = ["default"];
|
||||||
|
platforms = [];
|
||||||
source = {
|
source = {
|
||||||
remotes = ["https://rubygems.org"];
|
remotes = ["https://rubygems.org"];
|
||||||
sha256 = "1hrdkn4g8x7dlzxwb1rfgr8kw3bp4ywg5l4y4i9c2g5cwv62yvvn";
|
sha256 = "1hrdkn4g8x7dlzxwb1rfgr8kw3bp4ywg5l4y4i9c2g5cwv62yvvn";
|
||||||
@ -8,6 +10,8 @@
|
|||||||
version = "0.10.2";
|
version = "0.10.2";
|
||||||
};
|
};
|
||||||
sequel = {
|
sequel = {
|
||||||
|
groups = ["default"];
|
||||||
|
platforms = [];
|
||||||
source = {
|
source = {
|
||||||
remotes = ["https://rubygems.org"];
|
remotes = ["https://rubygems.org"];
|
||||||
sha256 = "121z4sq2m4vsgxwy8hs6d12cc1i4xa5rjiv0nbviyj87jldxapw0";
|
sha256 = "121z4sq2m4vsgxwy8hs6d12cc1i4xa5rjiv0nbviyj87jldxapw0";
|
||||||
@ -16,6 +20,8 @@
|
|||||||
version = "4.43.0";
|
version = "4.43.0";
|
||||||
};
|
};
|
||||||
sqlite3 = {
|
sqlite3 = {
|
||||||
|
groups = ["default"];
|
||||||
|
platforms = [];
|
||||||
source = {
|
source = {
|
||||||
remotes = ["https://rubygems.org"];
|
remotes = ["https://rubygems.org"];
|
||||||
sha256 = "01ifzp8nwzqppda419c9wcvr8n82ysmisrs0hph9pdmv1lpa4f5i";
|
sha256 = "01ifzp8nwzqppda419c9wcvr8n82ysmisrs0hph9pdmv1lpa4f5i";
|
||||||
@ -25,6 +31,8 @@
|
|||||||
};
|
};
|
||||||
timetrap = {
|
timetrap = {
|
||||||
dependencies = ["chronic" "sequel" "sqlite3"];
|
dependencies = ["chronic" "sequel" "sqlite3"];
|
||||||
|
groups = ["default"];
|
||||||
|
platforms = [];
|
||||||
source = {
|
source = {
|
||||||
remotes = ["https://rubygems.org"];
|
remotes = ["https://rubygems.org"];
|
||||||
sha256 = "0ylaz9q99hbxnw6h1df6wphmh68fj847d1l4f9jylcx3nzzp5cyd";
|
sha256 = "0ylaz9q99hbxnw6h1df6wphmh68fj847d1l4f9jylcx3nzzp5cyd";
|
||||||
|
Loading…
Reference in New Issue
Block a user