Skip to content

Instantly share code, notes, and snippets.

@jboynyc
Created March 17, 2021 11:51
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 jboynyc/a8d95f5644a2cfe3a720d53a1c4c4f0d to your computer and use it in GitHub Desktop.
Save jboynyc/a8d95f5644a2cfe3a720d53a1c4c4f0d to your computer and use it in GitHub Desktop.
nix derivation for weborf
with import <nixpkgs> {};
let
name = "weborf";
version = "0.17";
in
stdenv.mkDerivation {
name = "${name}";
configureFlags = [ "prefix=${placeholder "out"}" ];
installFlags = [ "DESTDIR=${placeholder "out"}" ];
src = fetchTarball {
url = "https://github.com/ltworf/${name}/releases/download/${version}/${name}_${version}.orig.tar.gz";
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment