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
35
pkgs/development/web/shopify-cli/default.nix
Normal file
35
pkgs/development/web/shopify-cli/default.nix
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
{ stdenv, lib, bundlerEnv, bundlerUpdateScript, makeWrapper, ruby }:
|
||||
|
||||
let
|
||||
rubyEnv = bundlerEnv {
|
||||
name = "shopify-cli";
|
||||
gemdir = ./.;
|
||||
};
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "shopify-cli";
|
||||
version = (import ./gemset.nix).shopify-cli.version;
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
dontUnpack = true;
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
makeWrapper ${rubyEnv}/bin/shopify $out/bin/shopify
|
||||
wrapProgram $out/bin/shopify \
|
||||
--prefix PATH : ${lib.makeBinPath [ ruby ]}
|
||||
'';
|
||||
|
||||
passthru.updateScript = bundlerUpdateScript "shopify-cli";
|
||||
|
||||
meta = with lib; {
|
||||
description = "CLI which helps you build against the Shopify platform faster";
|
||||
homepage = "https://github.com/Shopify/shopify-cli";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ onny ];
|
||||
mainProgram = "shopify";
|
||||
platforms = ruby.meta.platforms;
|
||||
};
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue