nixpkgs/pkgs/applications/virtualization/virt-what/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

20 lines
567 B
Nix
Raw Normal View History

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