diff options
author | makefu <github@syntax-fehler.de> | 2017-07-29 00:20:50 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2017-07-29 00:20:50 +0200 |
commit | 1b5ab3384c7f1b695551d288a7464c6e838fee1f (patch) | |
tree | 48ef8aeb92eed6eff26a71e9198f8d1fd86021e9 /krebs/5pkgs/simple/buildbot-classic | |
parent | d761743c4bb8149c8c962967108a0ff955b86c5f (diff) |
buildbot-classic: use fetchgit for version detection
Diffstat (limited to 'krebs/5pkgs/simple/buildbot-classic')
-rw-r--r-- | krebs/5pkgs/simple/buildbot-classic/default.nix | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/krebs/5pkgs/simple/buildbot-classic/default.nix b/krebs/5pkgs/simple/buildbot-classic/default.nix index 3cb766e92..ab98c9fd6 100644 --- a/krebs/5pkgs/simple/buildbot-classic/default.nix +++ b/krebs/5pkgs/simple/buildbot-classic/default.nix @@ -12,14 +12,15 @@ in nixpkgs-fix.buildPythonApplication { namePrefix = ""; patches = []; - src = fetchFromGitHub { - owner = "krebscode"; - repo = "buildbot-classic"; - rev = "5b4f5f6f1"; - sha256 = "1j3xn1gjzvsf90jvfmyln71fzlhjx642ivrqf47zfxpkacljja93"; + src = fetchgit { + url = "https://github.com/krebscode/buildbot-classic"; + rev = "211ec7815"; + sha256 = "09q8wyci7p07lrngjblwnpyxk0wddf8jzabwf598a7yiam6yc4cm"; + leaveDotGit = true; + }; postUnpack = "sourceRoot=\${sourceRoot}/master"; - nativeBuildInputs = [ nixpkgs-fix.git ]; + buildInputs = [ git ]; patchPhase = # The code insists on /usr/bin/tail, /usr/bin/make, etc. '' echo "patching erroneous absolute path references..." |