mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 02:46:38 +00:00
26 lines
602 B
Nix
26 lines
602 B
Nix
{ stdenv, fetchPypi, buildPythonPackage, pytest, pytestcov, tox }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "distro";
|
|
version = "1.3.0";
|
|
|
|
checkInputs = [ pytest pytestcov tox];
|
|
|
|
checkPhase = ''
|
|
touch tox.ini
|
|
tox
|
|
'';
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "224041cef9600e72d19ae41ba006e71c05c4dc802516da715d7fda55ba3d8742";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|