lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at master 44 lines 941 B view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 python3, 6}: 7 8stdenv.mkDerivation rec { 9 pname = "dool"; 10 version = "1.3.8"; 11 12 src = fetchFromGitHub { 13 owner = "scottchiefbaker"; 14 repo = "dool"; 15 rev = "v${version}"; 16 hash = "sha256-aIGYv8UAC3toQe21xdtPUnsnrJhzbvQLfN/pPU3L2J0="; 17 }; 18 19 buildInputs = [ 20 python3 21 ]; 22 23 makeFlags = [ 24 "prefix=$(out)" 25 ]; 26 27 # fix the plugins directory 28 postPatch = '' 29 substituteInPlace dool \ 30 --replace-fail \ 31 "os.path.dirname(os.path.abspath(__file__)) + '/plugins/'" \ 32 "'$out/share/dool/'" 33 ''; 34 35 meta = with lib; { 36 description = "Python3 compatible clone of dstat"; 37 homepage = "https://github.com/scottchiefbaker/dool"; 38 changelog = "https://github.com/scottchiefbaker/dool/blob/${src.rev}/ChangeLog"; 39 license = licenses.gpl3Plus; 40 maintainers = with maintainers; [ figsoda ]; 41 platforms = platforms.linux; 42 mainProgram = "dool"; 43 }; 44}