Last active
July 5, 2020 00:01
-
-
Save patrickod/0cc3e6ac5751e2ec0ea576ebb8cfa241 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
with import <nixpkgs> {}; | |
let | |
vfio-isolate = with python38Packages; buildPythonApplication rec { | |
name = "vfio-isolate"; | |
version = "0.3.1"; | |
src = pkgs.fetchFromGitHub { | |
owner = "spheenik"; | |
repo = "${name}"; | |
rev = "74efc1ec4902866b72dd8068b505cb0900b9dd85"; | |
sha256 = "0ca50yvj3fcxj41bz3ajqmj8vhcmqy6akf6pn4vhmzkgvd4a2g2x"; | |
}; | |
propagatedBuildInputs = with pkgs.python38Packages; [ click psutil parsimonious ]; | |
}; | |
in mkShell { | |
name = "vfio-isolate"; | |
buildInputs = with pkgs.python38Packages; [ vfio-isolate ]; | |
shellHook = '' | |
echo "Build successful" | |
''; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment