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