Merge pull request #125188 from musfay/qdl

This commit is contained in:
Sandro 2021-06-04 11:17:06 +02:00 committed by GitHub
commit 950b4ddfdf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 37 additions and 0 deletions

View file

@ -7105,6 +7105,12 @@
githubId = 5047140;
name = "Victor Collod";
};
musfay = {
email = "musfay@protonmail.com";
github = "musfay";
githubId = 33374965;
name = "Mustafa Çalışkan";
};
mupdt = {
email = "nix@pdtpartners.com";
github = "mupdt";

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

@ -30921,6 +30921,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 { };