Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445{ lib, stdenv, fetchFromGitHub, python3,}:
stdenv.mkDerivation rec { pname = "dool"; version = "1.3.4";
src = fetchFromGitHub { owner = "scottchiefbaker"; repo = "dool"; rev = "v${version}"; hash = "sha256-eyWt8gWPGiU8YavX8KT018upSB6xg8eAyRZ84snrvoY="; };
buildInputs = [ python3 ];
makeFlags = [ "prefix=$(out)" ];
# fix the plugins directory postPatch = '' substituteInPlace dool \ --replace-fail \ "os.path.dirname(os.path.abspath(__file__)) + '/plugins/'" \ "'$out/share/dool/'" '';
meta = with lib; { description = "Python3 compatible clone of dstat"; homepage = "https://github.com/scottchiefbaker/dool"; changelog = "https://github.com/scottchiefbaker/dool/blob/${src.rev}/ChangeLog"; license = licenses.gpl3Plus; maintainers = with maintainers; [ figsoda ]; platforms = platforms.linux; mainProgram = "dool"; };}