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
29
pkgs/tools/graphics/imgur-screenshot/default.nix
Normal file
29
pkgs/tools/graphics/imgur-screenshot/default.nix
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{ lib, stdenv, fetchFromGitHub, makeWrapper, curl, jq, gnugrep, libnotify, scrot, which, xclip }:
|
||||
|
||||
let deps = lib.makeBinPath [ curl jq gnugrep libnotify scrot which xclip ];
|
||||
in stdenv.mkDerivation rec {
|
||||
version = "2.0.0";
|
||||
pname = "imgur-screenshot";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jomo";
|
||||
repo = "imgur-screenshot";
|
||||
rev = "v${version}";
|
||||
sha256 = "0fkhvfraijbrw806pgij41bn1hc3r7l7l3snkicmshxj83lmsd5k";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
installPhase = ''
|
||||
install -Dm755 imgur-screenshot $out/bin/imgur-screenshot
|
||||
wrapProgram $out/bin/imgur-screenshot --prefix PATH ':' ${deps}
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A tool for easy screencapping and uploading to imgur";
|
||||
homepage = "https://github.com/jomo/imgur-screenshot/";
|
||||
platforms = platforms.linux;
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ lw ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue