Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at release-19.03 31 lines 765 B view raw
1{ stdenv, lib, fetchFromGitHub, python3Packages }: 2 3with python3Packages; 4 5buildPythonApplication rec { 6 name = "cppclean-unstable-${version}"; 7 version = "2018-05-12"; 8 9 src = fetchFromGitHub { 10 owner = "myint"; 11 repo = "cppclean"; 12 rev = "e7da41eca5e1fd2bd1dddd6655e50128bb96dc28"; 13 sha256 = "0pymh6r7y19bwcypfkmgwyixrx36pmz338jd83yrjflsbjlriqm4"; 14 }; 15 16 postUnpack = '' 17 patchShebangs . 18 ''; 19 20 checkPhase = '' 21 ./test.bash 22 ''; 23 24 meta = with stdenv.lib; { 25 description = "Finds problems in C++ source that slow development of large code bases"; 26 homepage = https://github.com/myint/cppclean; 27 license = licenses.asl20; 28 maintainers = with maintainers; [ nthorne ]; 29 platforms = platforms.linux; 30 }; 31}