diff --git a/default.nix b/default.nix new file mode 100644 index 00000000..83c6a8d7 --- /dev/null +++ b/default.nix @@ -0,0 +1,36 @@ +with import {}; +stdenv.mkDerivation rec { + pname = "tildefriends"; + version = "0.0.16"; + + src = fetchurl { + url = "https://dev.tildefriends.net/cory/${pname}/archive/v${version}.tar.gz"; + sha256 = "19iay794xxs3j3mhnpl4vwx65sflw5vvjaahp0jk85wlwlrc7ddw"; + }; + + nativeBuildInputs = [ + gnumake + openssl + ]; + # buildInputs = [ ] + #doCheck = true; + + + strictDeps = true; + + outputs = [ "out" ]; + + meta = with lib; { + #description = "A program that produces a familiar, friendly greeting"; + #longDescription = '' + # GNU Hello is a program that prints "Hello, world!" when you run it. + # It is fully customizable. + #''; + #homepage = "https://www.gnu.org/software/hello/manual/"; + #changelog = "https://git.savannah.gnu.org/cgit/hello.git/plain/NEWS?h=v${version}"; + + license = licenses.gpl3Plus; + maintainers = [ maintainers.tasiaiso ]; + platforms = platforms.all; + }; +} diff --git a/shell.nix b/shell.nix new file mode 100644 index 00000000..6319d093 --- /dev/null +++ b/shell.nix @@ -0,0 +1,12 @@ +with import {}; +stdenv.mkDerivation { + name = "env"; + nativeBuildInputs = [ + cmake + openssl + nodePackages.npm + ]; + buildInputs = [ + + ]; +} \ No newline at end of file