about summary refs log tree commit diff
path: root/pkgs/applications/graphics/artem
diff options
context:
space:
mode:
authorfigsoda <figsoda@pm.me>2023-08-23 10:05:23 -0400
committerfigsoda <figsoda@pm.me>2023-08-23 10:05:23 -0400
commita4f04ef4711810ba64fc8f34e02fe7f07d0d2ec6 (patch)
tree3069ce9a2854f3b9ce72a78d1dfc9481b60290ac /pkgs/applications/graphics/artem
parent502302d4d6a3651939a2d0fad70f503c5d967628 (diff)
artem: 2.0.0 -> 2.0.1_2
Diff: https://github.com/finefindus/artem/compare/v2.0.0...v2.0.1_2

Changelog: https://github.com/finefindus/artem/blob/v2.0.1_2/CHANGELOG.md
Diffstat (limited to 'pkgs/applications/graphics/artem')
-rw-r--r--pkgs/applications/graphics/artem/default.nix13
1 files changed, 9 insertions, 4 deletions
diff --git a/pkgs/applications/graphics/artem/default.nix b/pkgs/applications/graphics/artem/default.nix
index b98e7a4fb4057..cd59cfb60f157 100644
--- a/pkgs/applications/graphics/artem/default.nix
+++ b/pkgs/applications/graphics/artem/default.nix
@@ -8,16 +8,16 @@
 
 rustPlatform.buildRustPackage rec {
   pname = "artem";
-  version = "2.0.0";
+  version = "2.0.1_2";
 
   src = fetchFromGitHub {
     owner = "finefindus";
-    repo = pname;
+    repo = "artem";
     rev = "v${version}";
-    hash = "sha256-liYZloaXN9doNyPO76iCaiZO9ZkNGBm+BxxNX87ZqBM=";
+    hash = "sha256-R7ouOFeLKnTZI6NbAg8SkkSo4zh9AwPiMPNqhPthpCk=";
   };
 
-  cargoHash = "sha256-fTAuh4jbfNpFaEu1X0LwVA30ghQ6mh5/Afap7gUjzMc=";
+  cargoHash = "sha256-sbIINbuIbu38NrYr87ljJJD7Y9Px0o6Qv/MGX8N54Rc=";
 
   nativeBuildInputs = [
     installShellFiles
@@ -36,6 +36,11 @@ rustPlatform.buildRustPackage rec {
     "--skip=full_file_compare_html"
   ];
 
+  # Cargo.lock is outdated
+  postConfigure = ''
+    cargo metadata --offline
+  '';
+
   postInstall = ''
     installManPage $releaseDir/build/artem-*/out/artem.1
     installShellCompletion $releaseDir/build/artem-*/out/artem.{bash,fish} \