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
42
pkgs/development/compilers/inklecate/default.nix
Normal file
42
pkgs/development/compilers/inklecate/default.nix
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, autoPatchelfHook
|
||||
, buildDotnetModule
|
||||
, dotnetCorePackages
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
buildDotnetModule rec {
|
||||
pname = "inklecate";
|
||||
version = "1.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "inkle";
|
||||
repo = "ink";
|
||||
rev = "v${version}";
|
||||
sha256 = "00lagmwsbxap5mgnw4gndpavmv3xsgincdaq1zvw7fkc3vn3pxqc";
|
||||
};
|
||||
|
||||
nativeBuildInputs = lib.optionals stdenv.isLinux [ autoPatchelfHook ];
|
||||
buildInputs = [ stdenv.cc.cc.lib ];
|
||||
|
||||
projectFile = "inklecate/inklecate.csproj";
|
||||
nugetDeps = if stdenv.isDarwin then ./deps-darwin.nix else ./deps-linux.nix;
|
||||
executables = [ "inklecate" ];
|
||||
|
||||
dotnet-runtime = dotnetCorePackages.runtime_3_1;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Compiler for ink, inkle's scripting language";
|
||||
longDescription = ''
|
||||
Inklecate is a command-line compiler for ink, inkle's open source
|
||||
scripting language for writing interactive narrative
|
||||
'';
|
||||
homepage = "https://www.inklestudios.com/ink/";
|
||||
downloadPage = "https://github.com/inkle/ink/";
|
||||
license = licenses.mit;
|
||||
platforms = platforms.unix;
|
||||
badPlatforms = platforms.aarch64;
|
||||
maintainers = with maintainers; [ shreerammodi ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue