mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-05 17:27:50 +00:00
[Packages] Add amdctl
This commit is contained in:
parent
d664d01f85
commit
c980025f2d
2 changed files with 26 additions and 0 deletions
|
|
@ -101,6 +101,7 @@ in
|
|||
});
|
||||
in withTensorflow;
|
||||
|
||||
amdctl = super.callPackage ./packages/amdctl.nix {};
|
||||
|
||||
myFirefox = (import ./packages/firefox.nix { pkgs = self; inherit lib; });
|
||||
})
|
||||
|
|
|
|||
25
packages/amdctl.nix
Normal file
25
packages/amdctl.nix
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
{
|
||||
stdenv,
|
||||
cmake,
|
||||
fetchFromGitHub
|
||||
}:
|
||||
stdenv.mkDerivation rec {
|
||||
name = "amdctl";
|
||||
version = "0.11";
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
];
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "kevinlekiller";
|
||||
repo = "amdctl";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-2wBk/9aAD7ARMGbcVxk+CzEvUf8U4RS4ZwTCj8cHNNo=";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
cp amdctl $out/bin
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue