Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tempita: fix broken repo #79209

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
14 changes: 6 additions & 8 deletions pkgs/development/python-modules/tempita/default.nix
@@ -1,20 +1,18 @@
{ lib, buildPythonPackage, fetchFromGitHub, nose }:
{ lib, buildPythonPackage, fetchurl, nose }:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
{ lib, buildPythonPackage, fetchurl, nose }:
{ lib, buildPythonPackage, isPy3k, fetchurl, nose }:


buildPythonPackage {
version = "0.5.3-2016-09-28";
version = "0.5.3";
pname = "tempita";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
pname = "tempita";
pname = "tempita";
disabled = isPy3k;
builder for '/nix/store/dpkdcv6188hc0x19492zqcmarvy2sd08-python3.7-tempita-0.5.3.drv' failed with exit code 1; last 10 log lines:
      except SyntaxError, e:
                        ^
  SyntaxError: invalid syntax

  ----------------------------------------------------------------------
  Ran 1 test in 0.005s

  FAILED (errors=1)
  Test failed: <unittest.runner.TextTestResult run=1 errors=1 failures=0>
  error: Test failed: <unittest.runner.TextTestResult run=1 errors=1 failures=0>
cannot build derivation '/nix/store/4aisfif26rqqmcmab0q1dh5xi4hp81f5-python3.7-sqlalchemy-migrate-0.12.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/wjx2cmyj4svdpvnsxjvcl15j9wqgz8zz-python3.7-buildbot-2.6.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/kmnzp31ppds2n7fxj6k4y89yww48f67f-python3.7-python3.7-buildbot-2.6.0-with-plugins.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/sy3b14k6s2a4ng7jkjyy7gagfi0km04w-python3.7-python3.7-buildbot-2.6.0-with-plugins.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/983azjq42fa334wrzb59zbqalcrhs6hx-pytrainer-2.0.1.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/x9bhhd2cl252zfgaxzj3syjig3xm4xki-env.drv': 11 dependencies couldn't be built
[5 built (2 failed), 49 copied (184.7 MiB), 35.4 MiB DL]
error: build of '/nix/store/x9bhhd2cl252zfgaxzj3syjig3xm4xki-env.drv' failed
https://github.com/NixOS/nixpkgs/pull/79209
11 package failed to build:
buildbot buildbot-full buildbot-ui python37Packages.sqlalchemy_migrate python37Packages.tempita python38Packages.buildbot python38Packages.buildbot-full python38Packages.buildbot-ui python38Packages.sqlalchemy_migrate python38Packages.tempita pytrainer

2 package built:
python27Packages.sqlalchemy_migrate python27Packages.tempita


src = fetchFromGitHub {
owner = "gjhiggins";
repo = "tempita";
rev = "47414a7c6e46a9a9afe78f0bce2ea299fa84d10";
sha256 = "0f33jjjs5rvp7ar2j6ggyfykcrsrn04jaqcq71qfvycf6b7nw3rn";
src = fetchurl {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not fetchFromBitbucket?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fetchFromBitbucket {
  owner = "ianb";
  repo = pname;
  rev = "97392d008cc8";
  sha256 = "0nxnkxjvfyxygmws2zxql590mwqsqd1rnhy80m9nbpdh81p7vh9a";
};

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will do it tomorrow, thanks.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will do it tomorrow, thanks.

Tomorrow was long ago. @jpgu-epam tempita is still broken on master, is there any chance you could reach to it?

url = https://bitbucket.org/ianb/tempita/get/97392d008cc8.tar.gz;
sha256 = "0nxnkxjvfyxygmws2zxql590mwqsqd1rnhy80m9nbpdh81p7vh9y";
};

buildInputs = [ nose ];

meta = {
homepage = https://github.com/gjhiggins/tempita;
homepage = http://pythonpaste.org/tempita/;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
homepage = http://pythonpaste.org/tempita/;
homepage = "http://pythonpaste.org/tempita/";

description = "A very small text templating language";
license = lib.licenses.mit;
};
Expand Down