uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
45
pkgs/applications/misc/sleepyhead/default.nix
Normal file
45
pkgs/applications/misc/sleepyhead/default.nix
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
{ 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 ];
|
||||
};
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue