Merge pull request #202055 from krav/k/deprecate-sleepyhead

Remove sleepyhead
This commit is contained in:
Anderson Torres 2022-11-20 18:56:49 -03:00 committed by GitHub
commit 7b42f65464
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 1 additions and 48 deletions

View file

@ -1,45 +0,0 @@
{ lib, stdenv, mkDerivation, fetchgit, zlib, libGLU, libX11, qtbase, qtwebkit, qtserialport, wrapQtAppsHook }:
mkDerivation {
pname = "sleepyhead";
version = "1.0.0-beta-git";
src = fetchgit {
url = "https://gitlab.com/sleepyhead/sleepyhead-code.git";
rev = "9e2329d8bca45693231b5e3dae80063717c24578";
sha256 = "0448z8gyaxpgpnksg34lzmffj36jdpm0ir4xxa5gvzagkx0wk07h";
};
buildInputs = [
qtbase qtwebkit qtserialport
zlib
libGLU
libX11
];
nativeBuildInputs = [ wrapQtAppsHook ];
patchPhase = ''
patchShebangs configure
'';
installPhase = if stdenv.isDarwin then ''
mkdir -p $out/Applications
cp -r sleepyhead/SleepyHead.app $out/Applications
'' else ''
mkdir -p $out/bin
cp sleepyhead/SleepyHead $out/bin
'';
meta = with 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

@ -1355,6 +1355,7 @@ mapAliases ({
skype4pidgin = throw "skype4pidgin has been remove from nixpkgs, because it stopped working when classic Skype was retired"; # Added 2021-07-14 skype4pidgin = throw "skype4pidgin has been remove from nixpkgs, because it stopped working when classic Skype was retired"; # Added 2021-07-14
skype_call_recorder = throw "skype_call_recorder has been removed from nixpkgs, because it stopped working when classic Skype was retired"; # Added 2020-10-31 skype_call_recorder = throw "skype_call_recorder has been removed from nixpkgs, because it stopped working when classic Skype was retired"; # Added 2020-10-31
slack-dark = slack; # Added 2020-03-27 slack-dark = slack; # Added 2020-03-27
sleepyhead = throw "'sleepyhead' has been renamed to/replaced by 'OSCAR'"; # Added 2022-11-20
slic3r-prusa3d = throw "'slic3r-prusa3d' has been renamed to/replaced by 'prusa-slicer'"; # Converted to throw 2022-02-22 slic3r-prusa3d = throw "'slic3r-prusa3d' has been renamed to/replaced by 'prusa-slicer'"; # Converted to throw 2022-02-22
slurm-full = throw "'slurm-full' has been renamed to/replaced by 'slurm'"; # Converted to throw 2022-02-22 slurm-full = throw "'slurm-full' has been renamed to/replaced by 'slurm'"; # Converted to throw 2022-02-22
slurm-llnl = slurm; # renamed July 2017 slurm-llnl = slurm; # renamed July 2017

View file

@ -11458,9 +11458,6 @@ with pkgs;
sleuthkit = callPackage ../tools/system/sleuthkit {}; sleuthkit = callPackage ../tools/system/sleuthkit {};
# Not updated upstream since 2018, doesn't support qt newer than 5.12
sleepyhead = libsForQt512.callPackage ../applications/misc/sleepyhead {};
slides = callPackage ../applications/misc/slides { }; slides = callPackage ../applications/misc/slides { };
slirp4netns = callPackage ../tools/networking/slirp4netns { }; slirp4netns = callPackage ../tools/networking/slirp4netns { };