lol

avra: 1.3.0 -> 1.4.2

authored by

Renaud and committed by
GitHub
7d9d09e1 3bb7adab

+11 -16
+11 -16
pkgs/development/compilers/avra/default.nix
··· 1 - { lib, stdenv, fetchurl, autoconf, automake }: 1 + { lib, stdenv, fetchFromGitHub }: 2 + 2 3 stdenv.mkDerivation rec { 3 4 pname = "avra"; 4 - version = "1.3.0"; 5 + version = "1.4.2"; 5 6 6 - src = fetchurl { 7 - url = "mirror://sourceforge/avra/avra-${version}.tar.bz2"; 8 - sha256 = "04lp0k0h540l5pmnaai07637f0p4zi766v6sfm7cryfaca3byb56"; 7 + src = fetchFromGitHub { 8 + owner = "Ro5bert"; 9 + repo = pname; 10 + rev = version; 11 + hash = "sha256-joOj89WZ9Si5fcu1w1VHj5fOcnB9N2313Yb29A+nCCY="; 9 12 }; 10 13 11 - buildInputs = [ autoconf automake ]; 14 + makeFlags = [ "PREFIX=${placeholder "out"}" ]; 12 15 13 - preConfigure = '' 14 - cd src/ 15 - 16 - aclocal 17 - autoconf 18 - 19 - touch NEWS README AUTHORS ChangeLog 20 - automake -a 21 - ''; 16 + doCheck = true; 22 17 23 18 meta = with lib; { 24 19 description = "Assembler for the Atmel AVR microcontroller family"; 25 - homepage = "http://avra.sourceforge.net/"; 20 + homepage = "https://github.com/Ro5bert/avra"; 26 21 license = licenses.gpl2Plus; 27 22 platforms = platforms.all; 28 23 };