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
26
pkgs/development/tools/parse-cli-bin/default.nix
Normal file
26
pkgs/development/tools/parse-cli-bin/default.nix
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
{ lib, stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "parse-cli-bin";
|
||||
version = "3.0.5";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/ParsePlatform/parse-cli/releases/download/release_${version}/parse_linux";
|
||||
sha256 = "1iyfizbbxmr87wjgqiwqds51irgw6l3vm9wn89pc3zpj2zkyvf5h";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Parse Command Line Interface";
|
||||
homepage = "https://parse.com";
|
||||
platforms = platforms.linux;
|
||||
license = licenses.bsd3;
|
||||
};
|
||||
|
||||
dontUnpack = true;
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p "$out/bin"
|
||||
cp "$src" "$out/bin/parse"
|
||||
chmod +x "$out/bin/parse"
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue