mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03:00
cone: init at unstable-2021-07-25
This commit is contained in:
parent
beb353c776
commit
1c9dda8a9b
42
pkgs/development/compilers/cone/default.nix
Normal file
42
pkgs/development/compilers/cone/default.nix
Normal file
@ -0,0 +1,42 @@
|
||||
{ llvmPackages
|
||||
, lib
|
||||
, fetchFromGitHub
|
||||
, cmake
|
||||
}:
|
||||
|
||||
llvmPackages.stdenv.mkDerivation rec {
|
||||
pname = "cone";
|
||||
version = "unstable-2021-07-25";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jondgoodwin";
|
||||
repo = pname;
|
||||
rev = "5feaabc342bcff3755f638a7e25155cd12127592";
|
||||
sha256 = "CTDS83AWtuDY5g6NDn7O2awrYsKFf3Kp35FkMEjfbVw=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
buildInputs = [
|
||||
llvmPackages.llvm
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
sed -i CMakeLists.txt \
|
||||
-e 's/LLVM 7/LLVM/' \
|
||||
-e '/AVR/d'
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
install -Dm755 conec $out/bin/conec
|
||||
install -Dm644 libconestd.a $out/lib/libconestd.a
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Cone Programming Language";
|
||||
homepage = "https://cone.jondgoodwin.com";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ luc65r ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
@ -3958,6 +3958,10 @@ in
|
||||
|
||||
compass = callPackage ../development/tools/compass { };
|
||||
|
||||
cone = callPackage ../development/compilers/cone {
|
||||
llvmPackages = llvmPackages_7;
|
||||
};
|
||||
|
||||
conda = callPackage ../tools/package-management/conda { };
|
||||
|
||||
console-bridge = callPackage ../development/libraries/console-bridge { };
|
||||
|
Loading…
Reference in New Issue
Block a user