about summary refs log tree commit diff
path: root/pkgs/by-name/lo/loco-cli/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/lo/loco-cli/package.nix')
-rw-r--r--pkgs/by-name/lo/loco-cli/package.nix7
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/by-name/lo/loco-cli/package.nix b/pkgs/by-name/lo/loco-cli/package.nix
index 66d2a468bdb4c..94df46452fe5e 100644
--- a/pkgs/by-name/lo/loco-cli/package.nix
+++ b/pkgs/by-name/lo/loco-cli/package.nix
@@ -1,5 +1,5 @@
-{ lib, rustPlatform, fetchFromGitHub, stdenv }:
-rustPlatform.buildRustPackage {
+{ lib, rustPlatform, fetchFromGitHub }:
+rustPlatform.buildRustPackage rec {
   pname = "loco-cli";
   version = "0.2.6";
 
@@ -17,12 +17,13 @@ rustPlatform.buildRustPackage {
     ln -s ${./Cargo.lock} Cargo.lock
   '';
 
-  sourceRoot = "source/loco-cli";
+  sourceRoot = "${src.name}/loco-cli";
 
   meta = with lib; {
     mainProgram = "loco";
     description = "Loco CLI is a powerful command-line tool designed to streamline the process of generating Loco websites";
     homepage = "https://loco.rs";
+    changelog = "https://github.com/loco-rs/loco/blob/master/CHANGELOG.md";
     license = with licenses; [ asl20 ];
     maintainers = with maintainers; [ sebrut ];
   };