mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-12 07:30:04 +03:00
c9b5a62401
Diff: https://github.com/LucasPickering/slumber/compare/refs/tags/v1.5.0...v1.8.1 Changelog: https://github.com/LucasPickering/slumber/blob/v1.8.1/CHANGELOG.md
33 lines
818 B
Nix
33 lines
818 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
darwin,
|
|
fetchFromGitHub,
|
|
rustPlatform,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "slumber";
|
|
version = "1.8.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "LucasPickering";
|
|
repo = "slumber";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-u+IONDK3X+4kPmW9YXa0qQbAezBD+UADnlNEH1coKNE=";
|
|
};
|
|
|
|
cargoHash = "sha256-V/wPzEoUppLu8E5/SbBT4sPftz/SIg4s00/AHQL9R+o=";
|
|
|
|
buildInputs = lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.AppKit ];
|
|
|
|
meta = with lib; {
|
|
description = "Terminal-based HTTP/REST client";
|
|
homepage = "https://slumber.lucaspickering.me";
|
|
changelog = "https://github.com/LucasPickering/slumber/blob/v${version}/CHANGELOG.md";
|
|
license = licenses.mit;
|
|
mainProgram = "slumber";
|
|
maintainers = with maintainers; [ javaes ];
|
|
};
|
|
}
|