mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 20:33:21 +00:00
9a624d10e3
Since theey is not active from at least six years. All the packages on this commit became orphans. --------------------------------------------------------------------------- There are files not covered by this commit, because they will be adopted soon. Namely: - pkgs/by-name/zs/zsync/package.nix - pkgs/games/bsdgames/default.nix - pkgs/misc/ghostscript/default.nix - pkgs/os-specific/linux/kernel/perf/default.nix - pkgs/tools/system/logrotate/default.nix
36 lines
891 B
Nix
36 lines
891 B
Nix
{ lib, stdenv, fetchurl, libusb1 }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "rkflashtool";
|
|
version = "5.1";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/rkflashtool/rkflashtool-${version}-src.tar.bz2";
|
|
sha256 = "0dbp1crw7pjav9gffrnskhkf0gxlj4xgp65clqhvfmv32460xb9c";
|
|
};
|
|
|
|
versionh = fetchurl {
|
|
url = "mirror://sourceforge/rkflashtool/version.h";
|
|
sha256 = "1mkcy3yyfaddhzg524hjnhvmwdmdfzbavib8d9p5y38pcqy8xgdp";
|
|
};
|
|
|
|
buildInputs = [ libusb1 ];
|
|
|
|
preBuild = ''
|
|
cp $versionh version.h
|
|
'';
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/bin
|
|
cp rkunpack rkcrc rkflashtool rkparameters rkparametersblock rkunsign rkmisc $out/bin
|
|
'';
|
|
|
|
meta = with lib; {
|
|
homepage = "https://sourceforge.net/projects/rkflashtool/";
|
|
description = "Tools for flashing Rockchip devices";
|
|
platforms = platforms.linux;
|
|
maintainers = [ ];
|
|
license = licenses.bsd2;
|
|
};
|
|
}
|