mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
barracuda: init at 0.5 (#525969)
This commit is contained in:
commit
1dc4ce7bf3
1 changed files with 46 additions and 0 deletions
46
pkgs/by-name/ba/barracuda/package.nix
Normal file
46
pkgs/by-name/ba/barracuda/package.nix
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
versionCheckHook,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "barracuda";
|
||||
version = "0.5.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Zaneham";
|
||||
repo = "BarraCUDA";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-WQGnW7fpTIJuUkf9OYWPPWbE4VMhfff32bKGR9e01oQ=";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
__structuredAttrs = true;
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -Dm755 barracuda -t $out/bin
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
doInstallCheck = true;
|
||||
nativeInstallCheckInputs = [
|
||||
versionCheckHook
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Multi architecture, multi language compiler with the intended goal of allowing for cross platform development on GPU's and CPU's";
|
||||
homepage = "https://github.com/Zaneham/BarraCUDA";
|
||||
changelog = "https://github.com/Zaneham/BarraCUDA/releases/tag/${finalAttrs.src.tag}";
|
||||
maintainers = with lib.maintainers; [ dstremur ];
|
||||
license = lib.licenses.asl20;
|
||||
platforms = [ "x86_64-linux" ];
|
||||
mainProgram = "barracuda";
|
||||
};
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue