depot/third_party/nixpkgs/pkgs/development/python-modules/distro/default.nix
Default email 88abffb7d2 Project import generated by Copybara.
GitOrigin-RevId: bc9b956714ed6eac5f8888322aac5bc41389defa
2021-09-18 12:52:07 +02:00

23 lines
590 B
Nix

{ lib, fetchPypi, buildPythonPackage }:
buildPythonPackage rec {
pname = "distro";
version = "1.6.0";
src = fetchPypi {
inherit pname version;
sha256 = "83f5e5a09f9c5f68f60173de572930effbcc0287bb84fdc4426cb4168c088424";
};
# tests are very targeted at individual linux distributions
doCheck = false;
pythonImportsCheck = [ "distro" ];
meta = with lib; {
homepage = "https://github.com/nir0s/distro";
description = "Linux Distribution - a Linux OS platform information API.";
license = licenses.asl20;
maintainers = with maintainers; [ ];
};
}