Merge pull request #38656 from krav/master

sleepyhead: init at 1.0.0-beta
This commit is contained in:
Matthew Justin Bauer 2018-04-19 12:20:52 -05:00 committed by GitHub
commit 6548559061
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 49 additions and 0 deletions

View file

@ -1971,6 +1971,11 @@
github = "kragniz";
name = "Louis Taylor";
};
krav = {
email = "kristoffer@microdisko.no";
github = "krav";
name = "Kristoffer Thømt Ravneberg";
};
kristoff3r = {
email = "k.soeholm@gmail.com";
github = "kristoff3r";

View file

@ -0,0 +1,42 @@
{ stdenv, fetchgit, qt5, zlib, libGLU, libX11 }:
let
name = "sleepyhead-${version}";
version = "1.0.0-beta-git";
in stdenv.mkDerivation {
inherit name;
src = fetchgit {
url = https://gitlab.com/sleepyhead/sleepyhead-code.git;
rev = "9e2329d8bca45693231b5e3dae80063717c24578";
sha256 = "0448z8gyaxpgpnksg34lzmffj36jdpm0ir4xxa5gvzagkx0wk07h";
};
buildInputs = [
qt5.qtbase qt5.qtwebkit qt5.qtserialport
zlib
libGLU
libX11
];
patchPhase = ''
patchShebangs configure
'';
installPhase = ''
mkdir -p $out/bin
cp sleepyhead/SleepyHead $out/bin
'';
meta = with stdenv.lib; {
homepage = https://sleepyhead.jedimark.net/;
description = "Review and explore data produced by CPAP and related machines";
longDescription = ''
SleepyHead is cross platform, opensource sleep tracking program for reviewing CPAP and Oximetry data, which are devices used in the treatment of Sleep Disorders like Obstructive Sleep Apnea.
'';
license = licenses.gpl3;
platforms = platforms.all;
maintainers = [ maintainers.krav ];
};
}

View file

@ -4857,6 +4857,8 @@ with pkgs;
sleuthkit = callPackage ../tools/system/sleuthkit {};
sleepyhead = callPackage ../applications/misc/sleepyhead {};
slimrat = callPackage ../tools/networking/slimrat {
inherit (perlPackages) WWWMechanize LWP;
};