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
33
pkgs/development/chez-modules/chez-scmutils/default.nix
Normal file
33
pkgs/development/chez-modules/chez-scmutils/default.nix
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
{ stdenv, lib, fetchFromGitHub, chez, chez-srfi, chez-mit }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "chez-scmutils";
|
||||
version = "0.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "fedeinthemix";
|
||||
repo = "chez-scmutils";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-9GBoHbLNEnPz81s2rBYO3S0bXldetwc8eu9i5CgvYFE=";
|
||||
};
|
||||
|
||||
buildInputs = [ chez chez-srfi chez-mit ];
|
||||
|
||||
buildPhase = ''
|
||||
make PREFIX=$out CHEZ=${chez}/bin/scheme
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
make install PREFIX=$out CHEZ=${chez}/bin/scheme
|
||||
'';
|
||||
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "This is a port of the ‘MIT Scmutils’ library to Chez Scheme";
|
||||
homepage = "https://github.com/fedeinthemix/chez-scmutils/";
|
||||
maintainers = [ maintainers.jitwit ];
|
||||
license = licenses.gpl3;
|
||||
};
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue