nixpkgs/pkgs/development/python-modules/distro/default.nix

27 lines
629 B
Nix
Raw Normal View History

{ stdenv, fetchPypi, buildPythonPackage, pytest, pytestcov, tox }:
buildPythonPackage rec {
pname = "distro";
2019-02-14 07:37:14 +00:00
version = "1.4.0";
2019-02-15 11:58:47 +00:00
checkInputs = [ pytest pytestcov ];
checkPhase = ''
2019-02-15 11:58:47 +00:00
py.test
'';
src = fetchPypi {
inherit pname version;
2019-02-14 07:37:14 +00:00
sha256 = "362dde65d846d23baee4b5c058c8586f219b5a54be1cf5fc6ff55c4578392f57";
};
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 ];
2019-02-15 11:58:47 +00:00
# Many failing tests
broken = true;
};
}