Skip to content

Instantly share code, notes, and snippets.

@washort
Created February 9, 2019 04:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save washort/743c0a4aadee23ec1983666ab337d9c9 to your computer and use it in GitHub Desktop.
Save washort/743c0a4aadee23ec1983666ab337d9c9 to your computer and use it in GitHub Desktop.
bitwarden-web.nix
{ lib, stdenv, fetchurl }:
stdenv.mkDerivation rec {
name= "bitwarden-web-${version}";
version = "2.8.0d";
src = fetchurl {
url = "https://github.com/dani-garcia/bw_web_builds/releases/download/v${version}/bw_web_v${version}.tar.gz";
sha256 = "042hdwyn1shf973f1d8zyvslrny87pq2n78xryrb1mqg2806s6fz";
};
buildCommand = ''
mkdir $out
cd $out
tar xf $src
'';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment