Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / applications / virtualization / virt-what / default.nix
blob18d65480138c2c62b04ead993fc17ee5bbbeea7b
1 { stdenv, lib, fetchurl }:
3 stdenv.mkDerivation rec {
4   pname = "virt-what";
5   version = "1.25";
7   src = fetchurl {
8     url = "https://people.redhat.com/~rjones/virt-what/files/${pname}-${version}.tar.gz";
9     sha256 = "sha256-1Py0I2Irr75eK7zYS32SrU1YP0d4siW3LEqBrp/Dxz0=";
10   };
12   meta = with lib; {
13     description = "Detect if running in a virtual machine and prints its type";
14     homepage = "https://people.redhat.com/~rjones/virt-what/";
15     maintainers = with maintainers; [ fpletz ];
16     license = licenses.gpl2Plus;
17     platforms = platforms.linux;
18   };