qdl: init at unstable-2021-05-06

This commit is contained in:
Mustafa Çalışkan 2021-06-01 17:18:22 +03:00
parent bb25328562
commit 3e7a90626e
No known key found for this signature in database
GPG key ID: DEEAD6989141FEBF
2 changed files with 31 additions and 0 deletions

View file

@ -0,0 +1,29 @@
{ lib, stdenv, fetchFromGitHub, libxml2, systemd }:
stdenv.mkDerivation {
pname = "qdl";
version = "unstable-2021-05-06";
src = fetchFromGitHub {
owner = "andersson";
repo = "qdl";
rev = "2021b303a81ca1bcf21b7f1f23674b5c8747646f";
sha256 = "0akrdca4jjdkfdya36vy1y5vzimrc4pp5jm24rmlw8hbqxvj72ri";
};
buildInputs = [ systemd libxml2 ];
installPhase = ''
runHook preInstall
install -Dm755 ./qdl -t $out/bin
runHook postInstall
'';
meta = with lib; {
homepage = "https://github.com/andersson/qdl";
description = "Tool for flashing images to Qualcomm devices";
license = licenses.bsd3;
maintainers = with maintainers; [ musfay ];
platforms = platforms.linux;
};
}

View file

@ -30869,6 +30869,8 @@ in
py-wmi-client = callPackage ../tools/networking/py-wmi-client { };
qdl = callPackage ../tools/misc/qdl { };
rargs = callPackage ../tools/misc/rargs { };
rauc = callPackage ../tools/misc/rauc { };