1{ lib, fetchPypi, buildPythonPackage }:
2
3buildPythonPackage rec {
4 pname = "distro";
5 version = "1.7.0";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "sha256-FRrsz2DCFkApMrUuQO5HepOfjViJiSc3igKrvoUsHDk=";
10 };
11
12 # tests are very targeted at individual linux distributions
13 doCheck = false;
14
15 pythonImportsCheck = [ "distro" ];
16
17 meta = with lib; {
18 homepage = "https://github.com/nir0s/distro";
19 description = "Linux Distribution - a Linux OS platform information API.";
20 license = licenses.asl20;
21 maintainers = with maintainers; [ ];
22 };
23}