tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
avra: 1.3.0 -> 1.4.2
authored by
Renaud
and committed by
GitHub
4 years ago
7d9d09e1
3bb7adab
+11
-16
1 changed file
expand all
collapse all
unified
split
pkgs
development
compilers
avra
default.nix
+11
-16
pkgs/development/compilers/avra/default.nix
···
1
-
{ lib, stdenv, fetchurl, autoconf, automake }:
0
2
stdenv.mkDerivation rec {
3
pname = "avra";
4
-
version = "1.3.0";
5
6
-
src = fetchurl {
7
-
url = "mirror://sourceforge/avra/avra-${version}.tar.bz2";
8
-
sha256 = "04lp0k0h540l5pmnaai07637f0p4zi766v6sfm7cryfaca3byb56";
0
0
9
};
10
11
-
buildInputs = [ autoconf automake ];
12
13
-
preConfigure = ''
14
-
cd src/
15
-
16
-
aclocal
17
-
autoconf
18
-
19
-
touch NEWS README AUTHORS ChangeLog
20
-
automake -a
21
-
'';
22
23
meta = with lib; {
24
description = "Assembler for the Atmel AVR microcontroller family";
25
-
homepage = "http://avra.sourceforge.net/";
26
license = licenses.gpl2Plus;
27
platforms = platforms.all;
28
};
···
1
+
{ lib, stdenv, fetchFromGitHub }:
2
+
3
stdenv.mkDerivation rec {
4
pname = "avra";
5
+
version = "1.4.2";
6
7
+
src = fetchFromGitHub {
8
+
owner = "Ro5bert";
9
+
repo = pname;
10
+
rev = version;
11
+
hash = "sha256-joOj89WZ9Si5fcu1w1VHj5fOcnB9N2313Yb29A+nCCY=";
12
};
13
14
+
makeFlags = [ "PREFIX=${placeholder "out"}" ];
15
16
+
doCheck = true;
0
0
0
0
0
0
0
0
17
18
meta = with lib; {
19
description = "Assembler for the Atmel AVR microcontroller family";
20
+
homepage = "https://github.com/Ro5bert/avra";
21
license = licenses.gpl2Plus;
22
platforms = platforms.all;
23
};