1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-17 18:34:41 +00:00
nixpkgs/pkgs/development/python-modules/distro/default.nix
2019-02-17 14:40:19 +01:00

26 lines
602 B
Nix

{ stdenv, fetchPypi, buildPythonPackage, pytest, pytestcov, tox }:
buildPythonPackage rec {
pname = "distro";
version = "1.4.0";
checkInputs = [ pytest pytestcov tox];
checkPhase = ''
touch tox.ini
tox
'';
src = fetchPypi {
inherit pname version;
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 ];
};
}