2021-01-25 00:26:54 -08:00
|
|
|
{ lib, fetchPypi, buildPythonPackage }:
|
2017-03-20 09:36:57 -07:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "distro";
|
2020-06-05 23:47:04 -07:00
|
|
|
version = "1.5.0";
|
2017-03-20 09:36:57 -07:00
|
|
|
|
2019-03-14 05:09:57 -07:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-06-05 23:47:04 -07:00
|
|
|
sha256 = "0e58756ae38fbd8fc3020d54badb8eae17c5b9dcbed388b17bb55b8a5928df92";
|
2019-03-14 05:09:57 -07:00
|
|
|
};
|
|
|
|
|
2020-06-08 12:51:50 -07:00
|
|
|
# tests are very targeted at individual linux distributions
|
|
|
|
doCheck = false;
|
2019-03-14 05:09:57 -07:00
|
|
|
|
2020-11-03 17:59:35 -08:00
|
|
|
pythonImportsCheck = [ "distro" ];
|
2017-03-20 09:36:57 -07:00
|
|
|
|
2021-01-10 23:54:33 -08:00
|
|
|
meta = with lib; {
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "https://github.com/nir0s/distro";
|
2017-03-20 09:36:57 -07:00
|
|
|
description = "Linux Distribution - a Linux OS platform information API.";
|
|
|
|
license = licenses.asl20;
|
2021-05-14 07:00:41 -07:00
|
|
|
maintainers = with maintainers; [ ];
|
2017-03-20 09:36:57 -07:00
|
|
|
};
|
|
|
|
}
|