nix-web: 0.1.0 -> 0.2.0

This commit is contained in:
embr
2023-12-15 19:08:43 +01:00
parent 2a107bc64b
commit 237c0484fe
+6 -5
View File
@@ -3,7 +3,8 @@
, fetchFromGitea
, pkg-config
, openssl
, nix
, nixVersions
, nixPackage ? nixVersions.nix_2_17
}:
let
@@ -11,16 +12,16 @@ let
in
rustPlatform.buildRustPackage rec {
pname = "nix-web";
version = "0.1.0";
version = "0.2.0";
src = fetchFromGitea {
domain = "codeberg.org";
owner = "gorgon";
repo = "gorgon";
rev = "nix-web-v${version}";
hash = "sha256-+IDvoMRuMt1nS69yFhPPVs+s6Dj0dgXVdjjd9f3+spk=";
hash = "sha256-M/0nlD2jUtvdWJ647QHrp8JcUUVYxiLJlGjnZ+cfpYU=";
};
cargoHash = "sha256-uVBfIw++MRxgVAC+KzGVuMZra8oktUfHcZQk90FF1a8=";
cargoHash = "sha256-6kcpP/CFiy571B98Y96/cdcClH50gdyPLZ28Npva7B4=";
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl ];
@@ -36,7 +37,7 @@ rustPlatform.buildRustPackage rec {
cargoBuildFlags = cargoFlags;
cargoTestFlags = cargoFlags;
NIX_WEB_BUILD_NIX_CLI_PATH = "${nix}/bin/nix";
NIX_WEB_BUILD_NIX_CLI_PATH = "${nixPackage}/bin/nix";
meta = with lib; {
description = "Web interface for the Nix store";