diff options
author | Franz Pletz <fpletz@fnordicwalking.de> | 2017-09-28 21:13:19 +0200 |
---|---|---|
committer | Franz Pletz <fpletz@fnordicwalking.de> | 2017-09-29 00:07:37 +0200 |
commit | df86f1996896dd1fb57b8fddef888350160d3583 (patch) | |
tree | 64da861272155e90b126046fb87737810e35db45 /pkgs/applications/virtualization/virt-what | |
parent | 169a344ab80d58686dda6e99e23597035d48d30d (diff) |
virt-what: init at 1.18
Diffstat (limited to 'pkgs/applications/virtualization/virt-what')
-rw-r--r-- | pkgs/applications/virtualization/virt-what/default.nix | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/pkgs/applications/virtualization/virt-what/default.nix b/pkgs/applications/virtualization/virt-what/default.nix new file mode 100644 index 000000000000..0236a34bb124 --- /dev/null +++ b/pkgs/applications/virtualization/virt-what/default.nix @@ -0,0 +1,19 @@ +{ stdenv, lib, fetchurl }: + +stdenv.mkDerivation rec { + name = "virt-what-${version}"; + version = "1.18"; + + src = fetchurl { + url = "https://people.redhat.com/~rjones/virt-what/files/${name}.tar.gz"; + sha256 = "1x32h7i6lh823wj97r5rr2hg1v215kqzly14dwg0mwx62j1dshmw"; + }; + + meta = with lib; { + description = "Detect if running in a virtual machine and prints its type"; + homepage = "https://people.redhat.com/~rjones/virt-what/"; + maintainers = with maintainers; [ fpletz ]; + license = licenses.gpl2Plus; + platforms = platforms.linux; + }; +} |