buildbot-classic: use fetchgit for version detection
This commit is contained in:
parent
d761743c4b
commit
1b5ab3384c
@ -12,14 +12,15 @@ in nixpkgs-fix.buildPythonApplication {
|
|||||||
namePrefix = "";
|
namePrefix = "";
|
||||||
patches = [];
|
patches = [];
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchgit {
|
||||||
owner = "krebscode";
|
url = "https://github.com/krebscode/buildbot-classic";
|
||||||
repo = "buildbot-classic";
|
rev = "211ec7815";
|
||||||
rev = "5b4f5f6f1";
|
sha256 = "09q8wyci7p07lrngjblwnpyxk0wddf8jzabwf598a7yiam6yc4cm";
|
||||||
sha256 = "1j3xn1gjzvsf90jvfmyln71fzlhjx642ivrqf47zfxpkacljja93";
|
leaveDotGit = true;
|
||||||
|
|
||||||
};
|
};
|
||||||
postUnpack = "sourceRoot=\${sourceRoot}/master";
|
postUnpack = "sourceRoot=\${sourceRoot}/master";
|
||||||
nativeBuildInputs = [ nixpkgs-fix.git ];
|
buildInputs = [ git ];
|
||||||
patchPhase =
|
patchPhase =
|
||||||
# The code insists on /usr/bin/tail, /usr/bin/make, etc.
|
# The code insists on /usr/bin/tail, /usr/bin/make, etc.
|
||||||
'' echo "patching erroneous absolute path references..."
|
'' echo "patching erroneous absolute path references..."
|
||||||
|
Loading…
Reference in New Issue
Block a user