|
|
@ -1,4 +1,4 @@
|
|
|
|
{ pkgs, lib, fetchFromGitHub, rustPlatform }:
|
|
|
|
{ pkgs, lib, fetchgit, rustPlatform }:
|
|
|
|
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "aozora";
|
|
|
|
pname = "aozora";
|
|
|
@ -7,9 +7,8 @@ rustPlatform.buildRustPackage rec {
|
|
|
|
buildInputs = with pkgs; [ openssl ];
|
|
|
|
buildInputs = with pkgs; [ openssl ];
|
|
|
|
nativeBuildInputs = with pkgs; [ pkg-config ];
|
|
|
|
nativeBuildInputs = with pkgs; [ pkg-config ];
|
|
|
|
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
src = fetchgit {
|
|
|
|
owner = "ElnuDev";
|
|
|
|
url = "https://git.elnu.com/ElnuDev/aozora";
|
|
|
|
repo = pname;
|
|
|
|
|
|
|
|
rev = version;
|
|
|
|
rev = version;
|
|
|
|
sha256 = "93MP1Iw1eklC+IEQXAhzLHJ+qsDASm53qw7vUEtEstI=";
|
|
|
|
sha256 = "93MP1Iw1eklC+IEQXAhzLHJ+qsDASm53qw7vUEtEstI=";
|
|
|
|
};
|
|
|
|
};
|
|
|
@ -18,7 +17,7 @@ rustPlatform.buildRustPackage rec {
|
|
|
|
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A simple CLI for fetching Plume Labs air quality info.";
|
|
|
|
description = "A simple CLI for fetching Plume Labs air quality info.";
|
|
|
|
homepage = "https://github.com/ElnuDev/aozora";
|
|
|
|
homepage = "https://git.elnu.com/ElnuDev/aozora";
|
|
|
|
license = licenses.gpl3;
|
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = [ maintainers.tailhook ];
|
|
|
|
maintainers = [ maintainers.tailhook ];
|
|
|
|
};
|
|
|
|
};
|
|
|
|