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/development/tools/icr/default.nix
Normal file
45
pkgs/development/tools/icr/default.nix
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
{ lib
|
||||
, fetchFromGitHub
|
||||
, crystal
|
||||
, shards
|
||||
, makeWrapper
|
||||
, pkg-config
|
||||
, which
|
||||
, openssl
|
||||
, readline
|
||||
, libyaml
|
||||
, zlib
|
||||
}:
|
||||
|
||||
crystal.buildCrystalPackage rec {
|
||||
pname = "icr";
|
||||
version = "unstable-2021-03-14";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "crystal-community";
|
||||
repo = "icr";
|
||||
rev = "b6b335f40aff4c2c07d21250949935e8259f7d1b";
|
||||
sha256 = "sha256-Qoy37lCdHFnMAuuqyB9uT15/RLllksFyApYAGy+RmDs=";
|
||||
};
|
||||
|
||||
shardsFile = ./shards.nix;
|
||||
|
||||
buildInputs = [ libyaml openssl readline zlib ];
|
||||
|
||||
nativeBuildInputs = [ makeWrapper pkg-config which ];
|
||||
|
||||
# tests are failing due to our sandbox
|
||||
doCheck = false;
|
||||
|
||||
postFixup = ''
|
||||
wrapProgram $out/bin/icr \
|
||||
--prefix PATH : ${lib.makeBinPath [ crystal shards makeWrapper which ]}
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Interactive console for the Crystal programming language";
|
||||
homepage = "https://github.com/crystal-community/icr";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ peterhoeg ];
|
||||
};
|
||||
}
|
||||
8
pkgs/development/tools/icr/shards.nix
Normal file
8
pkgs/development/tools/icr/shards.nix
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
readline = {
|
||||
owner = "crystal-lang";
|
||||
repo = "crystal-readline";
|
||||
rev = "0fb7d186da8e1b157998d98d1c96e99699b791eb";
|
||||
sha256 = "1rk27vw3ssldgnfgprwvz2gag02v4g6d6yg56b3sk9w3fn8jyyi8";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue