1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-26 07:31:20 +00:00
nixpkgs/pkgs/development/python-modules/distro/default.nix
Fernando J Pando 80c295f50f pythonPackages.distro: init 1.0.3
- tested on darwin
- tested on nixos
2017-04-13 00:01:30 +02:00

27 lines
622 B
Nix

{ stdenv, fetchPypi, buildPythonPackage, pytest, pytestcov, tox }:
buildPythonPackage rec {
name = "${pname}-${version}";
pname = "distro";
version = "1.0.3";
buildInputs = [ pytest pytestcov tox];
checkPhase = ''
touch tox.ini
tox
'';
src = fetchPypi {
inherit pname version;
sha256 = "1kmjdz1kxspsmps73m2kzhxz86jj43ikx825hmgmwbx793ywv69d";
};
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 ];
};
}