nixpkgs/pkgs/tools/misc/qdl/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

35 lines
737 B
Nix
Raw Normal View History

2023-10-21 06:14:22 +02:00
{ lib
, stdenv
, fetchFromGitHub
, libxml2
, systemd
}:
2021-06-01 16:18:22 +02:00
stdenv.mkDerivation {
pname = "qdl";
version = "unstable-2021-05-06";
src = fetchFromGitHub {
2023-10-21 06:14:22 +02:00
owner = "andersson";
repo = "qdl";
rev = "2021b303a81ca1bcf21b7f1f23674b5c8747646f";
2021-06-01 16:18:22 +02:00
sha256 = "0akrdca4jjdkfdya36vy1y5vzimrc4pp5jm24rmlw8hbqxvj72ri";
};
buildInputs = [ systemd libxml2 ];
installPhase = ''
runHook preInstall
install -Dm755 ./qdl -t $out/bin
runHook postInstall
'';
meta = with lib; {
2023-10-21 06:14:22 +02:00
homepage = "https://github.com/andersson/qdl";
2021-06-01 16:18:22 +02:00
description = "Tool for flashing images to Qualcomm devices";
2023-10-21 06:14:22 +02:00
license = licenses.bsd3;
2022-01-27 08:48:49 +01:00
maintainers = with maintainers; [ muscaln ];
2023-10-21 06:14:22 +02:00
platforms = platforms.linux;
2021-06-01 16:18:22 +02:00
};
}