Skip to content

Commit

Permalink
Merge pull request #83720 from bhipple/f/py-application
Browse files Browse the repository at this point in the history
python27Packages.application: 2.7.0 -> 2.8.0 and fix build; python27Packages.python-otr: mark as broken
  • Loading branch information
Mic92 authored Mar 31, 2020
2 parents d2e422f + c77bd38 commit 61cee88
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 8 deletions.
17 changes: 11 additions & 6 deletions pkgs/development/python-modules/application/default.nix
Original file line number Diff line number Diff line change
@@ -1,21 +1,26 @@
{ lib, buildPythonPackage, fetchdarcs, zope_interface, isPy3k }:
{ lib, buildPythonPackage, fetchFromGitHub, zope_interface, isPy3k }:

buildPythonPackage rec {
pname = "python-application";
version = "2.7.0";
version = "2.8.0";
disabled = isPy3k;

src = fetchdarcs {
url = "http://devel.ag-projects.com/repositories/${pname}";
src = fetchFromGitHub {
owner = "AGProjects";
repo = pname;
rev = "release-${version}";
sha256 = "1xpyk2v3naxkjhpyris58dxg1lxbraxgjd6f7w1sah5j0sk7psla";
sha256 = "1xd2gbpmx2ghap9cnr1h6sxjai9419bdp3y9qp5lh67977m0qg30";
};

buildInputs = [ zope_interface ];

# No tests upstream to run
doCheck = false;

meta = with lib; {
description = "Basic building blocks for python applications";
homepage = https://github.com/AGProjects/python-application;
homepage = "https://github.com/AGProjects/python-application";
changelog = "https://github.com/AGProjects/python-application/blob/master/ChangeLog";
license = licenses.lgpl2Plus;
};
}
7 changes: 5 additions & 2 deletions pkgs/development/python-modules/python-otr/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,13 @@ buildPythonPackage rec {

meta = with stdenv.lib; {
description = "A pure python implementation of OTR";
homepage = https://github.com/AGProjects/otr;
homepage = "https://github.com/AGProjects/python-otr";
license = licenses.lgpl21Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ edwtjo ];
# The package itself does not support python3, and its transitive
# dependencies rely on namespace package support that does not work in
# Nix's python2 infra. See #74619 for details.
broken = true;
};

}

0 comments on commit 61cee88

Please sign in to comment.