2022-01-20 18:25:45 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub }:
|
|
|
|
|
2013-08-14 22:37:17 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2021-08-15 15:28:33 +01:00
|
|
|
pname = "avra";
|
2022-01-20 18:25:45 +00:00
|
|
|
version = "1.4.2";
|
2013-08-14 22:37:17 +01:00
|
|
|
|
2022-01-20 18:25:45 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Ro5bert";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
|
|
|
hash = "sha256-joOj89WZ9Si5fcu1w1VHj5fOcnB9N2313Yb29A+nCCY=";
|
2013-08-14 22:37:17 +01:00
|
|
|
};
|
|
|
|
|
2022-01-20 18:25:45 +00:00
|
|
|
makeFlags = [ "PREFIX=${placeholder "out"}" ];
|
2013-08-14 22:37:17 +01:00
|
|
|
|
2022-01-20 18:25:45 +00:00
|
|
|
doCheck = true;
|
2013-08-14 22:37:17 +01:00
|
|
|
|
2021-01-22 11:25:31 +00:00
|
|
|
meta = with lib; {
|
2017-11-10 21:48:33 +00:00
|
|
|
description = "Assembler for the Atmel AVR microcontroller family";
|
2022-01-20 18:25:45 +00:00
|
|
|
homepage = "https://github.com/Ro5bert/avra";
|
2013-09-26 20:37:49 +01:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.all;
|
2013-08-14 22:37:17 +01:00
|
|
|
};
|
|
|
|
}
|