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
45
pkgs/desktops/gnome/extensions/taskwhisperer/default.nix
Normal file
45
pkgs/desktops/gnome/extensions/taskwhisperer/default.nix
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
{ lib, stdenv, substituteAll, fetchFromGitHub, taskwarrior, gettext, runtimeShell }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "gnome-shell-extension-taskwhisperer";
|
||||
version = "20";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "cinatic";
|
||||
repo = "taskwhisperer";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-UVBLFXsbOPRXC4P5laZ82Rs08yXnNnzJ+pp5fbx6Zqc=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
gettext
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
taskwarrior
|
||||
];
|
||||
|
||||
passthru = {
|
||||
extensionUuid = "taskwhisperer-extension@infinicode.de";
|
||||
extensionPortalSlug = "taskwhisperer";
|
||||
};
|
||||
|
||||
makeFlags = [
|
||||
"INSTALLBASE=${placeholder "out"}/share/gnome-shell/extensions"
|
||||
];
|
||||
|
||||
patches = [
|
||||
(substituteAll {
|
||||
src = ./fix-paths.patch;
|
||||
task = "${taskwarrior}/bin/task";
|
||||
shell = runtimeShell;
|
||||
})
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "GNOME Shell TaskWarrior GUI";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ jonafato ];
|
||||
homepage = "https://github.com/cinatic/taskwhisperer";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue