phytool: init at 2-unstable-2024-07-14 (#458275)
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
{
|
||||
fetchFromGitHub,
|
||||
lib,
|
||||
stdenv,
|
||||
}:
|
||||
stdenv.mkDerivation {
|
||||
__structuredAttrs = true;
|
||||
strictDeps = true;
|
||||
|
||||
pname = "phytool";
|
||||
version = "2-unstable-2024-07-14";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "wkz";
|
||||
repo = "phytool";
|
||||
rev = "bcf23b0261aa9f352ee4b944e30e3482158640a4";
|
||||
hash = "sha256-8e2DVjG/2CtJ/+FLzMa1VKajJZfFqjD54XQAMY+0q3U=";
|
||||
};
|
||||
|
||||
makeFlags = [
|
||||
"PREFIX=$(out)"
|
||||
];
|
||||
|
||||
preInstall = ''
|
||||
mkdir -p "$out/bin"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Linux MDIO register access";
|
||||
homepage = "https://github.com/wkz/phytool";
|
||||
changelog = "https://github.com/wkz/phytool/releases";
|
||||
license = lib.licenses.gpl2;
|
||||
maintainers = [ lib.maintainers.connorbaker ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user