mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-30 01:23:03 +00:00
33afbf39f6
checkInputs used to be added to nativeBuildInputs. Now we have nativeCheckInputs to do that instead. Doing this treewide change allows to keep hashes identical to before the introduction of nativeCheckInputs.
33 lines
783 B
Nix
33 lines
783 B
Nix
{ lib, fetchFromGitLab, python3Packages }:
|
|
|
|
with python3Packages;
|
|
buildPythonApplication rec {
|
|
pname = "tuir";
|
|
version = "1.29.0";
|
|
|
|
src = fetchFromGitLab {
|
|
owner = "ajak";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "1fqp6bvq8kzdsf3nna4mn1phdcixpx76bya43xrivxjbzsfl59ib";
|
|
};
|
|
|
|
# Tests try to access network
|
|
doCheck = false;
|
|
|
|
checkPhase = ''
|
|
py.test
|
|
'';
|
|
|
|
nativeCheckInputs = [ coverage coveralls docopt mock pylint pytest vcrpy ];
|
|
|
|
propagatedBuildInputs = [ beautifulsoup4 decorator kitchen requests six ];
|
|
|
|
meta = with lib; {
|
|
description = "Browse Reddit from your Terminal (fork of rtv)";
|
|
homepage = "https://gitlab.com/ajak/tuir/";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ Br1ght0ne matthiasbeyer ];
|
|
};
|
|
}
|