diff options
author | Domen Kožar <domen@dev.si> | 2015-11-20 13:48:30 +0100 |
---|---|---|
committer | Domen Kožar <domen@dev.si> | 2015-11-21 21:44:12 +0100 |
commit | 704c8bab410a077a89e25c8c9fbb76a8da97625e (patch) | |
tree | a1312683d41cfe6569e9442db23ba304d0fb8b32 /pkgs/development/tools | |
parent | 99a64da6001f5e4fec363b6a98afccda61b6d68f (diff) | |
download | nixlib-704c8bab410a077a89e25c8c9fbb76a8da97625e.tar nixlib-704c8bab410a077a89e25c8c9fbb76a8da97625e.tar.gz nixlib-704c8bab410a077a89e25c8c9fbb76a8da97625e.tar.bz2 nixlib-704c8bab410a077a89e25c8c9fbb76a8da97625e.tar.lz nixlib-704c8bab410a077a89e25c8c9fbb76a8da97625e.tar.xz nixlib-704c8bab410a077a89e25c8c9fbb76a8da97625e.tar.zst nixlib-704c8bab410a077a89e25c8c9fbb76a8da97625e.zip |
buildPythonPackage: fix standalone applications using it
Diffstat (limited to 'pkgs/development/tools')
-rw-r--r-- | pkgs/development/tools/build-managers/buildbot/default.nix | 16 | ||||
-rw-r--r-- | pkgs/development/tools/continuous-integration/jenkins-job-builder/default.nix | 26 |
2 files changed, 6 insertions, 36 deletions
diff --git a/pkgs/development/tools/build-managers/buildbot/default.nix b/pkgs/development/tools/build-managers/buildbot/default.nix index 8193845770cf..a7c4fb89007b 100644 --- a/pkgs/development/tools/build-managers/buildbot/default.nix +++ b/pkgs/development/tools/build-managers/buildbot/default.nix @@ -1,5 +1,5 @@ { stdenv, buildPythonPackage, fetchurl, twisted, dateutil, jinja2 -, sqlalchemy , sqlalchemy_migrate +, sqlalchemy , sqlalchemy_migrate_0_7 , enableDebugClient ? false, pygobject ? null, pyGtkGlade ? null }: @@ -9,12 +9,12 @@ assert enableDebugClient -> pygobject != null && pyGtkGlade != null; buildPythonPackage (rec { - name = "buildbot-0.8.10"; + name = "buildbot-0.8.12"; namePrefix = ""; src = fetchurl { url = "https://pypi.python.org/packages/source/b/buildbot/${name}.tar.gz"; - sha256 = "1x5513mjvd3mwwadawk6v3ca2wh5mcmgnn5h9jhq1jw1plp4v5n4"; + sha256 = "1mn4h04sp6smr3ahqfflys15cpn13q9mfkapcs2jc4ppvxv6kdn6"; }; patchPhase = @@ -25,12 +25,12 @@ buildPythonPackage (rec { sed -i "$i" \ -e "s|/usr/bin/python|$(type -P python)|g ; s|/usr/bin/||g" done - ''; - buildInputs = [ ]; + sed -i 's/==/>=/' setup.py + ''; propagatedBuildInputs = - [ twisted dateutil jinja2 sqlalchemy sqlalchemy_migrate + [ twisted dateutil jinja2 sqlalchemy_migrate_0_7 ] ++ stdenv.lib.optional enableDebugClient [ pygobject pyGtkGlade ]; # What's up with this?! 'trial' should be 'test', no? @@ -51,12 +51,9 @@ buildPythonPackage (rec { meta = with stdenv.lib; { homepage = http://buildbot.net/; - license = stdenv.lib.licenses.gpl2Plus; - # Of course, we don't really need that on NixOS. :-) description = "Continuous integration system that automates the build/test cycle"; - longDescription = '' The BuildBot is a system to automate the compile/test cycle required by most software projects to validate code changes. By @@ -79,7 +76,6 @@ buildPythonPackage (rec { encouraging them to be more careful about testing before checking in code. ''; - maintainers = with maintainers; [ bjornfor ]; platforms = platforms.all; }; diff --git a/pkgs/development/tools/continuous-integration/jenkins-job-builder/default.nix b/pkgs/development/tools/continuous-integration/jenkins-job-builder/default.nix deleted file mode 100644 index 31ab75947dfd..000000000000 --- a/pkgs/development/tools/continuous-integration/jenkins-job-builder/default.nix +++ /dev/null @@ -1,26 +0,0 @@ -{ stdenv, fetchurl, pythonPackages, buildPythonPackage, git }: - -let - upstreamName = "jenkins-job-builder"; - version = "1.2.0"; - -in - -buildPythonPackage rec { - name = "${upstreamName}-${version}"; - namePrefix = ""; # Don't prepend "pythonX.Y-" to the name - - src = fetchurl { - url = "https://pypi.python.org/packages/source/j/${upstreamName}/${name}.tar.gz"; - sha256 = "09nxdhb0ilxpmk5gbvik6kj9b6j718j5an903dpcvi3r6vzk9b3p"; - }; - - pythonPath = with pythonPackages; [ pip six pyyaml pbr python-jenkins ]; - doCheck = false; # Requires outdated Sphinx - - meta = { - description = "System for configuring Jenkins jobs using simple YAML files"; - homepage = http://ci.openstack.org/jjb.html; - license = stdenv.lib.licenses.asl20; - }; -} |