mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 19:51:17 +00:00
Merge pull request #276541 from christoph-heiss/init/boinctui
boinctui: init at 2.7.1
This commit is contained in:
commit
39290cda61
38
pkgs/by-name/bo/boinctui/package.nix
Normal file
38
pkgs/by-name/bo/boinctui/package.nix
Normal file
|
@ -0,0 +1,38 @@
|
|||
{ lib, stdenv, fetchFromGitHub, autoreconfHook, expat, ncurses, openssl }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "boinctui";
|
||||
version = "2.7.1-unstable-2023-12-14";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "suleman1971";
|
||||
repo = "boinctui";
|
||||
rev = "6656f288580170121f53d0e68c35077f5daa700b"; # no proper release tags unfortunaly
|
||||
hash = "sha256-MsSTvlTt54ukQXyVi8LiMFIkv8FQJOt0q30iDxf4TsE=";
|
||||
};
|
||||
|
||||
# Fix wrong path; @docdir@ already gets replaced with the correct store path
|
||||
postPatch = ''
|
||||
substituteInPlace Makefile.in \
|
||||
--replace 'DOCDIR = $(DATAROOTDIR)@docdir@' 'DOCDIR = @docdir@'
|
||||
'';
|
||||
|
||||
outputs = [ "out" "man" ];
|
||||
separateDebugInfo = stdenv.isLinux;
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
configureFlags = [ "--without-gnutls" ];
|
||||
nativeBuildInputs = [ autoreconfHook ];
|
||||
buildInputs = [ expat ncurses openssl ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Curses based fullscreen BOINC manager";
|
||||
homepage = "https://github.com/suleman1971/boinctui";
|
||||
changelog = "https://github.com/suleman1971/boinctui/blob/master/changelog";
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = with maintainers; [ christoph-heiss ];
|
||||
platforms = platforms.linux;
|
||||
mainProgram = "boinctui";
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue