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
46
pkgs/tools/graphics/scrot/default.nix
Normal file
46
pkgs/tools/graphics/scrot/default.nix
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, imlib2
|
||||
, xlibsWrapper
|
||||
, autoreconfHook
|
||||
, autoconf-archive
|
||||
, libXfixes
|
||||
, libXcomposite
|
||||
, pkg-config
|
||||
, libbsd
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "scrot";
|
||||
version = "1.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "resurrecting-open-source-projects";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-oVmEPkEK1xDcIRUQjCp6CKf+aKnnVe3L7aRTdSsCmmY=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoreconfHook
|
||||
autoconf-archive
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
imlib2
|
||||
xlibsWrapper
|
||||
libXfixes
|
||||
libXcomposite
|
||||
libbsd
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/resurrecting-open-source-projects/scrot";
|
||||
description = "A command-line screen capture utility";
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ globin ];
|
||||
license = licenses.mitAdvertising;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue