2017-03-20 17:36:57 +01:00
|
|
|
{ stdenv, fetchPypi, buildPythonPackage, pytest, pytestcov, tox }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "distro";
|
2018-06-12 18:47:00 +02:00
|
|
|
version = "1.3.0";
|
2017-03-20 17:36:57 +01:00
|
|
|
|
|
|
|
buildInputs = [ pytest pytestcov tox];
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
touch tox.ini
|
|
|
|
tox
|
|
|
|
'';
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-06-12 18:47:00 +02:00
|
|
|
sha256 = "224041cef9600e72d19ae41ba006e71c05c4dc802516da715d7fda55ba3d8742";
|
2017-03-20 17:36:57 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|