depot/third_party/nixpkgs/pkgs/development/python-modules/distro/default.nix
Default email 2ce89355c3 Project import generated by Copybara.
GitOrigin-RevId: 22a81aa5fc15b2d41b12f7160a71cd4a9f3c3fa1
2020-06-15 17:56:04 +02:00

23 lines
606 B
Nix

{ stdenv, fetchPypi, buildPythonPackage }:
buildPythonPackage rec {
pname = "distro";
version = "1.5.0";
src = fetchPypi {
inherit pname version;
sha256 = "0e58756ae38fbd8fc3020d54badb8eae17c5b9dcbed388b17bb55b8a5928df92";
};
# tests are very targeted at individual linux distributions
doCheck = false;
pythonImportcheck = [ "distro" ];
meta = with stdenv.lib; {
homepage = "https://github.com/nir0s/distro";
description = "Linux Distribution - a Linux OS platform information API.";
license = licenses.asl20;
maintainers = with maintainers; [ nand0p ];
};
}