effitask: init at 1.4.0
This commit is contained in:
parent
e7987936c1
commit
416b44da64
1091
pkgs/applications/misc/effitask/cargo-lock.patch
Normal file
1091
pkgs/applications/misc/effitask/cargo-lock.patch
Normal file
File diff suppressed because it is too large
Load Diff
51
pkgs/applications/misc/effitask/default.nix
Normal file
51
pkgs/applications/misc/effitask/default.nix
Normal file
@ -0,0 +1,51 @@
|
||||
{ stdenv
|
||||
, rustPlatform
|
||||
, fetchFromGitHub
|
||||
, pkg-config
|
||||
, openssl
|
||||
, gtk3
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "effitask";
|
||||
version = "1.4.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "sanpii";
|
||||
repo = "${pname}";
|
||||
rev = "${version}";
|
||||
sha256 = "09bffxdp43s8b1rpmsgqr2kyz3i4jbd2yrwbxw21fj3sf3mwb9ig";
|
||||
};
|
||||
|
||||
# workaround for missing Cargo.lock file https://github.com/sanpii/effitask/issues/48
|
||||
cargoPatches = [ ./cargo-lock.patch ];
|
||||
|
||||
cargoSha256 = "0dvmp23kny6rlv6c0mfyy3cmz1bi5wcm1mxps4z67lym5kxfd362";
|
||||
|
||||
buildInputs = [ openssl gtk3 ];
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
# default installPhase don't install assets
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
make install PREFIX="$out"
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Graphical task manager, based on the todo.txt format";
|
||||
longDescription = ''
|
||||
To use it as todo.sh add-on, create a symlink like this:
|
||||
mkdir ~/.todo.actions.d/
|
||||
ln -s $(which effitask) ~/.todo.actions.d/et
|
||||
|
||||
Or use it as standalone program by defining some environment variables
|
||||
like described in the projects readme.
|
||||
'';
|
||||
homepage = "https://github.com/sanpii/effitask";
|
||||
maintainers = with maintainers; [ davidak ];
|
||||
license = with licenses; [ mit ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
@ -10625,6 +10625,8 @@ in
|
||||
|
||||
eggdbus = callPackage ../development/tools/misc/eggdbus { };
|
||||
|
||||
effitask = callPackage ../applications/misc/effitask { };
|
||||
|
||||
egypt = callPackage ../development/tools/analysis/egypt { };
|
||||
|
||||
elfinfo = callPackage ../development/tools/misc/elfinfo { };
|
||||
|
Loading…
Reference in New Issue
Block a user