pythonPackages.bugwarrior: Move to own file
This commit is contained in:
parent
8f59a8fea6
commit
5178a0a626
31
pkgs/development/python-modules/bugwarrior/default.nix
Normal file
31
pkgs/development/python-modules/bugwarrior/default.nix
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
{ stdenv, buildPythonPackage, fetchPypi
|
||||||
|
, mock, unittest2, nose
|
||||||
|
, twiggy, requests, offtrac, bugzilla, taskw, dateutil, pytz, keyring, six
|
||||||
|
, jinja2, pycurl, dogpile_cache, lockfile, click, pyxdg, future15 }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "bugwarrior";
|
||||||
|
version = "1.5.1";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "0kxknjbw5kchd88i577vlzibg8j60r7zzdhbnragj9wg5s3w60xb";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ mock unittest2 nose /* jira megaplan */ ];
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
twiggy requests offtrac bugzilla taskw dateutil pytz keyring six
|
||||||
|
jinja2 pycurl dogpile_cache lockfile click pyxdg future15
|
||||||
|
];
|
||||||
|
|
||||||
|
# for the moment jira>=0.22 and megaplan>=1.4 are missing for running the test suite.
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = https://github.com/ralphbean/bugwarrior;
|
||||||
|
description = "Sync github, bitbucket, bugzilla, and trac issues with taskwarrior";
|
||||||
|
license = licenses.gpl3Plus;
|
||||||
|
platforms = platforms.all;
|
||||||
|
maintainers = with maintainers; [ pierron ];
|
||||||
|
};
|
||||||
|
}
|
@ -1394,32 +1394,7 @@ in {
|
|||||||
|
|
||||||
branca = callPackage ../development/python-modules/branca { };
|
branca = callPackage ../development/python-modules/branca { };
|
||||||
|
|
||||||
bugwarrior = buildPythonPackage rec {
|
bugwarrior = callPackage ../development/python-modules/bugwarrior { };
|
||||||
name = "bugwarrior-${version}";
|
|
||||||
version = "1.5.1";
|
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "mirror://pypi/b/bugwarrior/${name}.tar.gz";
|
|
||||||
sha256 = "0kxknjbw5kchd88i577vlzibg8j60r7zzdhbnragj9wg5s3w60xb";
|
|
||||||
};
|
|
||||||
|
|
||||||
buildInputs = with self; [ mock unittest2 nose /* jira megaplan */ ];
|
|
||||||
propagatedBuildInputs = with self; [
|
|
||||||
twiggy requests offtrac bugzilla taskw dateutil pytz keyring six
|
|
||||||
jinja2 pycurl dogpile_cache lockfile click pyxdg future15
|
|
||||||
];
|
|
||||||
|
|
||||||
# for the moment jira>=0.22 and megaplan>=1.4 are missing for running the test suite.
|
|
||||||
doCheck = false;
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
homepage = https://github.com/ralphbean/bugwarrior;
|
|
||||||
description = "Sync github, bitbucket, bugzilla, and trac issues with taskwarrior";
|
|
||||||
license = licenses.gpl3Plus;
|
|
||||||
platforms = platforms.all;
|
|
||||||
maintainers = with maintainers; [ pierron ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
# bugz = buildPythonPackage (rec {
|
# bugz = buildPythonPackage (rec {
|
||||||
# name = "bugz-0.9.3";
|
# name = "bugz-0.9.3";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user