2021-05-09 01:12:25 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, rustPlatform, libiconv }:
|
2021-02-05 11:58:42 +00:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "flavours";
|
2021-04-01 08:07:11 +00:00
|
|
|
version = "0.4.0";
|
2021-02-05 11:58:42 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Misterio77";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-04-01 08:07:11 +00:00
|
|
|
sha256 = "sha256-rDy859jg+F8XC4sJogIgdn1FoT8cf7S+KORt+7kboAc=";
|
2021-02-05 11:58:42 +00:00
|
|
|
};
|
|
|
|
|
2021-05-09 01:12:25 +00:00
|
|
|
buildInputs = [ ]
|
|
|
|
++ lib.optionals stdenv.isDarwin [ libiconv ];
|
|
|
|
|
2021-04-01 08:07:11 +00:00
|
|
|
cargoSha256 = "sha256-cAXiAPhHdxdd8pFQ0Gq7eHO2p/Dam53gDbE583UYY/k=";
|
2021-02-05 11:58:42 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "An easy to use base16 scheme manager/builder that integrates with any workflow";
|
|
|
|
homepage = "https://github.com/Misterio77/flavours";
|
|
|
|
changelog = "https://github.com/Misterio77/flavours/releases/tag/v${version}";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ fortuneteller2k ];
|
|
|
|
};
|
|
|
|
}
|