feat(pkgs): add envsub
This commit is contained in:
parent
4afa641a4d
commit
19ac5f4f5b
2 changed files with 34 additions and 0 deletions
|
@ -8,6 +8,7 @@
|
||||||
advcpmv = pkgs.callPackage ./advcpmv { };
|
advcpmv = pkgs.callPackage ./advcpmv { };
|
||||||
circom = pkgs.callPackage ./circom { };
|
circom = pkgs.callPackage ./circom { };
|
||||||
circom-lsp = pkgs.callPackage ./circom-lsp { };
|
circom-lsp = pkgs.callPackage ./circom-lsp { };
|
||||||
|
envsub = pkgs.callPackage ./envsub { };
|
||||||
fennel-language-server = pkgs.callPackage ./fennel-language-server { };
|
fennel-language-server = pkgs.callPackage ./fennel-language-server { };
|
||||||
parinfer-rust = pkgs.callPackage ./parinfer-rust { };
|
parinfer-rust = pkgs.callPackage ./parinfer-rust { };
|
||||||
pest-ide-tools = pkgs.callPackage ./pest-ide-tools { };
|
pest-ide-tools = pkgs.callPackage ./pest-ide-tools { };
|
||||||
|
|
33
pkgs/envsub/default.nix
Normal file
33
pkgs/envsub/default.nix
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
{ lib, fetchFromGitHub, rustPlatform, openssl, pkg-config, libxkbcommon }:
|
||||||
|
|
||||||
|
rustPlatform.buildRustPackage rec {
|
||||||
|
pname = "envsub";
|
||||||
|
version = "0.1.3";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "stephenc";
|
||||||
|
repo = pname;
|
||||||
|
rev = "refs/tags/${version}";
|
||||||
|
sha256 = "sha256-DYfGH/TnDTaG5799upg4HDNFiMYpkE64s2DNXJ+1NnE=";
|
||||||
|
};
|
||||||
|
|
||||||
|
cargoSha256 = "sha256-1b0nhfbk7g2XiplOeVB25VQV2E3Z7B9tqANYvhOO6AQ=";
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
pkg-config
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [ ];
|
||||||
|
|
||||||
|
PKG_CONFIG_PATH = "${openssl.dev}/lib/pkgconfig";
|
||||||
|
LD_LIBRARY_PATH = lib.makeLibraryPath buildInputs;
|
||||||
|
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "zkSnark circuit compiler";
|
||||||
|
homepage = "https://github.com/iden3/circom";
|
||||||
|
license = licenses.isc;
|
||||||
|
maintainers = with maintainers; [ reo101 ];
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue