uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
49
pkgs/applications/misc/effitask/default.nix
Normal file
49
pkgs/applications/misc/effitask/default.nix
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
{ lib
|
||||
, rustPlatform
|
||||
, fetchFromGitHub
|
||||
, pkg-config
|
||||
, openssl
|
||||
, gtk3
|
||||
, stdenv
|
||||
, rust
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "effitask";
|
||||
version = "1.4.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "sanpii";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-nZn+mINIqAnaCKZCiywG8/BOPx6TlSe0rKV/8gcW/B4=";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-aCjZRJNsxx75ghK0N95Q9w0h5H5mW9/77j/fumDrvyM=";
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
buildInputs = [ openssl gtk3 ];
|
||||
|
||||
# default installPhase don't install assets
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
make install PREFIX="$out" TARGET="target/${rust.toRustTarget stdenv.hostPlatform}/release/effitask"
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with 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 ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue