Skip to content

Commit

Permalink
dependency-track: 4.11.7 -> 4.12.0 (#349255)
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperSandro2000 authored Oct 18, 2024
2 parents bd19706 + 2ffd202 commit fb0baa4
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions pkgs/by-name/de/dependency-track/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,15 @@
buildNpmPackage,
fetchFromGitHub,
jre_headless,
protobuf,
cyclonedx-cli,
makeWrapper,
maven,
nix-update-script,
nixosTests,
}:
let
version = "4.11.7";
version = "4.12.0";

frontend = buildNpmPackage {
pname = "dependency-track-frontend";
Expand All @@ -20,10 +21,10 @@ let
owner = "DependencyTrack";
repo = "frontend";
rev = version;
hash = "sha256-hgBDzzG90gunnlZeektzdBIdatNjbkDVmNLbxjyxAXE=";
hash = "sha256-7omFxT3WBQp6xftgU6ttGgwIGbLXLetQz2ySvsgsQic=";
};

npmDepsHash = "sha256-veyt7fn4g/eh/+2CapQxlEssZP8cQXONpI6sSW299tk=";
npmDepsHash = "sha256-LZg3n1+L6tvfC0gBKf8YZd/UMDz04v1V9qrJZrAr4W4=";
forceGitDeps = true;
makeCacheWritable = true;

Expand All @@ -40,16 +41,22 @@ maven.buildMavenPackage rec {
owner = "DependencyTrack";
repo = "dependency-track";
rev = version;
hash = "sha256-BMkn9WnUGs4RxH5I1QQ2UDrlo32JcbfjfFcOG5YogLI=";
hash = "sha256-FJ4VNDpmVBXU1/URb/Rnu0LXAbxKw6Zd7MPbN4bs9eY=";
};

patches = [
./0000-remove-frontend-download.patch
./0001-add-junixsocket.patch
];

postPatch = ''
substituteInPlace pom.xml \
--replace-fail '<protocArtifact>''${tool.protoc.version}</protocArtifact>' \
"<protocCommand>${protobuf}/bin/protoc</protocCommand>"
'';

mvnJdk = jre_headless;
mvnHash = "sha256-c/JwBiKsXuWbCm1dTCrVc+V/1G7Eii1mUW8xDyewyLs=";
mvnHash = "sha256-YrlGVJ0Hp9VHfMD0+hT/9q8tskft6RvszmU4tRAXSAY=";
manualMvnArtifacts = [ "com.coderplus.maven.plugins:copy-rename-maven-plugin:1.0.1" ];
buildOffline = true;

Expand Down

0 comments on commit fb0baa4

Please sign in to comment.