Merge pull request #72455 from mmahut/trac

trac: init at 1.4
This commit is contained in:
Marek Mahut 2019-11-02 16:23:49 +01:00 committed by GitHub
commit 107fc18d2f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 55 additions and 0 deletions

View File

@ -0,0 +1,53 @@
{ lib
, buildPythonApplication
, fetchPypi
, Babel
, docutils
, pygments
, pytz
, jinja2
, pysqlite
, psycopg2
, pymysql
, git
, setuptools
}:
buildPythonApplication rec {
pname = "trac";
version = "1.4";
src = fetchPypi {
inherit version;
pname = "Trac";
sha256 = "1cg51rg0vb9vf23wgn28z3szlxhwnxprj5m0mvibqyypi123bvx1";
};
prePatch = ''
# Removing the date format tests as they are outdated
substituteInPlace trac/util/tests/__init__.py \
--replace "suite.addTest(datefmt.test_suite())" ""
'';
propagatedBuildInputs = [
Babel
docutils
pygments
pytz
jinja2
pysqlite
psycopg2
pymysql
git
setuptools
];
meta = with lib; {
description = "Integrated SCM, wiki, issue tracker and project environment";
homepage = "https://trac.edgewall.org/";
license = licenses.bsd3;
maintainers = with maintainers; [ mmahut ];
platforms = platforms.linux;
};
}

View File

@ -2883,6 +2883,8 @@ in
tsm-client = callPackage ../tools/backup/tsm-client { jdk8 = null; };
tsm-client-withGui = callPackage ../tools/backup/tsm-client { };
trac = pythonPackages.callPackage ../tools/misc/trac { };
tracker = callPackage ../development/libraries/tracker { };
tracker-miners = callPackage ../development/libraries/tracker-miners { };