Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, stdenv, fetchFromGitHub }: 2 3stdenv.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; 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 }; 24}