1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-13 08:05:40 +00:00
nixpkgs/pkgs/applications/virtualization/virt-what/default.nix
2021-07-28 21:13:20 +02:00

20 lines
567 B
Nix

{ stdenv, lib, fetchurl }:
stdenv.mkDerivation rec {
pname = "virt-what";
version = "1.21";
src = fetchurl {
url = "https://people.redhat.com/~rjones/virt-what/files/${pname}-${version}.tar.gz";
sha256 = "0yqz1l4di57d4y1z94yhdmkiykg9a8i7xwkqmd9zsk5a6i9lbjqj";
};
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;
};
}