Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at litex 30 lines 800 B view raw
1{ lib, stdenv, openssl, fetchFromGitHub }: 2 3stdenv.mkDerivation { 4 pname = "pev"; 5 version = "unstable-2020-05-23"; 6 7 src = fetchFromGitHub { 8 owner = "merces"; 9 repo = "pev"; 10 rev = "beec2b4f09585fea919ed41ce466dee06be0b6bf"; 11 sha256 = "sha256-HrMbk9YbuqkoBBM7+rfXpqVEnd1rDl2rMePdcfU1WDg="; 12 fetchSubmodules = true; 13 }; 14 15 buildInputs = [ openssl ]; 16 17 enableParallelBuilding = true; 18 19 makeFlags = [ "prefix=$(out)" ]; 20 21 installFlags = [ "prefix=$(out)" ]; 22 23 meta = with lib; { 24 description = "A full-featured, open source, multiplatform command line toolkit to work with PE (Portable Executables) binaries"; 25 homepage = "https://pev.sourceforge.net/"; 26 license = licenses.gpl2; 27 maintainers = with maintainers; [ jeschli ]; 28 platforms = platforms.linux; 29 }; 30}