mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
Add package 'flashbench'.
This commit is contained in:
parent
597373bbd5
commit
9a3b8068f8
27
pkgs/os-specific/linux/flashbench/default.nix
Normal file
27
pkgs/os-specific/linux/flashbench/default.nix
Normal file
@ -0,0 +1,27 @@
|
||||
{ stdenv, fetchgit }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "flashbench-${version}";
|
||||
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";
|
||||
homepage = https://github.com/bradfa/flashbench;
|
||||
platforms = platforms.linux;
|
||||
license = licenses.gpl2;
|
||||
maintainers = [ maintainers.rycee ];
|
||||
};
|
||||
}
|
@ -1167,6 +1167,8 @@ let
|
||||
|
||||
flannel = callPackage ../tools/networking/flannel { };
|
||||
|
||||
flashbench = callPackage ../os-specific/linux/flashbench { };
|
||||
|
||||
figlet = callPackage ../tools/misc/figlet { };
|
||||
|
||||
file = callPackage ../tools/misc/file { };
|
||||
|
Loading…
Reference in New Issue
Block a user