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
|
|
@ -0,0 +1,34 @@
|
|||
{ lib, gccStdenv, fetchFromGitHub, ncurses }:
|
||||
|
||||
gccStdenv.mkDerivation rec {
|
||||
pname = "programmer-calculator";
|
||||
version = "2.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "alt-romes";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-JQcYCYKdjdy8U2XMFzqTH9kAQ7CFv0r+sC1YfuAm7p8=";
|
||||
};
|
||||
|
||||
buildInputs = [ ncurses ];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
install -Dm 555 pcalc -t "$out/bin"
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A terminal calculator for programmers";
|
||||
longDescription = ''
|
||||
Terminal calculator made for programmers working with multiple number
|
||||
representations, sizes, and overall close to the bits
|
||||
'';
|
||||
homepage = "https://alt-romes.github.io/programmer-calculator";
|
||||
changelog = "https://github.com/alt-romes/programmer-calculator/releases/tag/v${version}";
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = with lib.maintainers; [ cjab ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue