1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-01 01:51:24 +00:00
nixpkgs/pkgs/applications/virtualization/virt-what/default.nix

20 lines
565 B
Nix
Raw Normal View History

2017-09-28 20:13:19 +01:00
{ 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;
};
}