slumber: remove rec
This commit is contained in:
@@ -4,14 +4,14 @@
|
||||
rustPlatform,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "slumber";
|
||||
version = "4.2.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "LucasPickering";
|
||||
repo = "slumber";
|
||||
tag = "v${version}";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-wEQPyp0J7p2TuJwH/fQv5fhenUY3MNIq0oazFJAj9lM=";
|
||||
};
|
||||
|
||||
@@ -20,9 +20,9 @@ rustPlatform.buildRustPackage rec {
|
||||
meta = {
|
||||
description = "Terminal-based HTTP/REST client";
|
||||
homepage = "https://slumber.lucaspickering.me";
|
||||
changelog = "https://github.com/LucasPickering/slumber/blob/v${version}/CHANGELOG.md";
|
||||
changelog = "https://github.com/LucasPickering/slumber/blob/v${finalAttrs.version}/CHANGELOG.md";
|
||||
license = lib.licenses.mit;
|
||||
mainProgram = "slumber";
|
||||
maintainers = with lib.maintainers; [ javaes ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user