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/interpreters/self/default.nix
Normal file
45
pkgs/development/interpreters/self/default.nix
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
{ lib, stdenv, fetchFromGitHub, libX11, libXext, makeWrapper, ncurses, cmake }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
# The Self wrapper stores source in $XDG_DATA_HOME/self or ~/.local/share/self
|
||||
# so that it can be written to when using the Self transposer. Running 'Self'
|
||||
# after installation runs without an image. You can then build a Self image with:
|
||||
# $ cd ~/.local/share/self/objects
|
||||
# $ Self
|
||||
# > 'worldBuilder.self' _RunScript
|
||||
#
|
||||
# This image can later be started with:
|
||||
# $ Self -s myimage.snap
|
||||
#
|
||||
pname = "self";
|
||||
version = "2017.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "russellallen";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "C/1Q6yFmoXx2F97xuvkm8DxFmmvuBS7uYZOxq/CRNog=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake makeWrapper ];
|
||||
buildInputs = [ ncurses libX11 libXext ];
|
||||
|
||||
selfWrapper = ./self;
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p "$out"/bin
|
||||
cp ./vm/Self "$out"/bin/Self.wrapped
|
||||
mkdir -p "$out"/share/self
|
||||
cp -r ../objects "$out"/share/self/
|
||||
makeWrapper $selfWrapper $out/bin/Self \
|
||||
--set SELF_ROOT "$out"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A prototype-based dynamic object-oriented programming language, environment, and virtual machine";
|
||||
homepage = "https://selflanguage.org/";
|
||||
license = licenses.bsd3;
|
||||
maintainers = [ maintainers.doublec ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue