1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/python-modules/distro/default.nix

24 lines
606 B
Nix
Raw Normal View History

{ stdenv, fetchPypi, buildPythonPackage }:
buildPythonPackage rec {
pname = "distro";
2020-06-06 07:47:04 +01:00
version = "1.5.0";
src = fetchPypi {
inherit pname version;
2020-06-06 07:47:04 +01:00
sha256 = "0e58756ae38fbd8fc3020d54badb8eae17c5b9dcbed388b17bb55b8a5928df92";
};
# tests are very targeted at individual linux distributions
doCheck = false;
pythonImportcheck = [ "distro" ];
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 ];
};
}