Skip to content

Instantly share code, notes, and snippets.

@catern
Created February 11, 2018 16:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save catern/37716fb297003eff9aa4820dc5398a26 to your computer and use it in GitHub Desktop.
Save catern/37716fb297003eff9aa4820dc5398a26 to your computer and use it in GitHub Desktop.
{ stdenv, buildPythonPackage, fetchzip
, pytest, pytest-asyncio, pytestcov }:
buildPythonPackage rec {
pname = "aioconsole";
version = "0.1.7";
name = "${pname}-${version}";
# tests are not included in the version on PyPI
src = fetchzip {
url = "${meta.homepage}/archive/v${version}.zip";
sha256 = "0p12viyngplqds7xkwysfh1nlgrny8hwja2mm2na0wzfxj04fbcd";
};
buildInputs = [ pytest pytest-asyncio pytestcov ];
meta = with stdenv.lib; {
homepage = https://github.com/vxgmichel/aioconsole;
license = licenses.gpl3;
description = "Asynchronous console and interfaces for asyncio";
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment