File tree Expand file tree Collapse file tree 1 file changed +12
-5
lines changed
pkgs/by-name/de/dependency-track Expand file tree Collapse file tree 1 file changed +12
-5
lines changed Original file line number Diff line number Diff line change 33 buildNpmPackage ,
44 fetchFromGitHub ,
55 jre_headless ,
6+ protobuf ,
67 cyclonedx-cli ,
78 makeWrapper ,
89 maven ,
910 nix-update-script ,
1011 nixosTests ,
1112} :
1213let
13- version = "4.11.7 " ;
14+ version = "4.12.0 " ;
1415
1516 frontend = buildNpmPackage {
1617 pname = "dependency-track-frontend" ;
2021 owner = "DependencyTrack" ;
2122 repo = "frontend" ;
2223 rev = version ;
23- hash = "sha256-hgBDzzG90gunnlZeektzdBIdatNjbkDVmNLbxjyxAXE =" ;
24+ hash = "sha256-7omFxT3WBQp6xftgU6ttGgwIGbLXLetQz2ySvsgsQic =" ;
2425 } ;
2526
26- npmDepsHash = "sha256-veyt7fn4g/eh/+2CapQxlEssZP8cQXONpI6sSW299tk =" ;
27+ npmDepsHash = "sha256-LZg3n1+L6tvfC0gBKf8YZd/UMDz04v1V9qrJZrAr4W4 =" ;
2728 forceGitDeps = true ;
2829 makeCacheWritable = true ;
2930
@@ -40,16 +41,22 @@ maven.buildMavenPackage rec {
4041 owner = "DependencyTrack" ;
4142 repo = "dependency-track" ;
4243 rev = version ;
43- hash = "sha256-BMkn9WnUGs4RxH5I1QQ2UDrlo32JcbfjfFcOG5YogLI =" ;
44+ hash = "sha256-FJ4VNDpmVBXU1/URb/Rnu0LXAbxKw6Zd7MPbN4bs9eY =" ;
4445 } ;
4546
4647 patches = [
4748 ./0000-remove-frontend-download.patch
4849 ./0001-add-junixsocket.patch
4950 ] ;
5051
52+ postPatch = ''
53+ substituteInPlace pom.xml \
54+ --replace-fail '<protocArtifact>'' ${tool.protoc.version}</protocArtifact>' \
55+ "<protocCommand>${ protobuf } /bin/protoc</protocCommand>"
56+ '' ;
57+
5158 mvnJdk = jre_headless ;
52- mvnHash = "sha256-c/JwBiKsXuWbCm1dTCrVc+V/1G7Eii1mUW8xDyewyLs =" ;
59+ mvnHash = "sha256-YrlGVJ0Hp9VHfMD0+hT/9q8tskft6RvszmU4tRAXSAY =" ;
5360 manualMvnArtifacts = [ "com.coderplus.maven.plugins:copy-rename-maven-plugin:1.0.1" ] ;
5461 buildOffline = true ;
5562
You can’t perform that action at this time.
0 commit comments