nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at devShellTools-shell 53 lines 1.3 kB view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 autoreconfHook, 6 expat, 7 ncurses, 8 openssl, 9}: 10 11stdenv.mkDerivation { 12 pname = "boinctui"; 13 version = "2.7.1-unstable-2023-12-14"; 14 15 src = fetchFromGitHub { 16 owner = "suleman1971"; 17 repo = "boinctui"; 18 rev = "6656f288580170121f53d0e68c35077f5daa700b"; # no proper release tags unfortunaly 19 hash = "sha256-MsSTvlTt54ukQXyVi8LiMFIkv8FQJOt0q30iDxf4TsE="; 20 }; 21 22 # Fix wrong path; @docdir@ already gets replaced with the correct store path 23 postPatch = '' 24 substituteInPlace Makefile.in \ 25 --replace 'DOCDIR = $(DATAROOTDIR)@docdir@' 'DOCDIR = @docdir@' 26 ''; 27 28 outputs = [ 29 "out" 30 "man" 31 ]; 32 separateDebugInfo = stdenv.hostPlatform.isLinux; 33 34 enableParallelBuilding = true; 35 36 configureFlags = [ "--without-gnutls" ]; 37 nativeBuildInputs = [ autoreconfHook ]; 38 buildInputs = [ 39 expat 40 ncurses 41 openssl 42 ]; 43 44 meta = with lib; { 45 description = "Curses based fullscreen BOINC manager"; 46 homepage = "https://github.com/suleman1971/boinctui"; 47 changelog = "https://github.com/suleman1971/boinctui/blob/master/changelog"; 48 license = licenses.gpl3Only; 49 maintainers = with maintainers; [ christoph-heiss ]; 50 platforms = platforms.linux; 51 mainProgram = "boinctui"; 52 }; 53}