Skip to content

Commit

Permalink
pythonPackages.coveralls: init at 1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiasbeyer committed Apr 26, 2017
1 parent 47403cf commit 87ce1e7
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
35 changes: 35 additions & 0 deletions pkgs/development/python-modules/coveralls/default.nix
@@ -0,0 +1,35 @@
{ buildPythonPackage
, lib
, fetchurl
, pythonPackages
}:

let
pname = "coveralls";
version = "1.1";
in buildPythonPackage rec {
name = "${pname}-${version}";

src = fetchurl {
url = "mirror://pypi/${builtins.substring 0 1 pname}/${pname}/${name}.tar.gz";
sha256 = "0238hgdwbvriqxrj22zwh0rbxnhh9c6hh75i39ll631vq62h65il";
};

buildInputs = with pythonPackages; [
coverage
docopt
requests
];
propagatedBuildInputs = [];

# Tests in neither the archive nor the repo
doCheck = false;

meta = {
description = "py.test plugin to store test expectations and mark tests based on them";
homepage = https://github.com/gsnedders/pytest-expect;
license = lib.licenses.mit;
};
}


2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Expand Up @@ -4388,6 +4388,8 @@ in {
};
};

coveralls = callPackage ../development/python-modules/coveralls { };

coverage = buildPythonPackage rec {
name = "coverage-4.0.1";

Expand Down

0 comments on commit 87ce1e7

Please sign in to comment.