Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 5e6adf78e964
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 3fe733238351
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Apr 24, 2020

  1. Copy the full SHA
    3fe7332 View commit details
Showing with 15 additions and 9 deletions.
  1. +15 −9 pkgs/applications/networking/p2p/stig/default.nix
24 changes: 15 additions & 9 deletions pkgs/applications/networking/p2p/stig/default.nix
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{ lib
, fetchFromGitHub
, python3
, python3Packages
}:

python3.pkgs.buildPythonApplication rec {
python3Packages.buildPythonApplication rec {
pname = "stig";
# This project has a different concept for pre release / alpha,
# Read the project's README for details: https://github.com/rndusr/stig#stig
@@ -26,7 +26,7 @@ python3.pkgs.buildPythonApplication rec {
--replace "urwidtrees>=1.0.3dev0" "urwidtrees"
'';

propagatedBuildInputs = with python3.pkgs; [
propagatedBuildInputs = with python3Packages; [
urwid
urwidtrees
aiohttp
@@ -38,17 +38,23 @@ python3.pkgs.buildPythonApplication rec {
setproctitle
];

checkInputs = with python3.pkgs; [
checkInputs = with python3Packages; [
asynctest
pytest
pytestCheckHook
];

# test_string__month_day_hour_minute_second fails on darwin
checkPhase = ''
LC_ALL=en_US.utf8 pytest tests \
--deselect=tests/client_test/ttypes_test.py::TestTimestamp::test_string__month_day_hour_minute_second
dontUseSetuptoolsCheck = true;

preCheck = ''
export LC_ALL=C
'';

pytestFlagsArray = [
"tests"
# test_string__month_day_hour_minute_second fails on darwin
"--deselect=tests/client_test/ttypes_test.py::TestTimestamp::test_string__month_day_hour_minute_second"
];

meta = with lib; {
description = "TUI and CLI for the BitTorrent client Transmission";
homepage = "https://github.com/rndusr/stig";