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:
Anton Arapov 2021-04-03 12:58:10 +02:00 committed by Alan Daniels
commit 56de2bcd43
30691 changed files with 3076956 additions and 0 deletions

View file

@ -0,0 +1,41 @@
{ lib, stdenv, buildEnv, fetchurl, mono }:
let
version = "1.0.0";
drv = stdenv.mkDerivation {
pname = "keepass-charactercopy";
inherit version;
src = fetchurl {
url = "https://github.com/SketchingDev/Character-Copy/releases/download/v${version}/CharacterCopy.plgx";
sha256 = "f8a81a60cd1aacc04c92a242479a8e4210452add019c52ebfbb1810b58d8800a";
};
dontUnpack = true;
installPhase = ''
mkdir -p $out/lib/dotnet/keepass/
cp $src $out/lib/dotnet/keepass/
'';
meta = with lib; {
description = "Enables KeePass to copy individual characters by index";
longDescription = ''
Character Copy is a lightweight KeePass plugin that integrates into KeePass' entry menu and
allows users to securely copy individual characters from
an entry's protected string fields, such as the password field
'';
homepage = "https://github.com/SketchingDev/Character-Copy";
platforms = [
"aarch64-linux"
"i686-linux"
"x86_64-linux"
];
# licensing info was found in source files https://github.com/SketchingDev/Character-Copy/search?q=license
license = licenses.gpl2;
maintainers = with maintainers; [ nazarewk ];
};
};
in
# Mono is required to compile plugin at runtime, after loading.
buildEnv { name = drv.name; paths = [ mono drv ]; }

View file

@ -0,0 +1,32 @@
{ lib, stdenv, buildEnv, fetchzip, mono }:
let
version = "0.12.0";
drv = stdenv.mkDerivation {
pname = "keeagent";
inherit version;
src = fetchzip {
url = "https://lechnology.com/wp-content/uploads/2020/05/KeeAgent_v0.12.0.zip";
sha256 = "0fcfbj3yikiv3dmp69236h9r3c416amdq849kn131w1129gb68xd";
stripRoot = false;
};
meta = {
description = "KeePass plugin to allow other programs to access SSH keys stored in a KeePass database for authentication";
homepage = "http://lechnology.com/software/keeagent";
platforms = with lib.platforms; linux;
license = lib.licenses.gpl2;
maintainers = [ ];
};
pluginFilename = "KeeAgent.plgx";
installPhase = ''
mkdir -p $out/lib/dotnet/keepass/
cp $pluginFilename $out/lib/dotnet/keepass/$pluginFilename
'';
};
in
# Mono is required to compile plugin at runtime, after loading.
buildEnv { name = drv.name; paths = [ mono drv ]; }

View file

@ -0,0 +1,34 @@
{ lib, stdenv, buildEnv, fetchFromGitHub, mono }:
let
version = "1.8.4.2";
drv = stdenv.mkDerivation {
pname = "keepasshttp";
inherit version;
src = fetchFromGitHub {
owner = "pfn";
repo = "keepasshttp";
# rev = version;
# for 1.8.4.2 the tag is at the wrong commit (they fixed stuff
# afterwards and didn't move the tag), hence reference by commitid
rev = "c2c4eb5388a02169400cba7a67be325caabdcc37";
sha256 = "0bkzxggbqx7sql3sp46bqham6r457in0vrgh3ai3lw2jrw79pwmh";
};
meta = {
description = "KeePass plugin to expose password entries securely (256bit AES/CBC) over HTTP";
homepage = "https://github.com/pfn/keepasshttp";
platforms = with lib.platforms; linux;
license = lib.licenses.gpl3;
};
pluginFilename = "KeePassHttp.plgx";
installPhase = ''
mkdir -p $out/lib/dotnet/keepass/
cp $pluginFilename $out/lib/dotnet/keepass/$pluginFilename
'';
};
in
# Mono is required to compile plugin at runtime, after loading.
buildEnv { name = drv.name; paths = [ mono drv ]; }

View file

@ -0,0 +1,36 @@
{ lib, stdenv, buildEnv, fetchurl, mono }:
let
version = "1.14.0";
drv = stdenv.mkDerivation {
pname = "keepassrpc";
inherit version;
src = fetchurl {
url = "https://github.com/kee-org/keepassrpc/releases/download/v${version}/KeePassRPC.plgx";
sha256 = "1c410cc93c0252e7cfdb02507b8172c13e18d12c97f08630b721d897dc9b8b24";
};
meta = with lib; {
description = "The KeePassRPC plugin that needs to be installed inside KeePass in order for Kee to be able to connect your browser to your passwords";
homepage = "https://github.com/kee-org/keepassrpc";
platforms = [ "x86_64-linux" ];
license = licenses.gpl2;
maintainers = with maintainers; [ mjanczyk svsdep mgregoire ];
};
pluginFilename = "KeePassRPC.plgx";
unpackCmd = ''
mkdir deps/
cp -p $src deps/$pluginFilename
'';
sourceRoot = "deps";
installPhase = ''
mkdir -p $out/lib/dotnet/keepass/
cp $pluginFilename $out/lib/dotnet/keepass/$pluginFilename
'';
};
in
# Mono is required to compile plugin at runtime, after loading.
buildEnv { name = drv.name; paths = [ mono drv ]; }

View file

@ -0,0 +1,40 @@
{ lib, stdenv, buildEnv, fetchurl, mono }:
let
version = "0.108.0";
drv = stdenv.mkDerivation {
pname = "keepass-keetraytotp";
inherit version;
src = fetchurl {
url = "https://github.com/KeeTrayTOTP/KeeTrayTOTP/releases/download/v${version}/KeeTrayTOTP.plgx";
sha256 = "4f7251a9bbb79cad04aee96d1809c6b36d43285a9f3834fef5330fc97ae8bc09";
};
dontUnpack = true;
installPhase = ''
mkdir -p $out/lib/dotnet/keepass/
cp $src $out/lib/dotnet/keepass/
'';
meta = with lib; {
description = "Augments KeePass with TOTP user interface";
longDescription = ''
This KeePass2 plugin adds advanced support for generating Time-based One-Time Passwords (TOTPs)
from the KeePass tray icon. It also provides a column in the main entry list to display and/or use TOTPs.
TOTPs can also be sent by auto-type. The plugin is compatible with Google, Dropbox, Steam, and many more services.
'';
homepage = "https://github.com/KeeTrayTOTP/KeeTrayTOTP";
platforms = [
"aarch64-linux"
"i686-linux"
"x86_64-linux"
];
license = licenses.gpl3;
maintainers = with maintainers; [ nazarewk ];
};
};
in
# Mono is required to compile plugin at runtime, after loading.
buildEnv { name = drv.name; paths = [ mono drv ]; }

View file

@ -0,0 +1,32 @@
{ lib, stdenv, buildEnv, fetchzip, mono }:
let
version = "2.6";
drv = stdenv.mkDerivation {
pname = "otpkeyprov";
inherit version;
src = fetchzip {
url = "https://keepass.info/extensions/v2/otpkeyprov/OtpKeyProv-${version}.zip";
sha256 = "1p60k55v2sxnv1varmp0dgbsi2rhjg9kj19cf54mkc87nss5h1ki";
stripRoot = false;
};
meta = {
description = "OtpKeyProv is a key provider based on one-time passwords";
homepage = "https://keepass.info/plugins.html#otpkeyprov";
platforms = with lib.platforms; linux;
license = lib.licenses.gpl2;
maintainers = [ lib.maintainers.ente ];
};
pluginFilename = "OtpKeyProv.plgx";
installPhase = ''
mkdir -p $out/lib/dotnet/keepass/
cp $pluginFilename $out/lib/dotnet/keepass/$pluginFilename
'';
};
in
# Mono is required to compile plugin at runtime, after loading.
buildEnv { name = drv.name; paths = [ mono drv ]; }

View file

@ -0,0 +1,39 @@
{ lib, stdenv, buildEnv, fetchurl, mono }:
let
version = "1.0.4";
drv = stdenv.mkDerivation {
pname = "keepass-qrcodeview";
inherit version;
src = fetchurl {
url = "https://github.com/JanisEst/KeePassQRCodeView/releases/download/v${version}/KeePassQRCodeView.plgx";
sha256 = "e13c9f02bb0d79b479ca0e92490b822b5b88f49bb18ba2954d3bbe0808f46e6d";
};
dontUnpack = true;
installPhase = ''
mkdir -p $out/lib/dotnet/keepass/
cp $src $out/lib/dotnet/keepass/
'';
meta = with lib; {
description = "Enables KeePass to display data as QR code images";
longDescription = ''
KeePassQRCodeView is a plugin for KeePass 2.x which shows QR codes for entry fields.
These codes can be scanned to copy the encoded data to the scanner (smartphone, ...)
'';
homepage = "https://github.com/JanisEst/KeePassQRCodeView";
platforms = [
"aarch64-linux"
"i686-linux"
"x86_64-linux"
];
license = licenses.mit;
maintainers = with maintainers; [ nazarewk ];
};
};
in
# Mono is required to compile plugin at runtime, after loading.
buildEnv { name = drv.name; paths = [ mono drv ]; }