2014-12-31 13:13:44 +00:00
|
|
|
{ stdenv, fetchgit }:
|
|
|
|
|
2019-08-13 22:52:01 +01:00
|
|
|
stdenv.mkDerivation {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "flashbench";
|
2014-12-31 13:13:44 +00:00
|
|
|
version = "2012-06-06";
|
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = "https://github.com/bradfa/flashbench.git";
|
|
|
|
rev = "2e30b1968a66147412f21002ea844122a0d5e2f0";
|
|
|
|
sha256 = "037rhd2alwfip9qk78cy8fwwnc2kdyzccsyc7v2zpmvl4vvpvnhg";
|
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
install -d -m755 $out/bin $out/share/doc/flashbench
|
|
|
|
install -v -m755 flashbench $out/bin
|
|
|
|
install -v -m755 erase $out/bin/flashbench-erase
|
|
|
|
install -v -m644 README $out/share/doc/flashbench
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Testing tool for flash based memory devices";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/bradfa/flashbench";
|
2014-12-31 13:13:44 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = [ maintainers.rycee ];
|
|
|
|
};
|
|
|
|
}
|