3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #194062 from nagy/dale-20220411

dale: 20181024 -> 20220411
This commit is contained in:
Jörg Thalheim 2022-10-02 17:31:47 +02:00 committed by GitHub
commit f6e1d325d4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,26 +3,24 @@
, cmake
, pkg-config
, libffi
, llvm_6
, doCheck ? false
, llvm_13
, perl
}:
stdenv.mkDerivation {
pname = "dale";
version = "20181024";
version = "20220411";
src = fetchFromGitHub {
owner = "tomhrr";
repo = "dale";
rev = "f5db8b486f4e7c423fc25941a8315f1209bc0e54";
sha256 = "0v4ajrzrqvf279kd7wsd9flrpsav57lzxlwwimk9vnfwh7xpzf9v";
rev = "7386ef2d8912c60c6fb157a1e5cd772e15eaf658";
sha256 = "sha256-LNWqrFuEjtL7zuPTBfe4qQWr8IrT/ldQWSeDTK3Wqmo=";
};
nativeBuildInputs = [ cmake pkg-config llvm_6.dev ];
buildInputs = [ libffi llvm_6 ];
nativeBuildInputs = [ cmake pkg-config llvm_13.dev ];
buildInputs = [ libffi llvm_13 ];
inherit doCheck;
checkInputs = [ perl ];
checkTarget = "tests";
@ -36,8 +34,7 @@ stdenv.mkDerivation {
homepage = "https://github.com/tomhrr/dale";
license = licenses.bsd3;
maintainers = with maintainers; [ amiloradovsky ];
platforms = [ "i686-linux" "x86_64-linux" ];
platforms = [ "i686-linux" "x86_64-linux" "aarch64-linux" ];
# failed on Darwin: linker couldn't find the FFI lib
# failed on AArch64: because LLVM 3.5 is failed there
};
}