self: 4.5.0 -> 2017.1
This commit is contained in:
parent
b09a961ddf
commit
07c276703a
|
@ -1,6 +1,6 @@
|
||||||
{ fetchgit, stdenv, xorg, makeWrapper, ncurses, cmake }:
|
{ stdenv, fetchFromGitHub, libX11, libXext, makeWrapper, ncurses, cmake }:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation rec {
|
||||||
# The Self wrapper stores source in $XDG_DATA_HOME/self or ~/.local/share/self
|
# 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'
|
# 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:
|
# after installation runs without an image. You can then build a Self image with:
|
||||||
|
@ -11,16 +11,18 @@ stdenv.mkDerivation {
|
||||||
# This image can later be started with:
|
# This image can later be started with:
|
||||||
# $ Self -s myimage.snap
|
# $ Self -s myimage.snap
|
||||||
#
|
#
|
||||||
version = "4.5.0";
|
|
||||||
pname = "self";
|
pname = "self";
|
||||||
|
version = "2017.1";
|
||||||
|
|
||||||
src = fetchgit {
|
src = fetchFromGitHub {
|
||||||
url = "https://github.com/russellallen/self";
|
owner = "russellallen";
|
||||||
rev = "d16bcaad3c5092dae81ad0b16d503f2a53b8ef86";
|
repo = pname;
|
||||||
sha256 = "1dhs6209407j0ll9w9id31vbawdrm9nz1cjak8g8hixrw1nid4i5";
|
rev = version;
|
||||||
|
sha256 = "C/1Q6yFmoXx2F97xuvkm8DxFmmvuBS7uYZOxq/CRNog=";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ ncurses xorg.libX11 xorg.libXext makeWrapper cmake ];
|
nativeBuildInputs = [ cmake makeWrapper ];
|
||||||
|
buildInputs = [ ncurses libX11 libXext ];
|
||||||
|
|
||||||
selfWrapper = ./self;
|
selfWrapper = ./self;
|
||||||
|
|
||||||
|
@ -33,12 +35,11 @@ stdenv.mkDerivation {
|
||||||
--set SELF_ROOT "$out"
|
--set SELF_ROOT "$out"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = with stdenv.lib; {
|
||||||
description = "A prototype-based dynamic object-oriented programming language, environment, and virtual machine";
|
description = "A prototype-based dynamic object-oriented programming language, environment, and virtual machine";
|
||||||
homepage = "https://selflanguage.org/";
|
homepage = "https://selflanguage.org/";
|
||||||
license = stdenv.lib.licenses.bsd3;
|
license = licenses.bsd3;
|
||||||
maintainers = [ stdenv.lib.maintainers.doublec ];
|
maintainers = [ maintainers.doublec ];
|
||||||
platforms = with stdenv.lib.platforms; linux;
|
platforms = platforms.linux;
|
||||||
broken = true; # segfaults on gcc > 4.4
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue