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
32
pkgs/desktops/lumina/lumina-calculator/default.nix
Normal file
32
pkgs/desktops/lumina/lumina-calculator/default.nix
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
{ lib, mkDerivation, fetchFromGitHub, qmake, qtbase, qttools }:
|
||||
|
||||
mkDerivation rec {
|
||||
pname = "lumina-calculator";
|
||||
version = "1.6.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "lumina-desktop";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "1238d1m0mjkwkdpgq165a4ql9aql0aji5f41rzdzny6m7ws9nm2y";
|
||||
};
|
||||
|
||||
sourceRoot = "source/src-qt5";
|
||||
|
||||
nativeBuildInputs = [ qmake qttools ];
|
||||
|
||||
buildInputs = [ qtbase ];
|
||||
|
||||
qmakeFlags = [
|
||||
"CONFIG+=WITH_I18N"
|
||||
"LRELEASE=${lib.getDev qttools}/bin/lrelease"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Scientific calculator for the Lumina Desktop";
|
||||
homepage = "https://github.com/lumina-desktop/lumina-calculator";
|
||||
license = licenses.bsd3;
|
||||
platforms = platforms.unix;
|
||||
maintainers = teams.lumina.members;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue